check if voting is enabled by organizers
This commit is contained in:
parent
834362491e
commit
609b3d45fe
2 changed files with 16 additions and 14 deletions
|
|
@ -142,10 +142,11 @@
|
|||
%td
|
||||
= link_to "Delete", conference_proposal_event_attachment_path(@conference.short_title, @event.id, a.id),
|
||||
:method => :delete, :confirm => "Are you sure you want to delete this attachment? It's permanant!"
|
||||
.row-fluid
|
||||
= link_to "Votes (#{@event.voters.length})", "#", :id => "votes-link"
|
||||
#votes-div
|
||||
= render :partial => 'voting'
|
||||
- if @conference.call_for_papers.rating
|
||||
.row-fluid
|
||||
= link_to "Votes (#{@event.voters.length})", "#", :id => "votes-link"
|
||||
#votes-div
|
||||
= render :partial => 'voting'
|
||||
.row-fluid
|
||||
= link_to "Comments (#{@comment_count})", "#", :id => "event-comment-link"
|
||||
#comments-div
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue