master
Aevann1 2022-03-04 19:58:02 +02:00
parent af426407c7
commit 0b99314880
2 changed files with 2 additions and 2 deletions

View File

@ -78,7 +78,7 @@
{% endif %}
{% if p.sub and v.mods(p.sub) and not p.author.mods(sub) %}
{% if p.sub and v.mods(p.sub) and not p.author.mods(p.sub) %}
<a class="dropdown-item list-inline-item text-danger" role="button" onclick="post_toast(this,'/kick/{{p.id}}')"><i class="fas fa-sign-out text-danger"></i>Remove</a>
<a id="exile-{{p.id}}" class="{% if p.author.exiled_from(p.sub) %}d-none{% endif %} dropdown-item list-inline-item text-danger" role="button" onclick="post_toast2(this,'/exile/post/{{p.id}}','exile-{{p.id}}','unexile-{{p.id}}')"><i class="fas fa-campfire text-danger"></i>Exile user</a>

View File

@ -50,7 +50,7 @@
{% endif %}
{% endif %}
{% if p.sub and v.mods(p.sub) and not p.author.mods(sub) %}
{% if p.sub and v.mods(p.sub) and not p.author.mods(p.sub) %}
<button data-bs-dismiss="modal" class="nobackground btn btn-link btn-block btn-lg text-left text-danger" onclick="post_toast(this,'/kick/{{p.id}}')"><i class="fas fa-sign-out text-danger text-center mr-3"></i>Remove</button>
<button data-bs-dismiss="modal" id="exile2" class="{% if p.author.exiled_from(p.sub) %}d-none{% endif %} nobackground btn btn-link btn-block btn-lg text-left text-danger" onclick="post_toast2(this,'/exile/post/{{p.id}}','exile2','unexile2')"><i class="fas fa-campfire mr-3 text-danger"></i>Exile user</button>