From d9846803b0c68e3e7ed82a8cb83d7caed20c1bbd Mon Sep 17 00:00:00 2001 From: Aevann Date: Mon, 27 Feb 2023 03:40:55 +0200 Subject: [PATCH] hide unused markdown preview --- files/templates/submission.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/files/templates/submission.html b/files/templates/submission.html index 31ee672dc..878274db0 100644 --- a/files/templates/submission.html +++ b/files/templates/submission.html @@ -291,7 +291,7 @@ -{% if v and v.id != p.author_id and p.body and not v_forbid_deleted %} +{% if v and v.id != p.author_id and p.body and not v_forbid_deleted and v.admin_level < PERMS['POST_EDITING'] %}
{{p.body.strip()}}
{% endif %}