diff --git a/app/templates/post/_post_voting_buttons.html b/app/templates/post/_post_voting_buttons.html index 50436dbb..a4fc2d40 100644 --- a/app/templates/post/_post_voting_buttons.html +++ b/app/templates/post/_post_voting_buttons.html @@ -7,19 +7,23 @@ {% endif -%} {{ shorten_number(post.up_votes - post.down_votes) }} - {% if can_downvote(current_user, post.community) and not disable_voting -%} + {%- if can_downvote(current_user, post.community) and not disable_voting -%}
- {% endif -%} + {%- endif -%} {% else -%} -
- -
-{{ shorten_number(post.up_votes - post.down_votes) }} -
- -
+ {% if not disable_voting -%} +
+ +
+ {% endif -%} + {{ shorten_number(post.up_votes - post.down_votes) }} + {%- if not disable_voting -%} +
+ +
+ {%- endif -%} {% endif -%}