X-Git-Url: https://plomlompom.com/repos/?a=blobdiff_plain;f=templates%2Ftodo.html;h=a711568edf75c6291051cb300325b650ed57cb2e;hb=eb16b47ddcaefaeab2f616419ea746cc32346893;hp=44cdfa7eec24de0db04dd1eaa3984fa3abea41d4;hpb=12be63c6ef58282cb6b7d5b7bc2eabe8946a1bfc;p=plomtask diff --git a/templates/todo.html b/templates/todo.html index 44cdfa7..a711568 100644 --- a/templates/todo.html +++ b/templates/todo.html @@ -1,4 +1,5 @@ -{% extends 'base.html' %} +{% extends '_base.html' %} +{% import '_macros.html' as macros %} @@ -22,66 +23,39 @@
+ +effort +
+ + comment -conditions - - -{% for condition in todo.conditions %} + + + - - + + -{% endfor %} -
calendarize +
- - -{{condition.title.newest|e}} -conditions{{ macros.simple_checkbox_table("condition", todo.conditions, "condition", "condition_candidates") }}
-add: - + + +blockers +{{ macros.simple_checkbox_table("blocker", todo.blockers, "condition", "condition_candidates") }} enables - - -{% for condition in todo.enables %} - - - - -{% endfor %} -
- - -{{condition.title.newest|e}} -
-add: - +{{ macros.simple_checkbox_table("enables", todo.enables, "condition", "condition_candidates") }} disables - - -{% for condition in todo.disables%} - - - - -{% endfor %} -
- - -{{condition.title.newest|e}} -
-add: - +{{ macros.simple_checkbox_table("disables", todo.disables, "condition", "condition_candidates") }} @@ -95,34 +69,13 @@ add: children - - -{% for child in todo.children %} - - - - -{% endfor %} -
{{child.process.title.newest|e}}
-adopt: - +{{ macros.simple_checkbox_table("adopt", todo.children, "adopt", "todo_candidates", "adopt") }} - -
- -
+{{ macros.edit_buttons() }} - -{% for condition_candidate in condition_candidates %} - -{% endfor %} - - -{% for candidate in todo_candidates %} - -{% endfor %} - +{{ macros.datalist_of_titles("condition_candidates", condition_candidates) }} +{{ macros.datalist_of_titles("todo_candidates", todo_candidates) }} {% endblock %}