Simple file editor replacement for ?/config (optional). Issue #127

This commit is contained in:
Michael Foster 2013-08-01 17:18:10 -04:00
parent 157dcf9fb1
commit 5a44c50811
5 changed files with 74 additions and 11 deletions

View file

@ -94,7 +94,7 @@
{% if mod|hasPermission(config.mod.rebuild) %}
<li><a href="?/rebuild">{% trans 'Rebuild' %}</a></li>
{% endif %}
{% if mod|hasPermission(config.mod.show_config) %}
{% if mod|hasPermission(config.mod.edit_config) %}
<li><a href="?/config">{% trans 'Configuration' %}</a></li>
{% endif %}