home · contact · privacy
From Process template remove now unneeded safeguard against endless step trees.
[plomtask] / templates / process.html
index 55eeb52589fae2c97d1585b64624cb36eefab456..0a15cc4052a8d61bf1b2d624a90cfbfc7d86a9e8 100644 (file)
 <a href="process?id={{step_node.process.id_}}">{{step_node.process.title.newest|e}}</a>
 </td>
 <td>
+{% if step_node.is_explicit %}
 add step: <input name="new_step_to_{{step_id}}" list="candidates" autocomplete="off" />
+{% endif %}
 </td>
 </tr>
-{% if indent < 5 %}
 {% for substep_id, substep in step_node.steps.items() %}
 {{ process_with_steps(substep_id, substep, indent+1) }}
 {% endfor %}
-{% endif %}
 {% endmacro %}
 
 {% block content %}