mirror of
https://github.com/openSUSE/osem.git
synced 2026-08-13 19:54:02 +00:00
Do not show New submission button if cfp is closed, unless organizer or admin
This commit is contained in:
parent
d7ae2ba29b
commit
0590da056e
1 changed files with 1 additions and 0 deletions
|
|
@ -4,6 +4,7 @@
|
|||
%h2.pull-left
|
||||
= "My Proposals for #{@conference.title}"
|
||||
.pull-right{:style=>"margin-top:20px;"}
|
||||
- if @conference.cfp_open? || organizer_or_admin?
|
||||
= link_to "New Proposal", new_conference_proposal_path(@conference.short_title), :class => "btn btn-primary"
|
||||
- if @person.proposal_count(@conference) > 0
|
||||
.row-fluid
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue