Welcome to mirror list, hosted at ThFree Co, Russian Federation.

_votes_block.html.haml « votes « views « app - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 788d9065a7b43c26062b408a4aba9b65884395ee (plain)
1
2
3
4
5
6
.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"