home · contact · privacy
Add Todo. and Process.calendarize to identify what Todos to show in calendar.
[plomtask] / templates / day.html
index da5e17ae91d239e4d95a3893c5f34d31837b3ebd..ac0a64a704cce415cfdc4977597b9de21b2c5dc4 100644 (file)
@@ -41,6 +41,7 @@ td.todo_line {
 
 <td class="todo_line">-&gt;</td>
 <td class="todo_line"><input name="done" type="checkbox" value="{{node.todo.id_}}" {% if node.todo.is_done %}checked disabled{% endif %} {% if not node.todo.is_doable %}disabled{% endif %}/></td>
+<td class="todo_line"><input name="effort" type="number" step=0.1 size=5 placeholder={{node.todo.process.effort.newest }} value={{node.todo.effort}} /></td>
 <td class="todo_line">
 {% for i in range(indent) %}&nbsp; {% endfor %} +
 {% if node.seen %}({% endif %}<a href="todo?id={{node.todo.id_}}">{{node.todo.process.title.newest|e}}</a>{% if node.seen %}){% endif %}
@@ -146,7 +147,7 @@ add todo: <input name="new_todo" list="processes" autocomplete="off" />
 {% endfor %}
 {% set list_name = "todos_for_%s"|format(condition.id_) %}
 <td><input name="new_todo" list="{{list_name}}" autocomplete="off" /></td>
-{{ macros.datalist_of_direct_titles(list_name, enablers_for[condition.id_]) }}
+{{ macros.datalist_of_titles(list_name, enablers_for[condition.id_]) }}
 </td>
 </tr>
 {% endfor %}
@@ -177,5 +178,5 @@ add todo: <input name="new_todo" list="processes" autocomplete="off" />
 
 </form>
 
-{{ macros.datalist_of_direct_titles("processes", processes) }}
+{{ macros.datalist_of_titles("processes", processes) }}
 {% endblock %}