Commit ab42a2d8 authored by jon richter's avatar jon richter

filter displayed events without time slots

parent 6e2dd584
.event{ :id => "event_#{event.id}",
:style => "height: #{event.time_slots * 20 - 7}px;",
:class => event.conflict_level,
:"data-update-url" => schedule_update_event_path(:id => event.id),
:"data-room" => event.room ? event.room.name.downcase : nil,
:"data-time" => event.start_time ? event.start_time.to_s(:rfc822) : nil }
= link_to event.title, event
%p.small
= by_speakers(event)
(
= event.track.try(:name)
\/
= event.event_type
)
- if event.time_slots != nil
.event{ :id => "event_#{event.id}",
:style => "height: #{event.time_slots * 20 - 7}px;",
:class => event.conflict_level,
:"data-update-url" => schedule_update_event_path(:id => event.id),
:"data-room" => event.room ? event.room.name.downcase : nil,
:"data-time" => event.start_time ? event.start_time.to_s(:rfc822) : nil }
= link_to event.title, event
%p.small
= by_speakers(event)
(
= event.track.try(:name)
\/
= event.event_type
)
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment