forked from rDrama/rDrama
1
0
Fork 0
master
kek7198 2021-12-06 22:35:06 -06:00
parent 61daa14fe9
commit 9baab5b75d
1 changed files with 2 additions and 3 deletions

View File

@ -1,4 +1,3 @@
<div class="modal fade modal-sm-bottom md:hidden" id="actionsModal-{{p.id}}" tabindex="-1" role="dialog" aria-labelledby="actionsModalTitle" aria-hidden="true">
<div class="modal-dialog modal-dialog-centered" role="document">
<div class="modal-content rounded-t-md w-full bg-gray-200">
@ -162,12 +161,12 @@
</li>
<li id="prompt2-{{p.id}}" class="blockuser hidden">
<button class="btn btn-gray w-full text-left" onclick="post_toast2('/settings/block?username={{p.author.username}}','prompt2-{{p.id}}','unblock2-{{p.id}}')">
<i class="fas fa-user-slash fa-fw mr-4"></i>Are you sure?
<i class="fas fa-question-circle fa-fw mr-4"></i>Are you sure?
</button>
</li>
<li id="block2-{{p.id}}" class="{% if p.is_blocking %} hidden{% endif %}">
<button class="btn btn-gray w-full text-left" onclick="document.getElementById('block2-{{p.id}}').classList.toggle('hidden');document.getElementById('prompt2-{{p.id}}').classList.toggle('hidden');">
<i class="fas fa-eye-slash fa-fw mr-4"></i>Block user
<i class="fas fa-user-slash fa-fw mr-4"></i>Block user
</button>
</li>
{% endif %}