Commit 452ffd46 authored by Dmitriy Zaporozhets's avatar Dmitriy Zaporozhets

Fix votes inline rendering

parent 7cd053b5
.votes.votes-inline .votes.votes-inline
- unless votable.upvotes.zero? - unless votable.upvotes.zero?
.upvotes %span.upvotes.cgreen
+ #{votable.upvotes} + #{votable.upvotes}
- unless votable.downvotes.zero? - unless votable.downvotes.zero?
\/ \/
- unless votable.downvotes.zero? - unless votable.downvotes.zero?
.downvotes %span.downvotes.cred
\- #{votable.downvotes} \- #{votable.downvotes}
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment