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;ds=sidebyside;f=templates%2Ftodo.html;h=870eab35dd91449e367d15f4ca3c4bc1d95ae806;hb=2f4c681e1c4d78eacc1daa5f297f06038b45912e;hp=44cdfa7eec24de0db04dd1eaa3984fa3abea41d4;hpb=12be63c6ef58282cb6b7d5b7bc2eabe8946a1bfc;p=plomtask diff --git a/templates/todo.html b/templates/todo.html index 44cdfa7..870eab3 100644 --- a/templates/todo.html +++ b/templates/todo.html @@ -1,9 +1,10 @@ -{% extends 'base.html' %} +{% extends '_base.html' %} +{% import '_macros.html' as macros %} {% block content %} -

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

+

Todo: {{todo.title_then|e}}

@@ -22,107 +23,65 @@ + + + + + - - + + + + - + - + - +

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") }}
parents {% for parent in todo.parents %} -{{parent.process.title.newest|e}}
+{{parent.title_then|e}}
{% endfor %}
children - -{% for child in todo.children %} - - - - -{% endfor %} -
{{child.process.title.newest|e}}
-adopt: -
{{ macros.simple_checkbox_table("adopt", todo.children, "todo", "todo_candidates", "adopt", true) }}
+make:
- -
- -
+{{ macros.edit_buttons() }}
- -{% for condition_candidate in condition_candidates %} - -{% endfor %} - +{{ macros.datalist_of_titles("condition_candidates", condition_candidates) }} +{{ macros.datalist_of_titles("process_candidates", process_candidates) }} {% for candidate in todo_candidates %} - + {% endfor %} {% endblock %}