master
Aevann1 2022-01-14 13:41:38 +02:00
parent 05cb5a73fd
commit c5dad2639e
1 changed files with 1 additions and 2 deletions

View File

@ -280,13 +280,12 @@
<input autocomplete="off" type="hidden" name="user" value="{{u.username}}">
<input autocomplete="off" type="submit" class="btn btn-success" value="Approve User's Content">
</form>
<pre></pre>
<form action="/admin/nuke_user" method="post">
<input autocomplete="off" type="hidden" name="formkey", value="{{v.formkey}}">
<input autocomplete="off" type="hidden" name="user" value="{{u.username}}">
<input autocomplete="off" type="submit" class="btn btn-danger" value="Remove User's Content">
</form>
<pre></pre>
<button id="grant2" class="{% if u.paid_dues %}d-none{% endif %} btn btn-success" onclick="post_toast2('/@{{u.username}}/club_allow','grant2','bar2')">Grant club access</button>
<button id="bar2" class="{% if u.club_allowed == False %}d-none{% endif %} btn btn-danger" onclick="post_toast2('/@{{u.username}}/club_ban','grant2','bar2')">Bar from club</button>
{% endif %}