debian-mirror-gitlab/app/views/votes/_votes_inline.html.haml

10 lines
241 B
Text
Raw Normal View History

2014-09-02 18:07:02 +05:30
.votes.votes-inline
- unless votable.upvotes.zero?
2015-04-26 12:48:37 +05:30
%span.upvotes.cgreen
2014-09-02 18:07:02 +05:30
+ #{votable.upvotes}
- unless votable.downvotes.zero?
\/
- unless votable.downvotes.zero?
2015-04-26 12:48:37 +05:30
%span.downvotes.cred
2014-09-02 18:07:02 +05:30
\- #{votable.downvotes}