mirror of
https://github.com/openSUSE/osem.git
synced 2026-08-17 13:44:09 +00:00
Wrapped voted? notification in label to promote visibility.
This commit is contained in:
parent
3505ab062b
commit
a0ffab098b
1 changed files with 4 additions and 2 deletions
|
|
@ -57,9 +57,11 @@
|
|||
%br
|
||||
- voted = event.voted?(event, current_user)
|
||||
- if voted
|
||||
Your rating: #{voted.rating}
|
||||
%span.label.label-success
|
||||
Your rating: #{voted.rating}
|
||||
- else
|
||||
Not rated
|
||||
%span.label.label-danger
|
||||
Not rated
|
||||
- else
|
||||
0/#{@conference.call_for_paper.rating}
|
||||
%br
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue