public schedule turned
This commit is contained in:
parent
301ad1c722
commit
6ba3512d2b
3 changed files with 34 additions and 48 deletions
|
|
@ -1,24 +1,23 @@
|
|||
%td.event{ style: "width: #{95 / @rooms.length}%; cursor:pointer", |
|
||||
rowspan: span[room.id], |
|
||||
%td.event{ style: "width: #{95 * span / intervals}%; cursor:pointer", |
|
||||
colspan: span, |
|
||||
role: "button" } |
|
||||
%a.unstyled-link{href: url_for(conference_program_proposal_path(@conference.short_title, event[0].id))}
|
||||
- if speaker = event[0].speakers.first
|
||||
%a.unstyled-link{href: url_for(conference_program_proposal_path(@conference.short_title, event.id))}
|
||||
- if speaker = event.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?
|
||||
= event.title
|
||||
- unless event.subtitle.blank?
|
||||
%span.schedule-subtitle
|
||||
= event[0].subtitle
|
||||
= event.subtitle
|
||||
%span.schedule-speaker
|
||||
%span.fa.fa-user
|
||||
= speaker.name
|
||||
- if event[0].track
|
||||
- if event.track
|
||||
%span.schedule-track
|
||||
%span.fa.fa-road
|
||||
%span.label{ style: "background-color: #{event[0].track.color}" }
|
||||
%span.label{ style: "background-color: #{event.track.color}" }
|
||||
= event[0].track.name
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue