mirror of
https://github.com/openSUSE/osem.git
synced 2026-08-13 19:54:02 +00:00
Merge pull request #255 from gopesht/adds_checks_to_splash
Adds checks to splash view
This commit is contained in:
commit
8ebf9de76c
4 changed files with 44 additions and 25 deletions
|
|
@ -13,5 +13,6 @@
|
|||
- else
|
||||
%span The schedule is not ready yet. Stay tuned!
|
||||
-unless @conference.tracks.blank?
|
||||
= render 'tracks'
|
||||
- if @conference.include_tracks_in_splash?
|
||||
= render 'tracks'
|
||||
|
||||
|
|
|
|||
|
|
@ -15,4 +15,5 @@
|
|||
- if @conference.registration_open?
|
||||
= link_to "Register for #{@conference.short_title}", register_conference_path(@conference.short_title), :class =>"btn btn-success btn-lg", target: '_blank'
|
||||
- if @conference.use_supporter_levels?
|
||||
= render 'tickets'
|
||||
- if @conference.include_tickets_in_splash?
|
||||
= render 'tickets'
|
||||
|
|
|
|||
|
|
@ -3,31 +3,40 @@
|
|||
|
||||
- unless @conference.description.blank?
|
||||
%p= @conference.description
|
||||
%section{ id: 'program' }
|
||||
.pad
|
||||
= render 'program'
|
||||
|
||||
%section{ id: 'registration' }
|
||||
.pad
|
||||
= render 'registration'
|
||||
- if @conference.include_program_in_splash?
|
||||
%section{ id: 'program' }
|
||||
.pad
|
||||
= render 'program'
|
||||
|
||||
- if @conference.include_registrations_in_splash?
|
||||
%section{ id: 'registration' }
|
||||
.pad
|
||||
= render 'registration'
|
||||
|
||||
|
||||
-unless @conference.call_for_papers.blank?
|
||||
%section{ id:'callforpapers' }
|
||||
.pad
|
||||
= render 'call_for_papers'
|
||||
- if @conference.call_for_papers.include_cfp_in_splash?
|
||||
%section{ id:'callforpapers' }
|
||||
.pad
|
||||
= render 'call_for_papers'
|
||||
|
||||
-unless @conference.venue.blank?
|
||||
%section{ id: 'location' }
|
||||
.pad
|
||||
= render 'location'
|
||||
- if @conference.venue
|
||||
- if @conference.venue.include_venue_in_splash?
|
||||
%section{ id: 'location' }
|
||||
.pad
|
||||
= render 'location'
|
||||
- unless @conference.venue.lodgings.empty?
|
||||
= render 'lodging'
|
||||
- if @conference.venue.include_lodgings_in_splash?
|
||||
= render 'lodging'
|
||||
|
||||
%section{ id: 'sponsors' }
|
||||
.pad
|
||||
= render 'sponsor'
|
||||
- if @conference.include_sponsors_in_splash?
|
||||
%section{ id: 'sponsors' }
|
||||
.pad
|
||||
= render 'sponsor'
|
||||
|
||||
%section{ id: 'social-media' }
|
||||
.pad
|
||||
= render 'social_media'
|
||||
- if @conference.include_social_media_in_splash?
|
||||
%section{ id: 'social-media' }
|
||||
.pad
|
||||
= render 'social_media'
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue