home · contact · privacy
Improve Process editing template layout.
[plomtask] / templates / todos.html
index 54ac6f568fa25b05d2f833ecc42be49f5a207423..3dd1f3f7a7dad3c510d3b4a8384a3bff95dc3ca1 100644 (file)
@@ -19,15 +19,15 @@ in comment  <input name="comment_pattern" value="{{comment_pattern}}" />
 <tr>
 <th><a href="?sort_by={% if sort_by == "doneness" %}-{% endif %}doneness">done</a></th>
 <th><a href="?sort_by={% if sort_by == "date" %}-{% endif %}date">date</a></th>
-<th><a href="?sort_by={% if sort_by == "process" %}-{% endif %}process">process</a></th>
+<th><a href="?sort_by={% if sort_by == "title" %}-{% endif %}title">title</a></th>
 <th><a href="?sort_by={% if sort_by == "comment" %}-{% endif %}comment">comment</a></th>
 </tr>
 {% for todo in todos %}
 <tr>
 <td>[{% if todo.is_done %}x{% else %} {% endif %}]</td>
-<td><a href="{{todo.date}}">{{todo.date}}</a></td>
-<td><a href="process?id={{todo.process.id_}}">{{todo.process.title.newest}}</a></td>
-<td><a href="{{todo.comment}}">{{todo.comment}}</a></td>
+<td><a href="day?date={{todo.date}}">{{todo.date}}</a></td>
+<td><a href="todo?id={{todo.id_}}">{{todo.title_then}}</a></td>
+<td>{{todo.comment}}</td>
 </tr>
 {% endfor %}
 </table>