home · contact · privacy
Improve todo accounting.
[misc] / todo_templates / day_todos.html
index 8cf87fbd8c9d00c44d53eda35a89cb521331003e..f2312eefe0a266338dc9d2d6243251795bcb54c6 100644 (file)
@@ -85,7 +85,7 @@ depends on:
 
 {% macro draw_undone_todo_row(todo, title_drawer, indent_or_doneness) %}
 <tr {% if todo.deps_done == false %}class="deps_undone"{% endif %}>
-{% if todo.already_listed %}
+{% if todo.been_observed %}
 <td class="checkbox"><input type="checkbox" disabled /></td>
 <td class="number left"><input type="number" value="{{todo.day_effort}}" size=7 disabled /></td>
 <td class="number"><input type="number" value="{{todo.importance}}" size=7 disabled /></td>
@@ -165,7 +165,7 @@ comment: <input name="day_comment" value="{{day.comment|e}}">
 <h3>undone</h3>
 <p>
 task quick-add: <input name="choose_task" size=50 list="tasks" autocomplete="off">
-don't adopt, make new: <input type="checkbox" name="dont_adopt" />
+{{ macros.parenthood_selector(parenthood) }}
 </p>
 {{ macros.datalist_tasks(all_tasks, with_weight=true) }}
 
@@ -219,6 +219,8 @@ don't adopt, make new: <input type="checkbox" name="dont_adopt" />
 
 {% include 'watch_form.html' %}
 <script>
+inputs_to_ignore += ['parenthood'];
+
 var effort_inputs = document.getElementsByClassName("effort_input");
 for (let i = 0; i < effort_inputs.length; i++) {
     let input = effort_inputs[i];