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

11 lines
280 B
Text
Raw Normal View History

2014-09-02 18:07:02 +05:30
.votes.votes-block
2015-04-26 12:48:37 +05:30
.btn-group
- unless votable.upvotes.zero?
.btn.btn-sm.disabled.cgreen
%i.fa.fa-thumbs-up
= votable.upvotes
- unless votable.downvotes.zero?
.btn.btn-sm.disabled.cred
%i.fa.fa-thumbs-down
= votable.downvotes