This commit is contained in:
Chaitanya Yadav 2017-07-12 14:11:54 +00:00 committed by GitHub
commit f1d2bf710f
4 changed files with 32 additions and 16 deletions

View file

@ -21,7 +21,7 @@
- if !@conference || @conference != conference
- if conference.splashpage && conference.splashpage.public
= link_to "View Conference", conference_path(conference.short_title), class: 'btn btn-default'
- if conference.program and conference.program.schedule_public
- if conference.program and conference.program.selected_event_schedules and conference.program.schedule_public
= link_to "Schedule", conference_schedule_path(conference.short_title), class: 'btn btn-default'
- if conference.registration_open?
- if conference.user_registered?(current_user)