remotes/1693045480750635534/spooky-22
Aevann1 2021-07-29 08:10:31 +02:00
parent 63abc499f2
commit fe9f718dce
2 changed files with 0 additions and 24 deletions

View File

@ -166,11 +166,6 @@
{% else %}
<button class="btn btn-link btn-block btn-lg text-left text-danger" href="javascript:void(0)" onclick="post_toast('/api/ban_user/{{p.author_id}}?toast=1')"><i class="fas fa-user-minus mr-3 text-danger"></i>Ban user</a></button>
{% endif %}
{% if p.author.shadowbanned %}
<button class="btn btn-link btn-block btn-lg text-left text-danger" href="javascript:void(0)" onclick="post('/unshadowban/{{p.author.id}}"><i class="fas fa-user-minus mr-3 text-danger"></i>Unshadowban user</a></button>
{% else %}
<button class="btn btn-link btn-block btn-lg text-left text-danger" href="javascript:void(0)" onclick="post('/shadowban/{{p.author.id}}"><i class="fas fa-user-minus mr-3 text-danger"></i>Shadowban user</a></button>
{% endif %}
{% endif %}
</ul>
@ -397,13 +392,6 @@
<li class="list-inline-item"><a href="javascript:void(0)" onclick="post_toast('/api/ban_user/{{p.author_id}}')"
><i class="fas fa-user-slash text-danger"></i>Ban user</a></li>
{% endif %}
{% if p.author.shadowbanned %}
<li class="list-inline-item"><a href="javascript:void(0)" onclick="post('/unshadowban/{{p.author.id}}', function(){window.location.reload(true);})"
><i class="fas fa-user-slash text-danger"></i>Unshadowban user</a></li>
{% else %}
<li class="list-inline-item"><a href="javascript:void(0)" onclick="post('/shadowban/{{p.author.id}}', function(){window.location.reload(true);})"
><i class="fas fa-user-slash text-danger"></i>Shadowban user</a></li>
{% endif %}
{% endif %}
{% endif %}

View File

@ -226,13 +226,6 @@
<li class="list-inline-item"><a id="exile2-user-{{p.base36id}}" href="javascript:void(0)" onclick="post_toast('/api/ban_user/{{p.author_id}}')"
><i class="fas fa-user-slash text-danger"></i>Ban user</a></li>
{% endif %}
{% if p.author.shadowbanned %}
<li class="list-inline-item"><a href="javascript:void(0)" onclick="post('/unshadowban/{{p.author.id}}', function(){window.location.reload(true);})"
><i class="fas fa-user-slash text-danger"></i>Unshadowban user</a></li>
{% else %}
<li class="list-inline-item"><a href="javascript:void(0)" onclick="post('/shadowban/{{p.author.id}}', function(){window.location.reload(true);})"
><i class="fas fa-user-slash text-danger"></i>Shadowban user</a></li>
{% endif %}
{% endif %}
{% endif %}
@ -365,11 +358,6 @@
{% else %}
<button class="btn btn-link btn-block btn-lg text-left text-danger" href="javascript:void(0)" onclick="post_toast('/api/ban_user/{{p.author_id}}')"><i class="fas fa-user-minus mr-3 text-danger"></i>Ban user</a></button>
{% endif %}
{% if p.author.shadowbanned %}
<button class="btn btn-link btn-block btn-lg text-left text-danger" href="javascript:void(0)" onclick="post('/unshadowban/{{p.author.id}}', function(){window.location.reload(true);})"><i class="fas fa-user-minus mr-3 text-danger"></i>Unshadowban user</a></button>
{% else %}
<button class="btn btn-link btn-block btn-lg text-left text-danger" href="javascript:void(0)" onclick="post('/shadowban/{{p.author.id}}', function(){window.location.reload(true);})"><i class="fas fa-user-minus mr-3 text-danger"></i>Shadowban user</a></button>
{% endif %}
{% endif %}
<button class="btn btn-link btn-block btn-lg text-info text-left" id="sticky-post-{{p.base36id}}" href="javascript:void(0)" onclick="post('/api/sticky/{{p.base36id}}',callback=function(){window.location.reload(true);})"><i class="fas fa-thumbtack text-center text-muted mr-3"></i>{% if p.stickied %}Unpin{% else %}Pin{% endif %}</button>