summaryrefslogtreecommitdiff
path: root/templates/mod/dashboard.html
diff options
context:
space:
mode:
authorMichael Save <savetheinternet@tinyboard.org>2012-08-13 00:18:13 +1000
committerMichael Save <savetheinternet@tinyboard.org>2012-08-13 00:18:13 +1000
commitc5ec20684e77456fe9377a8cbf62c78cfb580b64 (patch)
treee1ab7f489f67685c9ec4be53e71bdce80420d814 /templates/mod/dashboard.html
parent32384cb722c4ca7e70939d2cb308fa3b39eebfcf (diff)
themes
Diffstat (limited to 'templates/mod/dashboard.html')
-rw-r--r--templates/mod/dashboard.html18
1 files changed, 4 insertions, 14 deletions
diff --git a/templates/mod/dashboard.html b/templates/mod/dashboard.html
index 47a25390..30742dc1 100644
--- a/templates/mod/dashboard.html
+++ b/templates/mod/dashboard.html
@@ -10,7 +10,6 @@
{% if board.subtitle %}
<small>&mdash; {{ board.subtitle|e }}</small>
{% endif %}
-
{% if mod|hasPermission(config.mod.manageboards) %}
<a href="?/edit/{{ board.uri }}"><small>[{% trans 'edit' %}]</small></a>
{% endif %}
@@ -78,39 +77,30 @@
{% if reports > 0 %}</strong>{% endif %}
</li>
{% endif %}
-
{% if mod|hasPermission(config.mod.view_banlist) %}
<li><a href="?/bans">{% trans 'Ban list' %}</a></li>
{% endif %}
-
{% if mod|hasPermission(config.mod.manageusers) %}
<li><a href="?/users">{% trans 'Manage users' %}</a></li>
{% elseif mod|hasPermission(config.mod.change_password) %}
<li><a href="?/users/{{ mod.id }}">{% trans 'Change password' %}</a></li>
{% endif %}
-
+ {% if mod|hasPermission(config.mod.themes) %}
+ <li><a href="?/themes">{% trans 'Manage themes' %}</a></li>
+ {% endif %}
{% if mod|hasPermission(config.mod.modlog) %}
<li><a href="?/log">{% trans 'Moderation log' %}</a></li>
{% endif %}
-
{% if mod|hasPermission(config.mod.rebuild) %}
<li><a href="?/rebuild">{% trans 'Rebuild' %}</a></li>
{% endif %}
-
{% if mod|hasPermission(config.mod.show_config) %}
<li><a href="?/config">{% trans 'Configuration' %}</a></li>
{% endif %}
+
</ul>
</fieldset>
-{% if mod|hasPermission(config.mod.themes) %}
- <fieldset>
- <legend>{% trans 'Themes' %}</legend>
-
- {# TODO #}
- </fieldset>
-{% endif %}
-
<fieldset>
<legend>{% trans 'Search' %}</legend>