gitlab-org--gitlab-foss/app/views/votes/_votes_inline.html.haml

10 lines
241 B
Text
Raw Normal View History

2012-09-10 09:27:14 -04:00
.votes.votes-inline
2013-04-06 08:10:24 -04:00
- unless votable.upvotes.zero?
2015-03-20 18:34:29 -04:00
%span.upvotes.cgreen
2013-04-06 08:10:24 -04:00
+ #{votable.upvotes}
- unless votable.downvotes.zero?
\/
- unless votable.downvotes.zero?
2015-03-20 18:34:29 -04:00
%span.downvotes.cred
2013-04-06 08:10:24 -04:00
\- #{votable.downvotes}