Extracted Splashpage from Conference

#418
This commit is contained in:
Chrisbr 2014-08-30 12:08:24 +02:00
parent 7793497862
commit fedb0753bf
42 changed files with 578 additions and 236 deletions

View file

@ -4,9 +4,9 @@
%div.container.text-center
%div.row
%h1 Registration
- if @conference.registration_period && !@conference.registration_period.description.blank?
- if !@conference.splashpage.registration_description.blank?
.lead
= markdown(@conference.registration_period.description)
= markdown(@conference.splashpage.registration_description)
- if @conference.registration_dates_given?
-if @conference.registration_period.end_date >= Date.today
%h4 Registration period #{ date_string(@conference.registration_period.start_date, @conference.registration_period.end_date) }
@ -18,5 +18,5 @@
- else
= link_to "Register for #{@conference.short_title}", new_conference_conference_registrations_path(@conference.short_title), class: "btn btn-success btn-lg", target: '_blank'
- if @conference.tickets.any?
- if @conference.include_tickets_in_splash?
- if @conference.splashpage.include_tickets
= render 'tickets'