summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorczaks <marcin@6irc.net>2016-05-06 16:49:35 +0200
committerczaks <marcin@6irc.net>2016-05-06 16:49:35 +0200
commita5bd39dc4ab2394db7f87d80a01480b22e4a74e1 (patch)
tree18762c02a7703bce4e31b1f288b718b1e0a7383b
parent505adffcdca1c1141b7b46f862b7939f2f4acf45 (diff)
mod dashboard html: link to page editor
-rw-r--r--templates/mod/dashboard.html6
1 files changed, 6 insertions, 0 deletions
diff --git a/templates/mod/dashboard.html b/templates/mod/dashboard.html
index 5c44a522..d13bf7f2 100644
--- a/templates/mod/dashboard.html
+++ b/templates/mod/dashboard.html
@@ -19,6 +19,9 @@
{% if mod|hasPermission(config.mod.manageboards) %}
<a href="?/edit/{{ board.uri }}"><small>[{% trans 'edit' %}]</small></a>
{% endif %}
+ {% if mod|hasPermission(config.mod.edit_pages) %}
+ <a href="?/edit_pages/{{ board.uri }}"><small>[{% trans 'pages' %}]</small></a>
+ {% endif %}
</li>
{% endfor %}
@@ -100,6 +103,9 @@
{% if mod|hasPermission(config.mod.modlog) %}
<li><a href="?/log">{% trans 'Moderation log' %}</a></li>
{% endif %}
+ {% if mod|hasPermission(config.mod.edit_pages) %}
+ <li><a href="?/edit_pages">{% trans 'Global static pages' %}</a></li>
+ {% endif %}
{% if mod|hasPermission(config.mod.recent) %}
<li><a href="?/recent/25">{% trans 'Recent posts' %}</a></li>
{% endif %}