Merge pull request 'Add the edit_news link to the mod dashboard. Fixes #83' (#87) from news_in_dashboard into config

Reviewed-on: leftypol/leftypol#87
This commit is contained in:
leftypol 2024-01-21 12:20:17 +00:00 committed by Zankaria
commit 264c10cf2a

View File

@ -38,6 +38,7 @@
<li><a href="?/ban-appeals">{% trans 'Ban appeals' %} ({{ appeals }})</a></li>
{% if appeals > 0 %}</strong>{% endif %}
{% endif %}
<li><a href="?/edit_news">{% trans 'News' %}</a></li>
{% if mod|hasPermission(config.mod.manageusers) %}
<li><a href="?/users">{% trans 'Manage users' %}</a></li>
{% elseif mod|hasPermission(config.mod.change_password) %}