Splaspage: Add highlights. Fix cfp inclusion.

This commit is contained in:
Stella Rouzi 2014-11-27 20:40:26 +02:00
parent e9456be31a
commit ed8a71e554
13 changed files with 61 additions and 24 deletions

View file

@ -24,9 +24,22 @@
= link_to(conference_schedule_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
- #FIXME: Display keynotes https://github.com/openSUSE/osem/issues/544
%h3.text-center
Don't miss out!
- if @conference.highlights.any?
.row
.col-md-12
- @conference.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