diff --git a/templates/web/prod/WorkZone/Macros.html.twig b/templates/web/prod/WorkZone/Macros.html.twig index 33a231dc53..d428aa3ecf 100644 --- a/templates/web/prod/WorkZone/Macros.html.twig +++ b/templates/web/prod/WorkZone/Macros.html.twig @@ -7,10 +7,7 @@
{% set content = WorkZone.getContent(srt) %} - {% for basket in content.get(constant('\\Alchemy\\Phrasea\\Helper\\WorkZone::VALIDATIONS')) %} - -
{% trans 'action::exporter' %}
- + {% if app['authentication'].getUser().ACL().has_right('modifyrecord') %} + + {% endif %}
Lightbox @@ -75,17 +74,10 @@
-
- -
- +
{% endfor %} - - {% for basket in content.get(constant('\\Alchemy\\Phrasea\\Helper\\WorkZone::BASKETS')) %} - -
- -
- +
{% endfor %} {% for story in content.get(constant('\\Alchemy\\Phrasea\\Helper\\WorkZone::STORIES')) %} - -
{% trans 'action::exporter' %}
+ {% if app['authentication'].getUser().ACL().has_right('modifyrecord') %} - + {% endif %} -
- -
- - - - +
{% endfor %} - {% endmacro %}