diff options
author | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2015-03-20 15:34:29 -0700 |
---|---|---|
committer | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2015-03-20 15:35:04 -0700 |
commit | 452ffd46f3ffe8f1136b3f5abe5f000e7420db92 (patch) | |
tree | db5237393f98bdb9e97b6f332b80367916ddafdf | |
parent | 7cd053b50aa347f24ffe34fe9d0e492919022e4a (diff) | |
download | gitlab-ce-452ffd46f3ffe8f1136b3f5abe5f000e7420db92.tar.gz |
Fix votes inline rendering
-rw-r--r-- | app/views/votes/_votes_inline.html.haml | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/app/views/votes/_votes_inline.html.haml b/app/views/votes/_votes_inline.html.haml index ee805474830..2cb3ae04e1a 100644 --- a/app/views/votes/_votes_inline.html.haml +++ b/app/views/votes/_votes_inline.html.haml @@ -1,9 +1,9 @@ .votes.votes-inline - unless votable.upvotes.zero? - .upvotes + %span.upvotes.cgreen + #{votable.upvotes} - unless votable.downvotes.zero? \/ - unless votable.downvotes.zero? - .downvotes + %span.downvotes.cred \- #{votable.downvotes} |