X-Git-Url: https://plomlompom.com/repos/foo.html?a=blobdiff_plain;f=templates%2Ftodo.html;h=80eb5c7bd356e8b93be5a2a02119f11c1d16fb13;hb=d7b039106e74a250d343ab036fdf90ad1a27eb3f;hp=9be13a80c9be3f9446a91f31222994bbc4642d57;hpb=34741b65438149b4e02f1e2bb4f8fdba5df5a667;p=plomtask diff --git a/templates/todo.html b/templates/todo.html index 9be13a8..80eb5c7 100644 --- a/templates/todo.html +++ b/templates/todo.html @@ -1,79 +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.day.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 %} - -

fulfills

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

undoes

- -{% for condition in todo.undoes%} + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - -{% 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, "todo", "todo_candidates", "adopt", true) }}
-add undoes: -

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 %}