BigW Consortium Gitlab

_votes_block.html.haml 286 Bytes
Newer Older
1 2
.votes.votes-block
  .progress
3 4
    .progress-bar.progress-bar-success{style: "width: #{votable.upvotes_in_percent}%;"}
    .progress-bar.progress-bar-danger{style: "width: #{votable.downvotes_in_percent}%;"}
5 6
  .upvotes= "#{votable.upvotes} up"
  .downvotes= "#{votable.downvotes} down"