From dcaa6bc39478bb5c891e6b77efcea5dc12942b9f Mon Sep 17 00:00:00 2001 From: justcool393 Date: Sat, 19 Nov 2022 05:02:35 -0600 Subject: [PATCH] use realbody also fix a bug where mops aren't shown edit tools --- files/templates/submission.html | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/files/templates/submission.html b/files/templates/submission.html index fd634ce65..be6d59b4b 100644 --- a/files/templates/submission.html +++ b/files/templates/submission.html @@ -242,11 +242,16 @@ {% else %}
-
[Deleted by author.]
+
+ {{p.realbody(v) | safe}} + {% if p.is_banned and p.ban_reason %} +
removed by @{{p.ban_reason}} (Admin)
+ {% endif %} +
{% endif %} - {% if v and (v.id==p.author_id or v.admin_level >= PERMS['POST_EDITING']) and not v.is_suspended %} + {% if v and (v.id==p.author_id and not v.is_suspended) or v.admin_level >= PERMS['POST_EDITING'] %}