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:34:29 -0700 |
commit | 9f9fed4fa2446edfdc2295fa1e910e9ed09ca677 (patch) | |
tree | 7770267fd76b9fa57f4d6dd248944cd570e416e2 | |
parent | b0e24413308555ab4a5970e66f7458384771efd2 (diff) | |
download | gitlab-ce-9f9fed4fa2446edfdc2295fa1e910e9ed09ca677.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} |