diff --git a/app/templates/post/_comment_voting_buttons.html b/app/templates/post/_comment_voting_buttons.html index 34718c1f..ce5294cc 100644 --- a/app/templates/post/_comment_voting_buttons.html +++ b/app/templates/post/_comment_voting_buttons.html @@ -1,14 +1,14 @@ {% if current_user.is_authenticated and current_user.verified %} {% if can_upvote(current_user, community) %} -
{% endif %} - {{ comment.up_votes - comment.down_votes }} + {{ comment.up_votes - comment.down_votes }} {% if can_downvote(current_user, community) %} -
diff --git a/app/templates/post/_post_voting_buttons.html b/app/templates/post/_post_voting_buttons.html index 6e7eff39..1434a4a1 100644 --- a/app/templates/post/_post_voting_buttons.html +++ b/app/templates/post/_post_voting_buttons.html @@ -1,6 +1,6 @@ {% if current_user.is_authenticated and current_user.verified %} {% if can_upvote(current_user, post.community) %} -
{{ shorten_number(post.up_votes) }} @@ -8,7 +8,7 @@
{% endif %} {% if can_downvote(current_user, post.community) %} -
{{ shorten_number(post.down_votes) }} diff --git a/app/templates/post/_post_voting_buttons_masonry.html b/app/templates/post/_post_voting_buttons_masonry.html index 1e9bc8a6..7ce6a438 100644 --- a/app/templates/post/_post_voting_buttons_masonry.html +++ b/app/templates/post/_post_voting_buttons_masonry.html @@ -1,13 +1,13 @@ {% if current_user.is_authenticated and current_user.verified %} {% if can_upvote(current_user, post.community) %} -
{% endif %} {% if can_downvote(current_user, post.community) %} -
diff --git a/app/templates/post/continue_discussion.html b/app/templates/post/continue_discussion.html index 07d27c6b..dae25ab5 100644 --- a/app/templates/post/continue_discussion.html +++ b/app/templates/post/continue_discussion.html @@ -13,7 +13,7 @@
{% macro render_comment(comment) %} -
+
{% if comment['comment'].author.deleted %} @@ -70,7 +70,7 @@
{% if comment['replies'] %} -
+
{% for reply in comment['replies'] %} {{ render_comment(reply) | safe }} {% endfor %} @@ -78,7 +78,7 @@ {% endif %}
{% endmacro %} -
+
{% for reply in replies %} {{ render_comment(reply) | safe }} {% endfor %} diff --git a/app/templates/post/post.html b/app/templates/post/post.html index 43e88033..71122e87 100644 --- a/app/templates/post/post.html +++ b/app/templates/post/post.html @@ -66,7 +66,7 @@
{% macro render_comment(comment) %}
+ {% if comment['comment'].author.id == post.author.id %}original_poster{% endif %}" aria-level="{{ comment['comment'].depth + 1 }}" role="treeitem">
{% if comment['comment'].author.deleted %} @@ -124,7 +124,7 @@
{% if comment['replies'] %} {% if comment['comment'].depth <= THREAD_CUTOFF_DEPTH %} -
+
{% for reply in comment['replies'] %} {{ render_comment(reply) | safe }} {% endfor %} @@ -144,7 +144,7 @@ {% endif %} {% endmacro %} -
+
{% for reply in replies %} {{ render_comment(reply) | safe }} {% endfor %}