summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2015-03-20 15:34:29 -0700
committerDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2015-03-20 15:34:29 -0700
commit9f9fed4fa2446edfdc2295fa1e910e9ed09ca677 (patch)
tree7770267fd76b9fa57f4d6dd248944cd570e416e2
parentb0e24413308555ab4a5970e66f7458384771efd2 (diff)
downloadgitlab-ce-9f9fed4fa2446edfdc2295fa1e910e9ed09ca677.tar.gz
Fix votes inline rendering
-rw-r--r--app/views/votes/_votes_inline.html.haml4
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}