home
·
contact
·
privacy
projects
/
plomtask
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Minor template fixes.
[plomtask]
/
templates
/
todo.html
diff --git
a/templates/todo.html
b/templates/todo.html
index a711568edf75c6291051cb300325b650ed57cb2e..80eb5c7bd356e8b93be5a2a02119f11c1d16fb13 100644
(file)
--- a/
templates/todo.html
+++ b/
templates/todo.html
@@
-4,7
+4,7
@@
{% block content %}
{% block content %}
-<h3>Todo: {{todo.
process.title.newest
|e}}</h3>
+<h3>Todo: {{todo.
title_then
|e}}</h3>
<form action="todo?id={{todo.id_}}" method="POST">
<table>
<form action="todo?id={{todo.id_}}" method="POST">
<table>
@@
-25,7
+25,7
@@
<tr>
<th>effort</th>
<tr>
<th>effort</th>
-<td><input type="number" name="effort" step=0.1 size=5 placeholder={{todo.
process.effort.newest }} value={{ todo.effort
}} /><br /></td>
+<td><input type="number" name="effort" step=0.1 size=5 placeholder={{todo.
effort_then}} value={{todo.effort
}} /><br /></td>
</tr>
<tr>
</tr>
<tr>
@@
-40,36
+40,36
@@
<tr>
<th>conditions</th>
<tr>
<th>conditions</th>
-<td>{{ macros.simple_checkbox_table("condition", todo.conditions, "condition", "condition_candidates") }}</td>
+<td>{{ macros.simple_checkbox_table("condition", todo.conditions, "condition", "condition_candidates"
, historical=true
) }}</td>
</tr>
<tr>
<th>blockers</th>
</tr>
<tr>
<th>blockers</th>
-<td>{{ macros.simple_checkbox_table("blocker", todo.blockers, "condition", "condition_candidates") }}</td>
+<td>{{ macros.simple_checkbox_table("blocker", todo.blockers, "condition", "condition_candidates"
, historical=true
) }}</td>
</tr>
<tr>
<th>enables</th>
</tr>
<tr>
<th>enables</th>
-<td>{{ macros.simple_checkbox_table("enables", todo.enables, "condition", "condition_candidates") }}</td>
+<td>{{ macros.simple_checkbox_table("enables", todo.enables, "condition", "condition_candidates"
, historical=true
) }}</td>
</tr>
<tr>
<th>disables</th>
</tr>
<tr>
<th>disables</th>
-<td>{{ macros.simple_checkbox_table("disables", todo.disables, "condition", "condition_candidates") }}</td>
+<td>{{ macros.simple_checkbox_table("disables", todo.disables, "condition", "condition_candidates"
, historical=true
) }}</td>
</tr>
<tr>
<th>parents</th>
<td>
{% for parent in todo.parents %}
</tr>
<tr>
<th>parents</th>
<td>
{% for parent in todo.parents %}
-<a href="todo?id={{parent.id_}}">{{parent.
process.title.newest
|e}}</a><br />
+<a href="todo?id={{parent.id_}}">{{parent.
title_then
|e}}</a><br />
{% endfor %}
</td>
</tr>
<tr>
<th>children</th>
{% endfor %}
</td>
</tr>
<tr>
<th>children</th>
-<td>{{ macros.simple_checkbox_table("adopt", todo.children, "
adopt", "todo_candidates", "adopt"
) }}</td>
+<td>{{ macros.simple_checkbox_table("adopt", todo.children, "
todo", "todo_candidates", "adopt", true
) }}</td>
</tr>
</table>
</tr>
</table>