forked from rDrama/rDrama
master
parent
bb5adb7c6d
commit
d2e17a61c4
|
@ -328,13 +328,9 @@
|
|||
<input type="submit" class="btn btn-danger" value="Remove User's Content">
|
||||
</form>
|
||||
|
||||
{% if not v.paid_dues %}
|
||||
<button class="btn btn-success" onclick="post_toast('/@{{u.username}}/club_allow')">Grant club access</button>
|
||||
<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 not u.paid_dues %}d-none{% endif %} btn btn-danger" onclick="post_toast2('/@{{u.username}}/club_ban','grant2','bar2')">Bar from club</button>
|
||||
{% endif %}
|
||||
{% if not u.club_banned %}
|
||||
<button class="btn btn-danger" onclick="post_toast('/@{{u.username}}/club_ban')">Bar from club</button>
|
||||
{% endif %}
|
||||
{% endif %}
|
||||
<pre></pre>
|
||||
<p>User ID: {{u.id}}</p>
|
||||
{% if v and v.admin_level >=4 %}
|
||||
|
@ -514,12 +510,9 @@
|
|||
|
||||
{% if v.admin_level > 1 %}
|
||||
|
||||
{% if not v.paid_dues %}
|
||||
<button class="btn btn-success" onclick="post_toast('/@{{u.username}}/club_allow')">Grant club access</button>
|
||||
{% endif %}
|
||||
{% if not u.club_banned %}
|
||||
<button class="btn btn-danger" onclick="post_toast('/@{{u.username}}/club_ban')">Bar from club</button>
|
||||
{% endif %}
|
||||
|
||||
<button id="grant" class="{% if u.paid_dues %}d-none{% endif %} btn btn-success" onclick="post_toast2('/@{{u.username}}/club_allow','grant','bar')">Grant club access</button>
|
||||
<button id="bar" class="{% if not u.paid_dues %}d-none{% endif %} btn btn-danger" onclick="post_toast2('/@{{u.username}}/club_ban','grant','bar')">Bar from club</button>
|
||||
|
||||
<br><br>
|
||||
<div class="body d-lg-flex border-bottom">
|
||||
|
|
Loading…
Reference in New Issue