summaryrefslogtreecommitdiffstats
path: root/templates/patchwork/todo-lists.html
blob: 8eb10cc7867477545ec07d7fb64178aa5f8d8d64 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
{% extends "patchwork/base.html" %}

{% block title %}{{ user }}'s todo lists{% endblock %}
{% block heading %}{{ user }}'s todo lists{% endblock %}

{% block body %}

{% if todo_lists %}
<p>You have multiple todo lists. Each todo list contains patches for a single
 project.</p>
<table class="vertical">
 <tr>
  <th>project</th>
  <th>patches</th>
 </tr>
{% for todo_list in todo_lists %}
 <tr>
  <td><a
   href="{% url patchwork.views.user.todo_list project_id=todo_list.project.linkname %}"
    >{{ todo_list.project.name }}</a></td>
  <td class="numberformat">{{ todo_list.n_patches }}</td>
 </tr>
{% endfor %}
</table>

{% else %}
 No todo lists
{% endif %}
{% endblock %}