X-Git-Url: https://plomlompom.com/repos/feed.xml?a=blobdiff_plain;f=templates%2Ftodo.html;h=05e5b62c8aebfd0224ca3655b40e5dae906e3984;hb=83c31bdf2a1b2cd1f3beadee482feb91c64759f9;hp=1fa2922c7c7912b67b1d77a42db6d816b9534ccc;hpb=5195f3f36960b76d1b6530ef1822d0806db221d8;p=plomtask diff --git a/templates/todo.html b/templates/todo.html index 1fa2922..05e5b62 100644 --- a/templates/todo.html +++ b/templates/todo.html @@ -1,79 +1,75 @@ -{% 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 %} - -

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") }}
blockers{{ macros.simple_checkbox_table("blocker", todo.blockers, "condition", "condition_candidates") }}
enables{{ macros.simple_checkbox_table("enables", todo.enables, "condition", "condition_candidates") }}
disables{{ macros.simple_checkbox_table("disables", todo.disables, "condition", "condition_candidates") }}
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) }}
+make:
-add undoes: -

parents

- -

children

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