{% for i in range(indent) %}+{%endfor %}
-{% if (not step_node.is_explicit) and step_node.seen %}
+
+{% if step_node.is_explicit and not step_node.seen %}
+
+
+
+{% else %}
+
+{% endif %}
+
+{% for i in range(indent) %}+{%endfor %}
+{% if step_node.is_suppressed %}{% endif %}
+{% if step_node.seen %}
({{step_node.process.title.newest|e}})
{% else %}
{{step_node.process.title.newest|e}}
{% endif %}
+{% if step_node.is_suppressed %}{% endif %}
+
+
+{% if step_node.is_explicit and not step_node.seen %}
+
+
add sub-step:
+
+{% endif %}
+
+{% if (not step_node.is_explicit) and (not step_node.seen) %}
-{% if step_node.is_explicit %}
-add:
-{% endif %}
+ suppress
+{% endif %}
{% if step_node.is_explicit or not step_node.seen %}
-{% for substep_id, substep in step_node.steps.items() %}
-{{ step_with_steps(substep_id, substep, indent+1) }}
+{% for substep in step_node.steps %}
+{{ step_with_steps(substep, indent+1) }}
{% endfor %}
{% endif %}
{% endmacro %}
@@ -36,75 +67,75 @@ add: process
+
+{% if is_new %}
+add NEW process
+{% else %}
+edit process of ID {{process.id_}}
+{% endif %}
+