diff options
| author | Michael Save <savetheinternet@tinyboard.org> | 2012-08-13 00:18:13 +1000 |
|---|---|---|
| committer | Michael Save <savetheinternet@tinyboard.org> | 2012-08-13 00:18:13 +1000 |
| commit | c5ec20684e77456fe9377a8cbf62c78cfb580b64 (patch) | |
| tree | e1ab7f489f67685c9ec4be53e71bdce80420d814 /templates/mod/dashboard.html | |
| parent | 32384cb722c4ca7e70939d2cb308fa3b39eebfcf (diff) | |
themes
Diffstat (limited to 'templates/mod/dashboard.html')
| -rw-r--r-- | templates/mod/dashboard.html | 18 |
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>— {{ 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> |
