home · contact · privacy
Improve todo accounting.
[misc] / todo_templates / tasks.html
index cd5ef0ff7c7a69247ae415b3d9cf24bdfe64af81..80f5a603efbd123a7d13e0954569bb61f0bbcbb5 100644 (file)
@@ -1,13 +1,6 @@
 {% extends 'base.html' %}
 
-{% block css %}
-table.alternating tr:nth-child(even) {
-    background-color: #cccccc;
-}
-table.alternating tr:nth-child(odd) {
-    background-color: #ffffff;
-}
-{% endblock %}
+
 
 {% block content %}
 <h3>review tasks</h3>
@@ -24,6 +17,7 @@ match: <input name="search" value="{{search|e}}" />
 {{ macros.sort_head(sort, "default_effort", "effort") }}
 {{ macros.sort_head(sort, "weight", "weight") }}
 {{ macros.sort_head(sort, "title", "task") }}
+{{ macros.sort_head(sort, "latest_effort_date", "last todo") }}
 <th>tags</th>
 </tr>
 {% for t in tasks %}
@@ -33,10 +27,11 @@ match: <input name="search" value="{{search|e}}" />
 {{ '{:5.1f}'.format(t.default_effort.now) }}
 </td>
 <td class="number">
-{{ '{:5.1f}'.format(t.subtask_weight) }}
+{{ '{:5.1f}'.format(t.deps_weight) }}
 </td>
 <td>
 <a href="task?id={{ t.id_ }}" />{{ t.title.now|e }}</a></td>
+<td>{{ t.latest_effort_date }}</td>
 <td>{% for tag in t.tags.now | sort %}<a href="tasks?and_tag={{tag|e}}">{{ tag }}</a> {% endfor %}</td>
 </tr>
 {% endif %}