X-Git-Url: https://plomlompom.com/repos/%7B%7B%20web_path%20%7D%7D/decks/%7B%7Bdeck_id%7D%7D/cards/%7B%7B%20card_id%20%7D%7D/delete?a=blobdiff_plain;f=templates%2Fday.html;h=da5e17ae91d239e4d95a3893c5f34d31837b3ebd;hb=2ca0045683f74254fd0e248c2567fa2efa358c08;hp=f13eb5c309750d01a7f366c2a85255ccb44d4bd9;hpb=bdb37bdbfdc46a64631c0fb97d0d86540076165e;p=plomtask
diff --git a/templates/day.html b/templates/day.html
index f13eb5c..da5e17a 100644
--- a/templates/day.html
+++ b/templates/day.html
@@ -1,4 +1,5 @@
-{% extends 'base.html' %}
+{% extends '_base.html' %}
+{% import '_macros.html' as macros %}
@@ -32,13 +33,14 @@ td.todo_line {
{% macro show_node_undone(node, indent) %}
{% if not node.todo.is_done %}
+
{% for condition in conditions_present %}
{% if condition in node.todo.conditions %}{% if not condition.is_active %}O{% endif %}{% endif %} |
{% endfor %}
-> |
- |
+ |
{% for i in range(indent) %} {% endfor %} +
{% if node.seen %}({% endif %}{{node.todo.process.title.newest|e}}{% if node.seen %}){% endif %}
@@ -49,7 +51,7 @@ td.todo_line {
| {% if condition in node.todo.enables %}+{% elif condition in node.todo.disables %}!{% endif %} |
{% endfor %}
- |
+ |
{% endif %}
@@ -70,7 +72,7 @@ td.todo_line {
{% if path|length > 0 and not path[-1].todo.is_done %}
-({% for path_node in path %}{{path_node.todo.process.title.newest|e}} <- {% endfor %})
+({% for path_node in path %}{{path_node.todo.process.title.newest|e}} <- {% endfor %})
|
@@ -81,7 +83,7 @@ td.todo_line {
{% for i in range(indent) %} {% endfor %} +
{% endif %}
-{% if node.seen %}({% endif %}{{node.todo.process.title.newest|e}}{% if node.seen %}){% endif %}
+{% if node.seen %}({% endif %}{{node.todo.process.title.newest|e}} {% if node.todo.comment|length > 0 %}[{{node.todo.comment|e}}]{% endif %}{% if node.seen %}){% endif %}
|
@@ -102,14 +104,9 @@ td.todo_line {
prev | next
-{% endblock %}
+{{ macros.datalist_of_direct_titles("processes", processes) }}
+{% endblock %}