make sure that the registed link is there but only accessible to admins
This commit is contained in:
parent
2411140286
commit
0a14a20272
1 changed files with 3 additions and 1 deletions
|
|
@ -76,7 +76,9 @@
|
|||
= event.event_type.title
|
||||
= "(#{event.event_type.length} min)"
|
||||
= "in #{event.track.name}" if event.track
|
||||
|
||||
- if event.require_registration && current_user.is_admin
|
||||
%br
|
||||
= link_to registered_text(event), registrations_conference_program_proposal_path(@conference.short_title, event), class: 'btn btn-xs btn-danger'
|
||||
|
||||
%td.col-md-2{style: "padding:20px 8px 20px 8px;"}
|
||||
= link_to 'Complete your proposal', 'javascript: void(0)', "type"=>"button", "data-trigger"=>"focus", "data-toggle"=>"popover", "title"=>"Your todo list", "data-content"=>"#{render partial: 'tooltip', locals: { event: event} }"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue