BigW Consortium Gitlab

_votes_block.html.haml 280 Bytes
Newer Older
1
.votes.votes-block
2 3 4 5 6 7 8 9 10
  .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