]> git.ozlabs.org Git - patchwork/blob - templates/patchwork/patchlist.html
templates: close table cell in project maintainer list
[patchwork] / templates / patchwork / patchlist.html
1
2 {% load person %}
3
4 {% if patches %}
5 <form method="post">
6 <table class="patchlist">
7  <tr>
8   {% if patchform %}
9   <th/>
10   {% endif %}
11   <th><a class="colinactive" href="list?person=846&order=patch">Patch</a></th>
12   <th><a class="colinactive" href="list?person=846&order=date">Date</a></th>
13   <th><a class="colinactive" href="list?person=846&order=submitter">Submitter</a></th>
14   <th><a class="colinactive" href="list?person=846&order=state">State</a></th>
15  </tr>
16  {% for patch in patches %}
17   <tr>
18     {% if patchform %}
19     <td>
20     <input type="hidden" name="patch_ids" value="{{ patch.id }}"/>
21     <input type="checkbox" name="patch-{{patch.id}}">
22     </td>
23     {% endif %}
24    <td><a href="{% url patchwork.views.patch.patch patch_id=patch.id %}">{{ patch.name }}</a></td>
25    <td>{{ patch.date|date:"Y-m-d" }}</td>
26    <td>{{ patch.submitter|personify }}</td>
27    <td>{{ patch.state }}</td>
28   </tr>
29  {% endfor %}
30 </table>
31
32 {% include "patchwork/patch-form.html" %}
33
34 {% else %}
35  <p>No patches to display</p>
36 {% endif %}