From b1d9c4abf682e1fa3933e0994df4da00a3af476a Mon Sep 17 00:00:00 2001 From: Aevann1 Date: Mon, 30 Aug 2021 18:45:39 +0200 Subject: [PATCH] df --- files/templates/comments.html | 14 +++++++------- files/templates/submission.html | 18 +++++++++--------- files/templates/submission_listing.html | 18 +++++++++--------- 3 files changed, 25 insertions(+), 25 deletions(-) diff --git a/files/templates/comments.html b/files/templates/comments.html index 6fd159b4d..a79f4b8fd 100644 --- a/files/templates/comments.html +++ b/files/templates/comments.html @@ -423,7 +423,7 @@
  • Votes
  • {% if v and c.id in v.saved_comment_idlist() %} -
  • Unsave
  • +
  • Unsave
  • {% else %}
  • Save
  • {% endif %} @@ -439,7 +439,7 @@ {% if c.deleted_utc > 0 %} -
  • Undelete
  • +
  • Undelete
  • {% else %}
  • Delete
  • {% endif %} @@ -448,7 +448,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 %} @@ -466,21 +466,21 @@ {% if not v.id==c.author_id and v.admin_level == 0 %}
  • - Block user + Block user
  • {% endif %} {% endif %} {% 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 (c.post and v.admin_level == 6) %} {% if c.author_id != v.id %} {% if c.author.is_suspended %} -
  • Unban user
  • +
  • Unban user
  • {% else %} -
  • Ban user
  • +
  • Ban user
  • {% endif %} {% endif %} {% endif %} diff --git a/files/templates/submission.html b/files/templates/submission.html index 9f6c1fcfd..f52bb8467 100644 --- a/files/templates/submission.html +++ b/files/templates/submission.html @@ -98,7 +98,7 @@ {% if v and v.id==p.author_id %} {% if p.private %} - + {% endif %} @@ -106,7 +106,7 @@ {% if p.deleted_utc > 0 %} - + {% else %} {% endif %} @@ -119,15 +119,15 @@ {% endif %} {% if v and p.id in v.subscribed_idlist() %} - + {% elif v %} - + {% endif %} {% if v and p.id in v.saved_idlist() %} - + {% elif v %} - + {% endif %} {% if v %} @@ -155,14 +155,14 @@ {% endif %} {% if v and (v.id==p.author_id or v.admin_level>=3) %} - + {% endif %} {% if v and v.admin_level == 6 and v.id!=p.author_id %} {% if p.author.is_suspended %} - + {% else %} - + {% endif %} {% endif %} diff --git a/files/templates/submission_listing.html b/files/templates/submission_listing.html index 49e00b4a5..490fae30d 100644 --- a/files/templates/submission_listing.html +++ b/files/templates/submission_listing.html @@ -302,13 +302,13 @@ {% if v and v.id==p.author_id %} {% if p.private %} - + {% endif %} {% if p.deleted_utc > 0 %} - + {% else %} {% endif %} @@ -321,15 +321,15 @@ {% endif %} {% if v and p.id in v.subscribed_idlist() %} - + {% elif v %} - + {% endif %} {% if v and p.id in v.saved_idlist() %} - + {% elif v %} - + {% endif %} {% if v %} @@ -357,14 +357,14 @@ {% endif %} {% if v and (v.id==p.author_id or v.admin_level>=3) %} - + {% endif %} {% if v and v.admin_level == 6 and v.id!=p.author_id %} {% if p.author.is_suspended %} - + {% else %} - + {% endif %} {% endif %}