From d0bea077c1974c9d7774e2bc9b00a415710d75f7 Mon Sep 17 00:00:00 2001 From: Aevann1 Date: Wed, 8 Sep 2021 22:41:37 +0200 Subject: [PATCH] fd --- files/templates/comments.html | 26 +++++++++++++------------- files/templates/default.html | 4 ++-- 2 files changed, 15 insertions(+), 15 deletions(-) diff --git a/files/templates/comments.html b/files/templates/comments.html index 71b278abcf..53bff1a564 100644 --- a/files/templates/comments.html +++ b/files/templates/comments.html @@ -270,8 +270,8 @@
  • Votes
  • {% if v %} -
  • Save
  • -
  • Unsave
  • +
  • Save
  • +
  • Unsave
  • {% endif %} {% if v %} @@ -297,9 +297,9 @@
  • Edit
  • -
  • Delete
  • +
  • Delete
  • -
  • Undelete
  • +
  • Undelete
  • {% endif %} @@ -309,12 +309,14 @@ {% if v and not v.id==c.author_id and v.admin_level == 0 %} -
  • Block user
  • +
  • Unblock user
  • +
  • Block user
  • {% 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
  • + +
  • Pin
  • {% endif %} @@ -324,15 +326,13 @@ {% endif %} {% if v and c.parent_submission and (c.author_id==v.id or v.admin_level > 0) %} -
  • Toggle +18
  • +
  • Unmark +18
  • +
  • Mark +18
  • {% endif %} {% if v and v.admin_level==6 and v.id != c.author_id %} - {% if c.author.is_suspended %} -
  • Unban user
  • - {% else %} -
  • Ban user
  • - {% endif %} +
  • Unban user
  • +
  • Ban user
  • {% endif %} {% if v and v.admin_level >=4 and c.oauth_app %} diff --git a/files/templates/default.html b/files/templates/default.html index c6ee490435..f99f500643 100644 --- a/files/templates/default.html +++ b/files/templates/default.html @@ -263,8 +263,8 @@ ) } - document.getElementById(button1).classList.toggle("d-none"); - document.getElementById(button2).classList.toggle("d-none"); + document.getElementById(button1).classList.toggle("d-md-inline-block"); + document.getElementById(button2).classList.toggle("d-md-inline-block"); };