mirror of
https://github.com/openSUSE/osem.git
synced 2026-08-13 19:54:02 +00:00
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 event.average_rating.to_f > 0
|
||||
Rating: #{event.average_rating}/#{@conference.call_for_papers.rating}
|
||||
%br
|
||||
Voters: #{event.voters.length}
|
||||
- else
|
||||
Rating: 0/#{@conference.call_for_papers.rating}
|
||||
%br
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue