add highlights and fix cfp in splashpage

This commit is contained in:
Stella Rouzi 2014-12-08 18:08:21 +02:00 committed by Stella
parent 8e25338436
commit ecfc348ea8
17 changed files with 111 additions and 32 deletions

View file

@ -24,9 +24,22 @@
= link_to(schedule_conference_path(@conference.short_title), class: 'btn btn-default btn-lg') do
Full Schedule
- #FIXME: Display keynotes https://github.com/openSUSE/osem/issues/544
- #FIXME: Display schedule highlights https://github.com/openSUSE/osem/issues/545
%h3.text-center
Don't miss out!
%br
- if @conference.events.highlights.any?
.row
.col-md-12
- @conference.events.highlights.each_slice(2) do |slice|
.row.row-centered
- slice.each do |event|
.col-md-6.col-centered.col-top.highlights
%p.text-center
%b= event.title
%h5.text-center
= simple_format truncate(event.abstract, length: 500, separator: ' ')
= link_to "Read More", conference_proposal_path(@conference.short_title, event)
= content_for :splash_nav do
%li