forked from rDrama/rDrama
fdfd
parent
63abc499f2
commit
fe9f718dce
|
@ -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 %}
|
||||
|
||||
|
|
|
@ -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>
|
||||
|
|
Loading…
Reference in New Issue