{% if not node.seen %}
{% endif %}
{% for condition in conditions_present %}
-
{% if condition in node.todo.conditions and not condition.is_active %}O{% elif condition in node.todo.blockers and condition.is_active %}!{% endif %}
+
+{% if condition in node.todo.conditions and not condition.is_active %}
+O
+{% elif condition in node.todo.blockers and condition.is_active %}
+!
+{% endif %}
+
{% endfor %}
-
->
{% if node.seen %}
-
+
{% if node.todo.effort %}{{ node.todo.effort }}{% endif %}
{% else %}
-
+
{% endif %}
-
-{% for i in range(indent) %} {% endfor %} +
+
+{% for i in range(indent) %} {% endfor %} +
{% if node.seen %}({% endif %}{{node.todo.title_then|e}}{% if node.seen %}){% endif %}
-
->
{% for condition in conditions_present|reverse %}
-
{% if condition in node.todo.enables %}+{% elif condition in node.todo.disables %}!{% endif %}
+
{% if condition in node.todo.enables %} +{% elif condition in node.todo.disables %} !{% endif %}
- +
-{% else %}
+{% if node.todo.has_doneness_in_path %}
+
-{% for i in range(indent) %} {% endfor %} +
-{% endif %}
-{% if node.seen %}({% endif %}{{node.todo.title_then|e}} {% if node.todo.comment|length > 0 %}[{{node.todo.comment|e}}]{% endif %}{% if node.seen %}){% endif %}
+{% for i in range(indent) %} {% endfor %} +
+{% if not node.todo.is_done %}({% endif %}{{node.todo.title_then|e}}{% if not node.todo.is_done %}){% endif %}
+
{{node.todo.comment|e}}
-{% endif %}
{% if not node.seen %}
{% for child in node.children %}
-{{ show_node_done(child, indent+1, path + [node]) }}
+{{ show_node_done(child, indent+1) }}
{% endfor %}
{% endif %}
-
+{% endif %}
{% endmacro %}
@@ -118,18 +138,19 @@ td.todo_line {
prev | next