Expose Conference.code_of_conduct
This commit is contained in:
parent
85149dc837
commit
9f1e877ea0
10 changed files with 33 additions and 31 deletions
|
|
@ -26,8 +26,8 @@
|
|||
= link_to "View Conference", conference_path(conference.short_title), class: 'btn btn-default'
|
||||
- if conference.program and conference.program.schedule_public
|
||||
= link_to "Schedule", conference_schedule_path(conference.short_title), class: 'btn btn-default'
|
||||
- unless conference.code_of_conduct.blank?
|
||||
= link_to "Code of Conduct", :code_of_conduct, class: 'btn btn-default'
|
||||
- if conference.code_of_conduct.present?
|
||||
= link_to "Code of Conduct", code_of_conduct_conference_path(conference.short_title), class: 'btn btn-default'
|
||||
- if conference.registration_open?
|
||||
- if conference.user_registered?(current_user)
|
||||
= link_to "My Registration", conference_conference_registration_path(conference.short_title), class: 'btn btn-default'
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue