mirror of
https://github.com/openSUSE/osem.git
synced 2026-08-15 20:54:03 +00:00
add highlights and fix cfp in splashpage
This commit is contained in:
parent
8e25338436
commit
ecfc348ea8
17 changed files with 111 additions and 32 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue