diff --git a/files/templates/comments.html b/files/templates/comments.html index bf1a77c0df..395dd8f8ee 100644 --- a/files/templates/comments.html +++ b/files/templates/comments.html @@ -192,7 +192,7 @@ {% endfor %} {% endif %} - {% if c.bannedfor and c.author.banned_by %} + {% if c.bannedfor %} {% endif %} {% if c.active_flags %}{{c.active_flags}} Reports{% endif %} diff --git a/files/templates/submission.html b/files/templates/submission.html index 5fd5d0169d..82d104c628 100644 --- a/files/templates/submission.html +++ b/files/templates/submission.html @@ -328,7 +328,7 @@
- {% if p.bannedfor and p.author.banned_by %} + {% if p.bannedfor %} {% endif %} diff --git a/files/templates/submission_listing.html b/files/templates/submission_listing.html index dc87c3bfc9..a916f0455b 100644 --- a/files/templates/submission_listing.html +++ b/files/templates/submission_listing.html @@ -166,7 +166,7 @@