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
|
%br
|
||||||
- voted = event.voted?(event, current_user)
|
- voted = event.voted?(event, current_user)
|
||||||
- if voted
|
- if voted
|
||||||
Your rating: #{voted.rating}
|
%span.label.label-success
|
||||||
|
Your rating: #{voted.rating}
|
||||||
- else
|
- else
|
||||||
Not rated
|
%span.label.label-danger
|
||||||
|
Not rated
|
||||||
- else
|
- else
|
||||||
0/#{@conference.call_for_paper.rating}
|
0/#{@conference.call_for_paper.rating}
|
||||||
%br
|
%br
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue