remotes/1693045480750635534/spooky-22
kek7198 2021-12-06 00:06:05 -06:00
parent 85d92cf952
commit 03da90cc8c
1 changed files with 2 additions and 2 deletions

View File

@ -175,13 +175,13 @@
{% if v.admin_level >=3 %}
<!-- Requires non author -->
{% if v.id != p.author.id %}
<li id="remove-{{p.id}}" class="hidden {% if p.is_banned %}md:block{% endif %} text-red-600">
<li id="remove-{{p.id}}" class="hidden {% if not p.is_banned %}md:block{% endif %} text-red-600">
<button class="dropdown-item block w-full text-left px-4 py-2 text-sm text-gray-200 bg-gradient-to-t hover:from-red-800 hover:to-red-700 hover:shadow-inner focus:shadow-inner focus:bg-gradient-to-t focus:from-red-800 focus:to-red-700" onclick="post_toast3('/ban_post/{{p.id}}','remove-{{p.id}}','approve-{{p.id}}')">
<i class="fas fa-ban fa-sm fa-fw mr-4"></i>Remove
</button>
</li>
{% endif %}
<li id="approve-{{p.id}}" class="hidden {% if not p.is_banned %}md:block{% endif %}">
<li id="approve-{{p.id}}" class="hidden {% if p.is_banned %}md:block{% endif %}">
<button class="dropdown-item block w-full text-left px-4 py-2 text-sm text-gray-200 bg-gradient-to-t hover:from-red-800 hover:to-red-700 hover:shadow-inner focus:shadow-inner focus:bg-gradient-to-t focus:from-red-800 focus:to-red-700" onclick="post_toast3('/unban_post/{{p.id}}','remove-{{p.id}}','approve-{{p.id}}')">
<i class="fas fa-check fa-sm fa-fw mr-4"></i>Approve
</button>