fix /admin

master
Aevann 2023-03-15 06:51:36 +02:00
parent d4805ef1a5
commit 9f86dfad9e
1 changed files with 6 additions and 10 deletions

View File

@ -83,22 +83,18 @@
{% endif %}
</ul>
{% if FEATURES['BADGES'] -%}
<h4>Grant</h4>
<ul>
{% if FEATURES['BADGES'] and v.admin_level >= PERMS['USER_BADGES'] -%}
<h4>Badges</h4>
<ul>
<li><a href="/admin/badge_grant">Grant Badges</a></li>
<li><a href="/admin/badge_remove">Remove Badges</a></li>
{%- endif %}
</ul>
{%- endif %}
{% if FEATURES['GAMBLING'] -%}
{% if FEATURES['GAMBLING'] and v.admin_level >= PERMS['LOTTERY_VIEW_PARTICIPANTS']-%}
<h4>Casino</h4>
<ul>
{% if v.admin_level >= PERMS['LOTTERY_VIEW_PARTICIPANTS'] %}
<li><a href="/admin/lottery/participants">Participants</a></li>
{% endif %}
</ul>
{%- endif %}