FIXUP: Reorder splashpage & align form

* Per PR comments, place program above registration/tickets
* Reorder splashpage admin form based on splashpage order
This commit is contained in:
James Mason 2017-11-29 09:15:42 -08:00
parent 245a312c1b
commit 5fb09f398a
3 changed files with 90 additions and 110 deletions

View file

@ -11,33 +11,33 @@
= @conference.title
#splash
// header/description
-# header/description
= render 'header', conference: @conference
// attendance/registration
-# calls for content, or program
- if @conference.splashpage.include_cfp
= render 'call_for_content', conference: @conference
- if @conference.splashpage.include_program
= render 'program', conference: @conference
-# attendance/registration
- if @conference.splashpage.include_registrations
- if @conference.registration_open?
= render 'registration', conference: @conference
- if @conference.splashpage.include_tickets && @conference.tickets.any?
= render 'tickets', conference: @conference
// calls for content, or program
- if @conference.splashpage.include_cfp
= render 'call_for_content', conference: @conference
- if @conference.splashpage.include_program
= render 'program', conference: @conference
// geo
-# geo
- if @conference.splashpage.include_venue && @conference.venue
= render 'venue', conference: @conference
- if @conference.splashpage.include_lodgings && @conference.lodgings.any?
= render 'lodging', conference: @conference
// sponsorship
-# sponsorship
- if @conference.splashpage.include_sponsors
= render 'sponsors', conference: @conference
// footer
-# footer
- if @conference.splashpage.include_social_media
- if @conference.contact.has_social_media?
= render 'social_media', conference: @conference