fix
parent
12ae135399
commit
b3c69d681c
|
@ -190,13 +190,13 @@
|
|||
<!-- Requires author -->
|
||||
{% if v.id != p.author.id %}
|
||||
<li class="{% if p.is_banned %}hidden{% endif %} text-red-600">
|
||||
<button id="remove-{{p.id}}" 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_toast2('/ban_post/{{p.id}}','remove-{{p.id}}','approve-{{p.id}}')">
|
||||
<button id="remove-{{p.id}}" 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 class="{% if not p.is_banned %}hidden{% endif %}">
|
||||
<button id="approve-{{p.id}}" 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_toast2('/unban_post/{{p.id}}','remove-{{p.id}}','approve-{{p.id}}')">
|
||||
<button id="approve-{{p.id}}" 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>
|
||||
</li>
|
||||
|
|
Loading…
Reference in New Issue