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 %}"><img
35 src="/images/16-arrow-{% if order.reversed %}up{% else %}down{%endif%}.png"
36 width="16" height="16"
37 ></a> <a class="colactive"
38 href="{% listurl order=order.reversed_name %}">Patch</a>
40 <a class="colinactive" href="{% listurl order="name" %}">Patch</a>
45 {% ifequal order.name "date" %}
47 href="{% listurl order=order.reversed_name %}"><img
48 src="/images/16-arrow-{% if order.reversed %}up{% else %}down{%endif%}.png"
49 width="16" height="16"
50 ></a> <a class="colactive"
51 href="{% listurl order=order.reversed_name %}">Date</a>
53 <a class="colinactive" href="{% listurl order="date" %}">Date</a>
58 {% ifequal order.name "submitter" %}
60 href="{% listurl order=order.reversed_name %}"><img
61 src="/images/16-arrow-{% if order.reversed %}up{% else %}down{%endif%}.png"
62 width="16" height="16"
63 ></a> <a class="colactive"
64 href="{% listurl order=order.reversed_name %}">Submitter</a>
66 <a class="colinactive" href="{% listurl order="submitter" %}">Submitter</a>
71 {% ifequal order.name "state" %}
73 href="{% listurl order=order.reversed_name %}"><img
74 src="/images/16-arrow-{% if order.reversed %}up{% else %}down{%endif%}.png"
75 width="16" height="16"
76 ></a> <a class="colactive"
77 href="{% listurl order=order.reversed_name %}">State</a>
79 <a class="colinactive" href="{% listurl order="state" %}">State</a>
86 {% for patch in page.object_list %}
87 <tr class="{% cycle 'odd' 'even' %}">
88 {% if patchform or bundle %}
90 <input type="checkbox" name="patch_id:{{patch.id}}"/>
93 <td><a href="{% url patchwork.views.patch.patch patch_id=patch.id %}"
94 >{{ patch.name }}</a></td>
95 <td>{{ patch.date|date:"Y-m-d" }}</td>
96 <td>{{ patch.submitter|personify }}</td>
97 <td>{{ patch.state }}</td>
102 {% include "patchwork/pagination.html" %}
104 <div class="patchforms" id="patchforms" name="patchforms">
107 <div class="patchform patchform-properties">
111 <th>Change state:</th>
113 {{ patchform.state }}
114 {{ patchform.state.errors }}
118 <th>Delegate to:</td>
120 {{ patchform.delegate }}
121 {{ patchform.delegate.errors }}
127 {{ patchform.archived }}
128 {{ patchform.archived.errors }}
134 <input type="submit" name="action" value="Update"/>
142 {% if user.is_authenticated %}
143 <div class="patchform patchform-bundle">
150 <input type="submit" name="action" value="Ack"/>
156 <td>Create bundle:</td>
158 <input type="text" name="bundle_name"/>
159 <input name="action" value="Create" type="submit"/>
164 <td>Add to bundle:</td>
166 <select name="bundle_id"/>
167 {% for bundle in bundles %}
168 <option value="{{bundle.id}}">{{bundle.name}}</option>
171 <input name="action" value="Add" type="submit"/>
177 <td>Remove from bundle:</td>
179 <input type="hidden" name="removed_bundle_id" value="{{bundle.id}}"/>
180 <input name="action" value="Remove" type="submit"/>
189 <div style="clear: both;">
195 <td colspan="5">No patches to display</td>