From 22d2b0823d92d6e9507860fb412136005ec15a6a Mon Sep 17 00:00:00 2001 From: Aevann1 Date: Wed, 28 Jul 2021 05:36:50 +0200 Subject: [PATCH] dfdf --- drama/templates/comments.html | 14 +++++++------- drama/templates/submission.html | 4 ++-- drama/templates/submission_listing.html | 4 ++-- 3 files changed, 11 insertions(+), 11 deletions(-) diff --git a/drama/templates/comments.html b/drama/templates/comments.html index 077bbba08..ae48d6bf8 100644 --- a/drama/templates/comments.html +++ b/drama/templates/comments.html @@ -313,9 +313,9 @@ {% endif %} - {% if not v.id==c.author_id %} - Block user + {% if not v.id==c.author_id and v.admin_level == 0 %} + Block user {% endif %} {% if v.admin_level>=3 %} @@ -511,10 +511,10 @@
  • API App
  • {% endif %} - {% if not v.id==c.author_id %} -
  • - Block user -
  • + {% if not v.id==c.author_id and v.admin_level == 0 %} +
  • + Block user +
  • {% endif %} {% endif %} diff --git a/drama/templates/submission.html b/drama/templates/submission.html index 63e4c87bc..55308d7e0 100644 --- a/drama/templates/submission.html +++ b/drama/templates/submission.html @@ -157,7 +157,7 @@ {% endif %} - {% if v and v.id != p.author_id %} + {% if v and v.id != p.author_id and v.admin_level == 0 %}