Add no of voters in events index
This commit is contained in:
parent
52543589e4
commit
0dbd513c8a
1 changed files with 2 additions and 0 deletions
|
|
@ -35,6 +35,8 @@
|
||||||
- if @conference.call_for_papers.rating != 0
|
- if @conference.call_for_papers.rating != 0
|
||||||
- if event.average_rating.to_f > 0
|
- if event.average_rating.to_f > 0
|
||||||
Rating: #{event.average_rating}/#{@conference.call_for_papers.rating}
|
Rating: #{event.average_rating}/#{@conference.call_for_papers.rating}
|
||||||
|
%br
|
||||||
|
Voters: #{event.voters.length}
|
||||||
- else
|
- else
|
||||||
Rating: 0/#{@conference.call_for_papers.rating}
|
Rating: 0/#{@conference.call_for_papers.rating}
|
||||||
%br
|
%br
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue