mirror of
https://github.com/Xevion/v1.xevion.dev.git
synced 2025-12-15 20:13:35 -06:00
role adjustments and administration checking
This commit is contained in:
@@ -15,6 +15,8 @@
|
||||
<ul class="menu-list">
|
||||
<li><a href="{{ url_for('profile_settings') }}" {% if profile_settings_active %}class="is-active"{% endif %}>Profile Settings</a></li>
|
||||
</ul>
|
||||
{% if current_user.has_role('Admin') %}
|
||||
|
||||
<p class="menu-label">
|
||||
Administration
|
||||
</p>
|
||||
@@ -28,6 +30,7 @@
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
{% endif %}
|
||||
</aside>
|
||||
</div>
|
||||
<div class="column"></div>
|
||||
|
||||
Reference in New Issue
Block a user