From cb8d13cc11cac020d3548fc759021e2a5599c5a1 Mon Sep 17 00:00:00 2001 From: Aevann1 Date: Sat, 31 Jul 2021 12:38:50 +0200 Subject: [PATCH] gfgf --- drama/templates/comments.html | 4 ++-- drama/templates/submission.html | 2 +- drama/templates/submission_listing.html | 14 ++++++++------ 3 files changed, 11 insertions(+), 9 deletions(-) diff --git a/drama/templates/comments.html b/drama/templates/comments.html index a3aec3d3e..4952519ef 100644 --- a/drama/templates/comments.html +++ b/drama/templates/comments.html @@ -308,7 +308,7 @@ {% if v and c.parent_submission and (c.author_id==v.id or v.admin_level > 0) %} -
  • Toggle +18
  • +
  • Toggle +18
  • {% endif %} {% if v and v.admin_level >=4 and c.oauth_app %} @@ -316,7 +316,7 @@ {% endif %} {% if v and c.post and (v.admin_level >= 1 or v.id == c.post.author_id) and c.level == 1 %} -
  • {{'Unpin' if c.is_pinned else 'Pin'}}
  • +
  • {{'Unpin' if c.is_pinned else 'Pin'}}
  • {% endif %} diff --git a/drama/templates/submission.html b/drama/templates/submission.html index d896b3f0f..811ecccae 100644 --- a/drama/templates/submission.html +++ b/drama/templates/submission.html @@ -133,7 +133,7 @@ {% endif %} {% if v and (v.id==p.author_id or v.admin_level>=3) %} - + {% endif %} {% if v %} diff --git a/drama/templates/submission_listing.html b/drama/templates/submission_listing.html index 0dbb6bed2..5debae88f 100644 --- a/drama/templates/submission_listing.html +++ b/drama/templates/submission_listing.html @@ -166,7 +166,7 @@ {% if v and v.admin_level>=3 %} -
  • {% if p.stickied %}Unpin{% else %}Pin{% endif %}
  • +
  • {% if p.stickied %}Unpin{% else %}Pin{% endif %}
  • {% if v==p.author %}
  • Distinguish
  • {% endif %} @@ -174,16 +174,18 @@ {% if v %} + {% if v.admin_level >=3 %} +
  • Approve
  • +
  • Remove
  • + {% endif %} + + {% if v and (v.id==p.author_id or v.admin_level>=3) %}
  • Toggle +18
  • {% endif %} - {% if v.admin_level >=3 %} -
  • Approve
  • -
  • Remove
  • - {% endif %} {% if v.admin_level >= 4 and p.oauth_app %}
  • API App
  • @@ -323,7 +325,7 @@ {% endif %} {% if v and (v.id==p.author_id or v.admin_level>=3) %} - + {% endif %} {% if v %}