From bad297065715bc0fe77c0a6ec85020f4576a3452 Mon Sep 17 00:00:00 2001 From: kek7198 Date: Mon, 6 Dec 2021 00:45:13 -0600 Subject: [PATCH] fix --- files/templates/submission.html | 38 ++++++++++++++++----------------- 1 file changed, 19 insertions(+), 19 deletions(-) diff --git a/files/templates/submission.html b/files/templates/submission.html index eb819a886..00e45412c 100644 --- a/files/templates/submission.html +++ b/files/templates/submission.html @@ -219,27 +219,27 @@
-{% if p.is_banned and p.ban_reason %} -
- - - Removed by @{{p.ban_reason}} - -
-{% endif %} + + {% if p.is_banned and p.ban_reason %} +
+ + + Removed by @{{p.ban_reason}} + +
+ {% endif %} + + {% if p.bannedfor and p.author.banned_by %} +
+ + + Author was banned for this post by + @{{p.author.banned_by.username}} + +
+ {% endif %}
- -{% if p.bannedfor and p.author.banned_by %} -
- - - Author was banned for this post by - @{{p.author.banned_by.username}} - -
-{% endif %} -