Wrapped voted? notification in label to promote visibility.

This commit is contained in:
William Hale 2015-08-11 06:23:41 -07:00
parent 3505ab062b
commit a0ffab098b

View file

@ -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