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 %}