debian-mirror-gitlab/app/views/votes/_votes_inline.html.haml
2015-04-26 09:18:37 +02:00

9 lines
241 B
Text

.votes.votes-inline
- unless votable.upvotes.zero?
%span.upvotes.cgreen
+ #{votable.upvotes}
- unless votable.downvotes.zero?
\/
- unless votable.downvotes.zero?
%span.downvotes.cred
\- #{votable.downvotes}