mirror of
https://github.com/openSUSE/osem.git
synced 2026-08-15 20:54:03 +00:00
We ensured that the event has a track in the condition 3 lines above. Thus we can remove this one.
24 lines
967 B
Text
24 lines
967 B
Text
%td.event{ style: "width: #{95 / @rooms.length}%; cursor:pointer", |
|
|
rowspan: span[room.id], |
|
|
role: "button" } |
|
|
%a.unstyled-link{href: url_for(conference_proposal_path(@conference.short_title, event[0].id))}
|
|
- if speaker = event[0].speakers.first
|
|
= image_tag speaker.gravatar_url, :class => "img-circle pull-right", |
|
|
:alt => speaker.name, |
|
|
:title => speaker.name, |
|
|
:style => "padding:8px;" |
|
|
%h5
|
|
%span.fa.fa-comment
|
|
= event[0].title
|
|
- unless event[0].subtitle.blank?
|
|
%span.schedule-subtitle
|
|
= event[0].subtitle
|
|
%span.schedule-speaker
|
|
%span.fa.fa-user
|
|
= speaker.name
|
|
- if event[0].track
|
|
%span.schedule-track
|
|
%span.fa.fa-road
|
|
%span.label{ style: "background-color: #{event[0].track.color}" }
|
|
= event[0].track.name
|
|
|