mirror of
https://github.com/vichan-devel/vichan.git
synced 2025-01-19 01:24:05 +01:00
mod dashboard html: link to page editor
This commit is contained in:
parent
505adffcdc
commit
a5bd39dc4a
@ -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 %}
|
||||
|
Loading…
x
Reference in New Issue
Block a user