]> git.ozlabs.org Git - patchwork/blob - patchwork/templates/patchwork/todo-lists.html
Move to a more recent django project structure
[patchwork] / patchwork / templates / patchwork / todo-lists.html
1 {% extends "base.html" %}
2
3 {% block title %}{{ user }}'s todo lists{% endblock %}
4 {% block heading %}{{ user }}'s todo lists{% endblock %}
5
6 {% block body %}
7
8 {% if todo_lists %}
9 <p>You have multiple todo lists. Each todo list contains patches for a single
10  project.</p>
11 <table class="vertical">
12  <tr>
13   <th>project</th>
14   <th>patches</th>
15  </tr>
16 {% for todo_list in todo_lists %}
17  <tr>
18   <td><a
19    href="{% url 'patchwork.views.user.todo_list' project_id=todo_list.project.linkname %}"
20     >{{ todo_list.project.name }}</a></td>
21   <td class="numberformat">{{ todo_list.n_patches }}</td>
22  </tr>
23 {% endfor %}
24 </table>
25
26 {% else %}
27  No todo lists
28 {% endif %}
29 {% endblock %}