hide dm image button from jannies who cant view them

master
Aevann 2023-01-28 10:41:11 +02:00
parent 8eb0eb1938
commit 51d0480452
1 changed files with 3 additions and 1 deletions

View File

@ -35,7 +35,9 @@
<h4>Content</h4>
<ul>
<li><a href="/admin/dm_images">DM Images</a></li>
{% if v.admin_level >= PERMS['VIEW_DM_IMAGES'] %}
<li><a href="/admin/dm_images">DM Images</a></li>
{% endif %}
<li><a href="/log">Moderation Log</a></li>
{% if v.admin_level >= PERMS['POST_COMMENT_MODERATION'] %}
<li><a href="/admin/image_posts">Image Posts</a></li>