diff --git a/templates/web/prod/WorkZone/Element.html.twig b/templates/web/prod/WorkZone/Element.html.twig new file mode 100644 index 0000000000..7d16aa80bb --- /dev/null +++ b/templates/web/prod/WorkZone/Element.html.twig @@ -0,0 +1,43 @@ +{% macro element(wz_scope, container, contained, record, ord, user, session) %} + {% set box_height = 110 %} + {% if user.getPrefs('basket_title_display') == '1' %} + {% set box_height = (box_height + 20) %} + {% endif %} + {% if user.getPrefs('basket_status_display') == '1' %} + {% set box_height = (box_height + 20) %} + {% endif %} + + {% import 'common/thumbnail.html' as thumbnail %} + +
+ {% if user.getPrefs('basket_title_display') == '1' %} +
+ {{record.get_title()}} +
+ {% endif %} + {% if user.getPrefs('basket_status_display') == '1' %} +
+ {{record.get_status_icons|raw}} +
+ {% endif %} +
+ {{record.get_number()}} +
+ {{thumbnail.format(record.get_thumbnail,82,82, '', session, true)}} +
+ + X + + {% if user.getPrefs('basket_caption_display') == '1' %} +
+ {% endif %} +
+
+{% endmacro %} \ No newline at end of file