diff options
author | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2013-04-06 15:10:24 +0300 |
---|---|---|
committer | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2013-04-06 15:10:24 +0300 |
commit | 37eeeb9fca90aa34c502181b9967fb62f9f87752 (patch) | |
tree | 1b155cfd9d2ea0b3bfe5d592d35c93280b9093e1 /app/views/votes | |
parent | 39f4604653507e565c93a6fa8ef62bda421e78b2 (diff) | |
download | gitlab-ce-37eeeb9fca90aa34c502181b9967fb62f9f87752.tar.gz |
Redesign issues, mr lists
Diffstat (limited to 'app/views/votes')
-rw-r--r-- | app/views/votes/_votes_inline.html.haml | 13 |
1 files changed, 8 insertions, 5 deletions
diff --git a/app/views/votes/_votes_inline.html.haml b/app/views/votes/_votes_inline.html.haml index 91bd200df44..ee805474830 100644 --- a/app/views/votes/_votes_inline.html.haml +++ b/app/views/votes/_votes_inline.html.haml @@ -1,6 +1,9 @@ .votes.votes-inline - .upvotes= votable.upvotes - .progress - .bar.bar-success{style: "width: #{votable.upvotes_in_percent}%;"} - .bar.bar-danger{style: "width: #{votable.downvotes_in_percent}%;"} - .downvotes= votable.downvotes + - unless votable.upvotes.zero? + .upvotes + + #{votable.upvotes} + - unless votable.downvotes.zero? + \/ + - unless votable.downvotes.zero? + .downvotes + \- #{votable.downvotes} |