X-Git-Url: https://plomlompom.com/repos/?a=blobdiff_plain;f=templates%2Fday.html;h=6954fd3a85974e44b1db0801968c9313d60fdaea;hb=eb16b47ddcaefaeab2f616419ea746cc32346893;hp=da5e17ae91d239e4d95a3893c5f34d31837b3ebd;hpb=2ca0045683f74254fd0e248c2567fa2efa358c08;p=plomtask
diff --git a/templates/day.html b/templates/day.html
index da5e17a..6954fd3 100644
--- a/templates/day.html
+++ b/templates/day.html
@@ -33,14 +33,22 @@ td.todo_line {
{% macro show_node_undone(node, indent) %}
{% if not node.todo.is_done %}
+{% if not node.seen %}
+{% endif %}
{% for condition in conditions_present %}
-{% if condition in node.todo.conditions %}{% if not condition.is_active %}O{% endif %}{% 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 %} +
{% if node.seen %}({% endif %}{{node.todo.process.title.newest|e}}{% if node.seen %}){% endif %}
@@ -51,7 +59,13 @@ td.todo_line {
| {% if condition in node.todo.enables %}+{% elif condition in node.todo.disables %}!{% endif %} |
{% endfor %}
- |
+
+{% if node.seen %}
+{{node.todo.comment|e}}
+{% else %}
+
+{% endif %}
+ |
{% endif %}
@@ -114,9 +128,10 @@ add todo:
c |
-states |
+states |
t |
add enabler |
+add disabler |
{% for condition in conditions_present %}
@@ -135,7 +150,7 @@ add todo:
{% endfor %}
[{% if condition.is_active %}X{% else %} {% endif %}] |
-{{condition.title.newest|e}} |
+{{condition.title.newest|e}} |
{% for _ in conditions_present %}
{% if outer_loop.index0 + loop.index0 < conditions_present|length %}
@@ -146,7 +161,11 @@ add todo:
{% endfor %}
{% set list_name = "todos_for_%s"|format(condition.id_) %}
|
-{{ macros.datalist_of_direct_titles(list_name, enablers_for[condition.id_]) }}
+{{ macros.datalist_of_titles(list_name, enablers_for[condition.id_]) }}
+
+{% set list_name = "todos_against_%s"|format(condition.id_) %}
+ |
+{{ macros.datalist_of_titles(list_name, disablers_for[condition.id_]) }}
{% endfor %}
@@ -155,7 +174,7 @@ add todo:
{% for condition in conditions_present %}
|
{% endfor %}
-doables |
+doables |
{% for condition in conditions_present %}
|
{% endfor %}
@@ -177,5 +196,5 @@ add todo:
-{{ macros.datalist_of_direct_titles("processes", processes) }}
+{{ macros.datalist_of_titles("processes", processes) }}
{% endblock %}