Show ban appeal count on mod dashboard

This commit is contained in:
discomrade
2021-07-24 04:32:45 -02:00
committed by Zankaria
parent f7a8cb258f
commit 1ed75a58c2
2 changed files with 6 additions and 1 deletions

View File

@@ -91,7 +91,9 @@
<li><a href="?/bans">{% trans 'Ban list' %}</a></li>
{% endif %}
{% if config.ban_appeals and mod|hasPermission(config.mod.view_ban_appeals) %}
<li><a href="?/ban-appeals">{% trans 'Ban appeals' %}</a></li>
{% if appeals > 0 %}<strong>{% endif %}
<li><a href="?/ban-appeals">{% trans 'Ban appeals' %}</a></li>
{% if appeals > 0 %}</strong>{% endif %}
{% endif %}
{% if mod|hasPermission(config.mod.manageusers) %}
<li><a href="?/users">{% trans 'Manage users' %}</a></li>