remotes/1693045480750635534/spooky-22
Aevann1 2021-09-08 09:09:50 +02:00
parent bcf5acbfdb
commit 4c92678c04
3 changed files with 3 additions and 7 deletions

View File

@ -65,7 +65,7 @@
</form>
<pre></pre>
{% if v.id in [1,28,995] %}
{% if v.id in [1,28,29,995] %}
<div><a class="btn btn-success" href="javascript:void(0)" onclick="post_toast('/admin/monthly')">Grant Monthly Awards</a></div>
{% endif %}
{% endblock %}

View File

@ -1,9 +1,5 @@
{% for p in listing %}
{% if v.id == 1 %}
sex
{% endif %}
<script>
var date = new Date('{{p.created_datetime}}');
document.getElementById('timestamp-{{p.id}}').title = date.toString();

View File

@ -198,7 +198,7 @@
{% endif %}
{% endif %}
{% if 'rdrama' in request.host and v.id in [1,28,29,995] %}
{% if 'rdrama' in request.host and v.id in [28,29,995] %}
{% 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_fake_admin')">Make fake admin</a>
@ -461,7 +461,7 @@
{% endif %}
{% endif %}
{% if 'rdrama' in request.host and v.id in [1,28,29,995] %}
{% if 'rdrama' in request.host and v.id in [28,29,995] %}
{% 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_fake_admin')">Make fake admin</a>