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

11 lines
280 B
Text
Raw Normal View History

2012-09-10 09:27:14 -04:00
.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