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