Adds checks to splash view

This commit is contained in:
Gopesh Tulsyan 2014-06-18 22:25:42 +05:30
parent 39f527627b
commit a1aba60966
4 changed files with 44 additions and 25 deletions

View file

@ -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'