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
|
||||
|
|
|
|||
|
|
@ -33,7 +33,7 @@
|
|||
%section#program
|
||||
= render 'program'
|
||||
|
||||
- if @conference.cfp_open? and @conference.call_for_paper.include_cfp_in_splash?
|
||||
- if @conference.cfp_open? and @conference.splashpage.include_cfp
|
||||
%section#callforpapers
|
||||
= render 'call_for_paper'
|
||||
|
||||
|
|
@ -53,7 +53,7 @@
|
|||
%section#sponsors
|
||||
= render 'sponsors'
|
||||
|
||||
- if @conference.splashpage.include_social_media and @conference.contact.has_social_media?
|
||||
- if @conference.contact.has_social_media? and @conference.splashpage.include_social_media
|
||||
%section#social-media
|
||||
= render 'social_media'
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue