summaryrefslogtreecommitdiff
path: root/app/views/votes
diff options
context:
space:
mode:
authorDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2014-01-01 22:59:06 +0200
committerDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2014-01-01 22:59:06 +0200
commita843ee7ece776810131a0bc8241d94b439506b93 (patch)
treedc2a7db47d4946667124bd5078afabc66caf1434 /app/views/votes
parent8e90011369507911ea02ba357f19f0a4d18f03af (diff)
downloadgitlab-ce-a843ee7ece776810131a0bc8241d94b439506b93.tar.gz
Fix votes block. twbs3 progress bars
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
Diffstat (limited to 'app/views/votes')
-rw-r--r--app/views/votes/_votes_block.html.haml4
1 files changed, 2 insertions, 2 deletions
diff --git a/app/views/votes/_votes_block.html.haml b/app/views/votes/_votes_block.html.haml
index bded53b2f21..788d9065a7b 100644
--- a/app/views/votes/_votes_block.html.haml
+++ b/app/views/votes/_votes_block.html.haml
@@ -1,6 +1,6 @@
.votes.votes-block
.progress
- .bar.bar-success{style: "width: #{votable.upvotes_in_percent}%;"}
- .bar.bar-danger{style: "width: #{votable.downvotes_in_percent}%;"}
+ .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"