Linter fixes (many unrelated)
This commit is contained in:
parent
d40229a054
commit
d040d9c6ab
20 changed files with 100 additions and 79 deletions
|
|
@ -2,11 +2,11 @@
|
|||
%div{ data: { toggle: 'tooltip' }, title: rating_tooltip(event, max_rating) }<
|
||||
= rating_stars(event.average_rating, max_rating, avgrate: true)
|
||||
|
||||
%div.clearfix
|
||||
.clearfix
|
||||
- if event.voted?(current_user)
|
||||
%span.label.label-success
|
||||
You voted:
|
||||
= "#{event.user_rating(current_user)}/#{max_rating}"
|
||||
= rating_fraction(event.user_rating(current_user), max_rating)
|
||||
- else
|
||||
%span.label.label-danger
|
||||
Not rated
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue