From bcc05fc543346b37a15865091fa5e81daf66ea8f Mon Sep 17 00:00:00 2001 From: Harrys Ravalomanana Date: Tue, 21 Jan 2020 18:10:28 +0400 Subject: [PATCH] PHRAS-2875 Port of PHRAS-2864 --- package.json | 2 +- templates/web/prod/WorkZone/Macros.html.twig | 48 ++++++++++++++++---- templates/web/prod/WorkZone/Story.html.twig | 2 +- yarn.lock | 8 ++-- 4 files changed, 45 insertions(+), 15 deletions(-) diff --git a/package.json b/package.json index 49776832c6..d5cfe5cddf 100644 --- a/package.json +++ b/package.json @@ -65,7 +65,7 @@ "normalize-css": "^2.1.0", "npm": "^6.0.0", "npm-modernizr": "^2.8.3", - "phraseanet-production-client": "0.34.104-d", + "phraseanet-production-client": "0.34.105-d", "requirejs": "^2.3.5", "tinymce": "^4.0.28", "underscore": "^1.8.3", diff --git a/templates/web/prod/WorkZone/Macros.html.twig b/templates/web/prod/WorkZone/Macros.html.twig index ecf23c1466..b3298373c3 100644 --- a/templates/web/prod/WorkZone/Macros.html.twig +++ b/templates/web/prod/WorkZone/Macros.html.twig @@ -5,8 +5,37 @@
+
+ {{ 'See' | trans }} : + + + + + + + + + + + + +
+
{% set content = WorkZone.getContent(srt) %} +
{% for basket in content.get(constant('\\Alchemy\\Phrasea\\Helper\\WorkZone::VALIDATIONS')) %}
{% endfor %} - +
+ +
{% for story in content.get(constant('\\Alchemy\\Phrasea\\Helper\\WorkZone::STORIES')) %}