mirror of
https://github.com/openSUSE/osem.git
synced 2026-08-15 12:44:03 +00:00
Extract replacement/canceled label & notice logic to helpers Join replacement/canceled label and notice and move to top
16 lines
853 B
Text
16 lines
853 B
Text
%td.event{ width: "#{ width * span }%" , |
|
|
colspan: span, |
|
|
role: "button" }
|
|
%a.unstyled-link{href: url_for(conference_program_proposal_path(@conference.short_title, event.id))}
|
|
%div{ class: "elipsis break-words event-title", |
|
|
style: "-webkit-line-clamp: #{ event_lines(@rooms) }; height: #{ event_height(@rooms) }px;"} |
|
|
|
|
= canceled_replacement_event_label(event, event_schedule, 'schedule-label')
|
|
|
|
= event.title
|
|
|
|
- if speaker = event.speakers.first
|
|
= image_tag speaker.gravatar_url, :class => "img-circle pull-right speaker-pic", |
|
|
:alt => speaker.name, |
|
|
:title => speaker.name, |
|
|
:style => "height: #{ speaker_height(@rooms) }px; width: #{ speaker_width(@rooms) }px;"
|