show number of reports from dashboard; translatable mod panel

This commit is contained in:
Michael Save 2012-05-25 21:40:01 +10:00
parent 0c682f5cc3
commit e4b6c89375
2 changed files with 36 additions and 27 deletions

View file

@ -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) %}