If there are tickets for the conference, not show the msg about the free of charge. fix #745
This commit is contained in:
parent
09c5cec3da
commit
302d45f91a
1 changed files with 13 additions and 8 deletions
|
|
@ -6,6 +6,7 @@
|
||||||
.row
|
.row
|
||||||
.col-md-12.text-center
|
.col-md-12.text-center
|
||||||
%h1 Registration
|
%h1 Registration
|
||||||
|
- if @conference.tickets.empty?
|
||||||
%p.lead
|
%p.lead
|
||||||
Going to
|
Going to
|
||||||
= @conference.short_title
|
= @conference.short_title
|
||||||
|
|
@ -14,6 +15,10 @@
|
||||||
We only ask you to register yourself until
|
We only ask you to register yourself until
|
||||||
= @conference.registration_period.end_date.strftime('%A, %B %-d. %Y')
|
= @conference.registration_period.end_date.strftime('%A, %B %-d. %Y')
|
||||||
so we can plan for the right amount of people.
|
so we can plan for the right amount of people.
|
||||||
|
- else
|
||||||
|
%p
|
||||||
|
The registration period ends on
|
||||||
|
= @conference.registration_period.end_date.strftime('%A, %B %-d. %Y')
|
||||||
%p.cta-button
|
%p.cta-button
|
||||||
= link_to(new_conference_conference_registrations_path(@conference.short_title), class: 'btn btn-lg btn-success') do
|
= link_to(new_conference_conference_registrations_path(@conference.short_title), class: 'btn btn-lg btn-success') do
|
||||||
Register Now
|
Register Now
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue