diff options
| author | Michael Save <savetheinternet@tinyboard.org> | 2012-05-25 21:40:01 +1000 |
|---|---|---|
| committer | Michael Save <savetheinternet@tinyboard.org> | 2012-05-25 21:40:01 +1000 |
| commit | e4b6c89375d60424e1e029cb3d10c8ec2be49620 (patch) | |
| tree | 6ae9a2aadfbcfa2056746d610dae0e7d464bc30a /templates/mod/dashboard.html | |
| parent | 0c682f5cc33637882ee3c76f294a476b1bd0e3fb (diff) | |
show number of reports from dashboard; translatable mod panel
Diffstat (limited to 'templates/mod/dashboard.html')
| -rw-r--r-- | templates/mod/dashboard.html | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/templates/mod/dashboard.html b/templates/mod/dashboard.html index a10b0cf2..1c70bf06 100644 --- a/templates/mod/dashboard.html +++ b/templates/mod/dashboard.html @@ -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) %} |
