forked from leftypol/leftypol
show number of reports from dashboard; translatable mod panel
This commit is contained in:
parent
0c682f5cc3
commit
e4b6c89375
2 changed files with 36 additions and 27 deletions
|
@ -74,7 +74,11 @@
|
|||
|
||||
<ul>
|
||||
{% if mod|hasPermission(config.mod.reports) %}
|
||||
<li><a href="?/reports">{% trans 'Report queue' %}</a></li>
|
||||
<li>
|
||||
{% if reports > 0 %}<strong>{% endif %}
|
||||
<a href="?/reports">{% trans 'Report queue' %} ({{ reports }})</a>
|
||||
{% if reports > 0 %}</strong>{% endif %}
|
||||
</li>
|
||||
{% endif %}
|
||||
|
||||
{% if mod|hasPermission(config.mod.view_banlist) %}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue