From 72d6c5135559f66a841c44bfd4ddb50bdc1e4310 Mon Sep 17 00:00:00 2001 From: Aevann1 Date: Thu, 22 Jul 2021 21:57:26 +0200 Subject: [PATCH] sneed --- drama/templates/comments.html | 4 ++-- drama/templates/submission.html | 4 ++-- drama/templates/submission_listing.html | 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/drama/templates/comments.html b/drama/templates/comments.html index ee4f4c531..a1a212d51 100644 --- a/drama/templates/comments.html +++ b/drama/templates/comments.html @@ -242,7 +242,7 @@
  • Votes
  • - {% if v and v.id!=c.author_id %} + {% if v and v.id!=c.author_id and v.admin_level == 0 %}
  • Ban user
  • {% endif %} @@ -451,7 +451,7 @@
  • Votes
  • - {% if v and v.id!=c.author_id %} + {% if v and v.id!=c.author_id and v.admin_level == 0 %}
  • Ban user
  • {% endif %} diff --git a/drama/templates/submission.html b/drama/templates/submission.html index 0f9f3e8b6..0f2da86d6 100644 --- a/drama/templates/submission.html +++ b/drama/templates/submission.html @@ -132,7 +132,7 @@ - {% if v and v.id!=p.author_id %} + {% if v and v.id!=p.author_id and v.admin_level == 0 %} {% endif %} @@ -324,7 +324,7 @@
  • Votes
  • - {% if v and v.id!=p.author_id %} + {% if v and v.id!=p.author_id and v.admin_level == 0 %}
  • Ban user
  • {% endif %} diff --git a/drama/templates/submission_listing.html b/drama/templates/submission_listing.html index cd9c14542..84944fb68 100644 --- a/drama/templates/submission_listing.html +++ b/drama/templates/submission_listing.html @@ -194,7 +194,7 @@
  • Votes
  • - {% if v and v.id!=p.author_id %} + {% if v and v.id!=p.author_id and v.admin_level == 0 %}
  • Ban user
  • {% endif %} @@ -378,7 +378,7 @@
  • Block user
  • - {% if v and v.id!=p.author_id %} + {% if v and v.id!=p.author_id and v.admin_level == 0 %} {% endif %}