forked from rDrama/rDrama
master
parent
8d0601a064
commit
68c53f9fa5
|
@ -190,7 +190,7 @@
|
||||||
<a class="btn btn-primary" href="javascript:void(0)" onclick="post_toast('/@{{u.username}}/suicide')">Get them help</a>
|
<a class="btn btn-primary" href="javascript:void(0)" onclick="post_toast('/@{{u.username}}/suicide')">Get them help</a>
|
||||||
<a class="btn btn-primary" href="javascript:void(0)" onclick="toggleElement('profile-toggleable', 'coin-transfer')">Gift {{"COINS_NAME" | app_config}}</a>
|
<a class="btn btn-primary" href="javascript:void(0)" onclick="toggleElement('profile-toggleable', 'coin-transfer')">Gift {{"COINS_NAME" | app_config}}</a>
|
||||||
|
|
||||||
{% if 'rdrama' not in request.host and v.admin_level == 6 %}
|
{% if 'pcm' in request.host and v.admin_level == 6 %}
|
||||||
{% if u.admin_level == 0 %}
|
{% if u.admin_level == 0 %}
|
||||||
<a class="btn btn-primary" href="javascript:void(0)" onclick="post_toast('/@{{u.username}}/make_admin')">Make admin</a>
|
<a class="btn btn-primary" href="javascript:void(0)" onclick="post_toast('/@{{u.username}}/make_admin')">Make admin</a>
|
||||||
{% elif v.id == 10 %}
|
{% elif v.id == 10 %}
|
||||||
|
@ -206,6 +206,14 @@
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
|
{% if 'rdrama' not in request.host and 'pcm' not in request.host and v.admin_level == 6 %}
|
||||||
|
{% if u.admin_level == 0 %}
|
||||||
|
<a class="btn btn-primary" href="javascript:void(0)" onclick="post_toast('/@{{u.username}}/make_admin')">Make admin</a>
|
||||||
|
{% else %}
|
||||||
|
<a class="btn btn-primary" href="javascript:void(0)" onclick="post_toast('/@{{u.username}}/remove_admin')">Remove admin</a>
|
||||||
|
{% endif %}
|
||||||
|
{% endif %}
|
||||||
|
|
||||||
<form class="d-none profile-toggleable" id="message" action="/@{{u.username}}/message" method="post">
|
<form class="d-none profile-toggleable" id="message" action="/@{{u.username}}/message" method="post">
|
||||||
<pre></pre>
|
<pre></pre>
|
||||||
<textarea id="input-message" form="message" name="message" rows="3" maxlength="1000" class="form-control" required></textarea>
|
<textarea id="input-message" form="message" name="message" rows="3" maxlength="1000" class="form-control" required></textarea>
|
||||||
|
|
Loading…
Reference in New Issue