summaryrefslogtreecommitdiffstats
path: root/patchwork/templates/patchwork/todo-lists.html
blob: e268160bb5360b887aa0f52588b78f0db013f19e (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 "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 %}