Include code of conduct on conference
This commit is contained in:
parent
217ec1a46f
commit
95196c7f80
5 changed files with 47 additions and 1 deletions
|
|
@ -1,4 +1,4 @@
|
|||
.row
|
||||
.row{ id: "conference-#{conference.id}" }
|
||||
.col-md-12
|
||||
.well
|
||||
.row
|
||||
|
|
@ -23,6 +23,10 @@
|
|||
= 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, conference.organization],
|
||||
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