4 {% include "patchwork/pagination.html" %}
7 <table class="patchlist">
9 <td class="patchlistfilters">
10 {% include "patchwork/filters.html" %}
15 {% if page.paginator.long_page and user.is_authenticated %}
17 <a title="jump to form" href="#patchforms"><span
18 style="font-size: 120%">▾</span></a>
23 <input type="hidden" name="form" value="patchlistform"/>
24 <input type="hidden" name="project" value="{{project.id}}"/>
25 <table class="patchlist">
27 {% if patchform or bundle %}
32 {% ifequal order.name "name" %}
34 href="{% listurl order=order.reversed_name %}">Patch</a>
36 <a class="colinactive" href="{% listurl order="name" %}">Patch</a>
41 {% ifequal order.name "date" %}
43 href="{% listurl order=order.reversed_name %}">Date</a>
45 <a class="colinactive" href="{% listurl order="date" %}">Date</a>
50 {% ifequal order.name "submitter" %}
52 href="{% listurl order=order.reversed_name %}">Submiter</a>
54 <a class="colinactive" href="{% listurl order="submitter" %}">Submitter</a>
59 {% ifequal order.name "state" %}
61 href="{% listurl order=order.reversed_name %}">State</a>
63 <a class="colinactive" href="{% listurl order="state" %}">State</a>
70 {% for patch in page.object_list %}
72 {% if patchform or bundle %}
74 <input type="checkbox" name="patch_id:{{patch.id}}"/>
77 <td><a href="{% url patchwork.views.patch.patch patch_id=patch.id %}"
78 >{{ patch.name }}</a></td>
79 <td>{{ patch.date|date:"Y-m-d" }}</td>
80 <td>{{ patch.submitter|personify }}</td>
81 <td>{{ patch.state }}</td>
86 {% include "patchwork/pagination.html" %}
88 <div class="patchforms" id="patchforms" name="patchforms">
91 <div class="patchform patchform-properties">
95 <th>Change state:</th>
98 {{ patchform.state.errors }}
102 <th>Delegate to:</td>
104 {{ patchform.delegate }}
105 {{ patchform.delegate.errors }}
111 {{ patchform.archived }}
112 {{ patchform.archived.errors }}
118 <input type="submit" name="action" value="Update"/>
126 {% if user.is_authenticated %}
127 <div class="patchform patchform-bundle">
134 <input type="submit" name="action" value="Ack"/>
140 <td>Create bundle:</td>
142 <input type="text" name="bundle_name"/>
143 <input name="action" value="Create" type="submit"/>
148 <td>Add to bundle:</td>
150 <select name="bundle_id"/>
151 {% for bundle in bundles %}
152 <option value="{{bundle.id}}">{{bundle.name}}</option>
155 <input name="action" value="Add" type="submit"/>
161 <td>Remove from bundle:</td>
163 <input type="hidden" name="removed_bundle_id" value="{{bundle.id}}"/>
164 <input name="action" value="Remove" type="submit"/>
173 <div style="clear: both;">
179 <td colspan="5">No patches to display</td>