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

7 lines
286 B
Text
Raw Normal View History

2012-09-10 09:27:14 -04:00
.votes.votes-block
.progress
.progress-bar.progress-bar-success{style: "width: #{votable.upvotes_in_percent}%;"}
.progress-bar.progress-bar-danger{style: "width: #{votable.downvotes_in_percent}%;"}
2012-09-10 09:27:14 -04:00
.upvotes= "#{votable.upvotes} up"
.downvotes= "#{votable.downvotes} down"