mod dashboard html: link to page editor

This commit is contained in:
czaks 2016-05-06 16:49:35 +02:00
parent 505adffcdc
commit a5bd39dc4a

View File

@ -19,6 +19,9 @@
{% if mod|hasPermission(config.mod.manageboards) %} {% if mod|hasPermission(config.mod.manageboards) %}
<a href="?/edit/{{ board.uri }}"><small>[{% trans 'edit' %}]</small></a> <a href="?/edit/{{ board.uri }}"><small>[{% trans 'edit' %}]</small></a>
{% endif %} {% endif %}
{% if mod|hasPermission(config.mod.edit_pages) %}
<a href="?/edit_pages/{{ board.uri }}"><small>[{% trans 'pages' %}]</small></a>
{% endif %}
</li> </li>
{% endfor %} {% endfor %}
@ -100,6 +103,9 @@
{% if mod|hasPermission(config.mod.modlog) %} {% if mod|hasPermission(config.mod.modlog) %}
<li><a href="?/log">{% trans 'Moderation log' %}</a></li> <li><a href="?/log">{% trans 'Moderation log' %}</a></li>
{% endif %} {% 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) %} {% if mod|hasPermission(config.mod.recent) %}
<li><a href="?/recent/25">{% trans 'Recent posts' %}</a></li> <li><a href="?/recent/25">{% trans 'Recent posts' %}</a></li>
{% endif %} {% endif %}