From 74dee6651a2230eafb56a4a77adcb3f27bf59503 Mon Sep 17 00:00:00 2001 From: rimu <3310831+rimu@users.noreply.github.com> Date: Sun, 28 Jan 2024 19:19:26 +1300 Subject: [PATCH] topic misc bugfixes --- app/templates/post/_comment_voting_buttons.html | 4 ++-- app/templates/post/_post_teaser.html | 2 +- app/templates/post/_post_voting_buttons.html | 4 ++-- app/topic/routes.py | 5 +++-- 4 files changed, 8 insertions(+), 7 deletions(-) diff --git a/app/templates/post/_comment_voting_buttons.html b/app/templates/post/_comment_voting_buttons.html index 373d9687..34718c1f 100644 --- a/app/templates/post/_comment_voting_buttons.html +++ b/app/templates/post/_comment_voting_buttons.html @@ -1,6 +1,6 @@ {% if current_user.is_authenticated and current_user.verified %} {% if can_upvote(current_user, community) %} -
@@ -8,7 +8,7 @@ {% endif %} {{ comment.up_votes - comment.down_votes }} {% if can_downvote(current_user, community) %} -
diff --git a/app/templates/post/_post_teaser.html b/app/templates/post/_post_teaser.html index e100a2d0..06ab8f05 100644 --- a/app/templates/post/_post_teaser.html +++ b/app/templates/post/_post_teaser.html @@ -2,7 +2,7 @@ {% if content_blocked and content_blocked == '-1' %} {# do nothing - blocked by keyword filter #} {% else %} -