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

10 lines
280 B
Text

.votes.votes-block
.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