Show off track colors some more
This commit is contained in:
parent
859a47b79b
commit
e93a27d1f2
3 changed files with 9 additions and 6 deletions
|
|
@ -6,5 +6,5 @@
|
|||
.row
|
||||
.col-md-12
|
||||
= semantic_form_for @schedule, url: admin_conference_schedules_path(@conference.short_title) do |f|
|
||||
= f.input :track, collection: Track.accessible_by(current_ability).where(program: @program).self_organized.confirmed.pluck(:name, :id), include_blank: false
|
||||
= f.input :track, collection: Track.accessible_by(current_ability).where(program: @program), include_blank: false
|
||||
= f.action :submit, as: :button, button_html: { class: 'btn btn-primary' }
|
||||
|
|
|
|||
|
|
@ -1,19 +1,18 @@
|
|||
.panel.panel-default.event-panel{ onClick: 'eventClicked(event, this);', "data-url" => "#{url_for(conference_program_proposal_path(@conference.short_title, event.id))}" }
|
||||
.panel-body
|
||||
.panel-heading{ style: event.track&.color && "background-color: #{event.track.color}; color: #{ contrast_color(event.track.color) }" }
|
||||
- event.speakers_ordered.each do |speaker|
|
||||
= image_tag speaker.profile_picture, :class => "img-circle pull-right all-speaker-pic", |
|
||||
:alt => speaker.name, |
|
||||
:title => speaker.name |
|
||||
= image_tag speaker.profile_picture, class: "img-circle pull-right", alt: speaker.name, style: "padding: 2px;"
|
||||
|
||||
%p
|
||||
= canceled_replacement_event_label(event, event_schedule)
|
||||
= replacement_event_notice(event_schedule)
|
||||
|
||||
%span.h3
|
||||
%span.h3{style: "margin-bottom: 20px"}
|
||||
= event.title
|
||||
%br
|
||||
%small
|
||||
= event.subtitle
|
||||
.panel-body
|
||||
%h4
|
||||
- if(event.speakers.any?)
|
||||
presented by #{event.speaker_names}
|
||||
|
|
|
|||
|
|
@ -45,3 +45,7 @@
|
|||
Relevance
|
||||
%dd
|
||||
= markdown(@track.relevance)
|
||||
|
||||
.row
|
||||
- @track.events.each do |event|
|
||||
= render 'schedules/event', event: event, event_schedule: event.event_schedules.first
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue