enable upload only for prod module

This commit is contained in:
Nicolas Le Goff
2012-06-04 15:43:53 +02:00
parent 971e08ec93
commit b17ba25efa

View File

@@ -76,6 +76,7 @@
</li>
{# MODULE #}
{% if module == "prod" %}
{% if user.ACL.has_access_to_module('upload') %}
<li>
<a href="/prod/upload/" class="dialog full-dialog" title="{% trans 'Upload' %}">
@@ -85,6 +86,7 @@
</a>
</li>
{% endif %}
{% endif %}
{# MODULE #}
{% if module == "prod" or module == "client" %}