X-Git-Url: https://plomlompom.com/repos/%7B%7B%20web_path%20%7D%7D/decks/%7B%7Bdeck_id%7D%7D/cards/%7B%7Bcard_id%7D%7D/form?a=blobdiff_plain;f=templates%2Ftodo.html;h=41d894bb0ef6b5f47a58e04323c4902b404f7d1a;hb=5383b5cf1520a1cb66b4966dd4ee449a99f5e465;hp=9debffc0ad96db9d661dde5fcd343e3554d1aba5;hpb=010ef4bfea17be7436a937f28e7b54d3da17a1e1;p=plomtask diff --git a/templates/todo.html b/templates/todo.html index 9debffc..41d894b 100644 --- a/templates/todo.html +++ b/templates/todo.html @@ -1,80 +1,81 @@ -{% extends 'base.html' %} +{% extends '_base.html' %} +{% import '_macros.html' as macros %} + + {% block content %} -

Todo: {{todo.process.title.newest|e}}

+

Todo: {{todo.title_then|e}}

-

-id: {{todo.id_}}
-day: {{todo.date}}
-process: {{todo.process.title.newest|e}}
-done:
-

-

conditions

-{% for condition in todo.conditions %} + - - + + -{% endfor %} -
- - -{{condition.title.newest|e}} -day{{todo.date}}
-add condition: - -{% for condition_candidate in condition_candidates %} - -{% endfor %} - -

enables

- -{% for condition in todo.enables %} + - - + + -{% endfor %} -
- - -{{condition.title.newest|e}} -process{{todo.process.title.newest|e}}
-add enables: -

disables

- -{% for condition in todo.disables%} + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - -{% endfor %} + + + + + +
done
effort
comment
calendarize +
conditions{{ macros.simple_checkbox_table("condition", todo.conditions, "condition", "condition_candidates", historical=true) }}
blockers{{ macros.simple_checkbox_table("blocker", todo.blockers, "condition", "condition_candidates", historical=true) }}
enables{{ macros.simple_checkbox_table("enables", todo.enables, "condition", "condition_candidates", historical=true) }}
disables{{ macros.simple_checkbox_table("disables", todo.disables, "condition", "condition_candidates", historical=true) }}
parents - - -{{condition.title.newest|e}} +{% for parent in todo.parents %} +{{parent.title_then|e}}
+{% endfor %}
children{{ macros.simple_checkbox_table("adopt", todo.children, "adopt", "todo_candidates", "adopt", true) }}
-add disables: -

parents

- -

children

- -adopt: - -{% for candidate in todo_candidates %} - -{% endfor %} - - -
+ +{{ macros.datalist_of_titles("condition_candidates", condition_candidates) }} +{{ macros.datalist_of_titles("todo_candidates", todo_candidates) }} {% endblock %}