home · contact · privacy
Improve accounting scripts.
[misc] / todo_templates / do_todos.html
index 129018f257e77ad2e0b4b38056fefe39bfd468c3..fd6feb2ec392aebc199a6bd4da0800f864331a01 100644 (file)
@@ -14,7 +14,7 @@ th.centered { text-align: center; }
 {% include 'tagfilters.html' %}
 <br />
 <input name="hide_done" type="checkbox" {% if hide_done %}checked{% endif %} /> hide done
-<input type="submit" name="filter" value="filter" />
+<input id="filter_button" type="submit" name="filter" value="filter" />
 <p>
 | <a href="do_todos?date={{prev_date}}">prev</a> | {{day.date}} | <a href="do_todos?date={{next_date}}">next</a> | 
 comment: <input name="day_comment" value="{{day.comment|e}}">
@@ -52,7 +52,7 @@ comment: <input name="day_comment" value="{{day.comment|e}}">
 <input name="importance" type="number" step=0.1 size=7 value={{todo.importance}} } >
 </td>
 <td>
-<a href="todo?id={{todo.id_}}&return_to=do_todos">{{todo.path}}{{todo.title}}</a>
+<a href="todo?id={{todo.id_}}&return_to=do_todos">{% if todo.parents|length > 0 %}…:{% endif %}{{todo.title}}</a>
 </td>
 <td>
 <input name="effort_comment" type="text" size=100 value="{{todo.comment|e}}" />
@@ -61,7 +61,7 @@ comment: <input name="day_comment" value="{{day.comment|e}}">
 {% endfor %}
 
 </table>
-<input class="update" type="submit" name="update" value="update">
+<input id="update_button" class="update" type="submit" name="update" value="update">
 </form>
 
 {% include 'watch_form.html' %}