forked from rDrama/rDrama
dont show the configuration categories for jannies who have no access to its contents
parent
5fd8458ce3
commit
3099ec3f34
|
@ -123,6 +123,7 @@
|
||||||
<li><a href="/stats">Statistics</a></li>
|
<li><a href="/stats">Statistics</a></li>
|
||||||
</ul>
|
</ul>
|
||||||
|
|
||||||
|
{% if v.admin_level >= PERMS['EDIT_RULES'] or PERMS['HOLE_CREATE'] and v.admin_level >= PERMS['HOLE_CREATE'] or v.admin_level >= PERMS['APPS_MODERATION'] %}
|
||||||
<h4>Configuration</h4>
|
<h4>Configuration</h4>
|
||||||
<ul class="pb-3">
|
<ul class="pb-3">
|
||||||
{% if v.admin_level >= PERMS['EDIT_RULES'] %}
|
{% if v.admin_level >= PERMS['EDIT_RULES'] %}
|
||||||
|
@ -135,6 +136,7 @@
|
||||||
<li><a href="/admin/apps">Apps</a></li>
|
<li><a href="/admin/apps">Apps</a></li>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
</ul>
|
</ul>
|
||||||
|
{% endif %}
|
||||||
|
|
||||||
{% if POLL_THREAD and v.admin_level >= PERMS['USE_ADMIGGER_THREADS'] %}
|
{% if POLL_THREAD and v.admin_level >= PERMS['USE_ADMIGGER_THREADS'] %}
|
||||||
<h4>Polls</h4>
|
<h4>Polls</h4>
|
||||||
|
|
Loading…
Reference in New Issue