mirror of
https://github.com/openSUSE/osem.git
synced 2026-08-13 19:54:02 +00:00
Merge pull request #1005 from ChrisBr/ichain
Hide Submit proposal if iChain is enabled and user is not logged in
This commit is contained in:
commit
20be0f58ba
1 changed files with 1 additions and 1 deletions
|
|
@ -32,7 +32,7 @@
|
|||
Sorry, no places left
|
||||
- if !current_user.nil? && current_user.proposal_count(conference) > 0
|
||||
= link_to "My Proposals", conference_program_proposal_index_path(conference.short_title), :class =>"btn btn-default"
|
||||
- elsif conference.program.cfp_open?
|
||||
- elsif can? :new, conference.program.events.new
|
||||
= link_to "Submit Proposal", new_conference_program_proposal_path(conference.short_title), :class =>"btn btn-default"
|
||||
- if current_user.nil? || !current_user.subscribed?(conference)
|
||||
= link_to 'Subscribe', conference_subscriptions_path(conference.short_title), method: :post, class: 'btn btn-default'
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue