diff --git a/src/Twig/AppExtension.php b/src/Twig/AppExtension.php new file mode 100644 index 0000000..88face7 --- /dev/null +++ b/src/Twig/AppExtension.php @@ -0,0 +1,21 @@ + {% endif %} -{% if workflow_metadata(task, 'locking', task.status) %} +{% if task.status == 'doing' %}
@@ -94,6 +94,41 @@ {% endif %} +{% if task.status == 'done' and task.changesetsResult is not empty %} +
+
+
+ {% set changesets = task.changesetsResult|json_decode %} + {% for changeset in changesets %} + {% set collapseId = 'collapse' ~ loop.index %} +
+

+ +

+
+
+

Voir sur OSM ou OSMCha

+
+ + {% for key, value in changeset %} + + + + + {% endfor %} + +
{{ key }}{{ value }}
+
+
+ + {% endfor %} + + + +{% endif %} +

Carte