osem-fcy/app/views/conferences/_schedule_splashpage.html.haml

32 lines
984 B
Text
Raw Normal View History

= content_for :splash_nav do
%li
%a.smoothscroll{ href: '#program' } Program
- cache [@confererence, @conference.confirmed_tracks,
@conference.confirmed_booths,'#splash#program'] do
2017-11-21 09:54:27 -08:00
%section#program
.container
2017-11-21 09:54:27 -08:00
.row
.col-md-12
%p.lead.text-center
%span.notranslate
= @conference.title
has the most awesome program ever!
2017-11-21 09:54:27 -08:00
- if @conference.highlighted_events.any?
= render 'highlights'
- if @conference.splashpage.include_tracks && @conference.confirmed_tracks.any?
= render 'tracks'
- if @conference.splashpage.include_booths && @conference.confirmed_booths.any?
= render 'booths'
- if @conference.program.try(:schedule_public?)
.row
.col-md-12
%p.cta-button.text-center
= link_to(conference_schedule_path(@conference.short_title),
class: 'btn btn-success btn-lg') do
Full Schedule