mirror of
https://github.com/TitanEmbeds/Titan.git
synced 2024-11-15 02:21:21 +01:00
Admin user_id to string in template for it to show
This commit is contained in:
parent
45f33971ed
commit
078ddaae6a
@ -33,7 +33,7 @@
|
||||
<li><a href="{{ url_for('user.dashboard') }}">Dashboard</a></li>
|
||||
<li class="divider"></li>
|
||||
<li><a href="{{ url_for('user.donate_get') }}"><i class="material-icons">monetization_on</i></nbr>{{ session["tokens"] }}</a></li>
|
||||
{% if session['user_id'] is defined and session['user_id'] in devs %}
|
||||
{% if session['user_id'] is defined and session['user_id']|string in devs %}
|
||||
<li class="divider"></li>
|
||||
<li><a href="{{ url_for('admin.index') }}">Admin</a></li>
|
||||
{% endif %}
|
||||
|
Loading…
Reference in New Issue
Block a user