gitlab-org--gitlab-foss/app/views/votes/_votes_block.html.haml
Dmitriy Zaporozhets a843ee7ece
Fix votes block. twbs3 progress bars
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
2014-01-01 22:59:06 +02:00

6 lines
286 B
Text

.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}%;"}
.upvotes= "#{votable.upvotes} up"
.downvotes= "#{votable.downvotes} down"