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 user.is_authenticated %}
29 <input type="checkbox" onChange="select_all(this)"/>
34 {% ifequal order.name "name" %}
36 href="{% listurl order=order.reversed_name %}"><img
37 src="/images/16-arrow-{% if order.reversed %}up{% else %}down{%endif%}.png"
38 width="16" height="16"
39 ></a> <a class="colactive"
40 href="{% listurl order=order.reversed_name %}">Patch</a>
42 <a class="colinactive" href="{% listurl order="name" %}">Patch</a>
47 {% ifequal order.name "date" %}
49 href="{% listurl order=order.reversed_name %}"><img
50 src="/images/16-arrow-{% if order.reversed %}up{% else %}down{%endif%}.png"
51 width="16" height="16"
52 ></a> <a class="colactive"
53 href="{% listurl order=order.reversed_name %}">Date</a>
55 <a class="colinactive" href="{% listurl order="date" %}">Date</a>
60 {% ifequal order.name "submitter" %}
62 href="{% listurl order=order.reversed_name %}"><img
63 src="/images/16-arrow-{% if order.reversed %}up{% else %}down{%endif%}.png"
64 width="16" height="16"
65 ></a> <a class="colactive"
66 href="{% listurl order=order.reversed_name %}">Submitter</a>
68 <a class="colinactive" href="{% listurl order="submitter" %}">Submitter</a>
73 {% ifequal order.name "delegate" %}
75 href="{% listurl order=order.reversed_name %}"><img
76 src="/images/16-arrow-{% if order.reversed %}up{% else %}down{%endif%}.png"
77 width="16" height="16"
78 ></a> <a class="colactive"
79 href="{% listurl order=order.reversed_name %}">Delegate</a>
81 <a class="colinactive" href="{% listurl order="delegate" %}">Delegate</a>
86 {% ifequal order.name "state" %}
88 href="{% listurl order=order.reversed_name %}"><img
89 src="/images/16-arrow-{% if order.reversed %}up{% else %}down{%endif%}.png"
90 width="16" height="16"
91 ></a> <a class="colactive"
92 href="{% listurl order=order.reversed_name %}">State</a>
94 <a class="colinactive" href="{% listurl order="state" %}">State</a>
101 {% for patch in page.object_list %}
102 <tr class="{% cycle 'odd' 'even' %}">
103 {% if user.is_authenticated %}
105 <input type="checkbox" name="patch_id:{{patch.id}}"/>
108 <td><a href="{% url patchwork.views.patch.patch patch_id=patch.id %}"
109 >{{ patch.name }}</a></td>
110 <td>{{ patch.date|date:"Y-m-d" }}</td>
111 <td>{{ patch.submitter|personify }}</td>
112 <td>{{ patch.delegate.username }}</td>
113 <td>{{ patch.state }}</td>
118 {% include "patchwork/pagination.html" %}
120 <div class="patchforms" id="patchforms" name="patchforms">
123 <div class="patchform patchform-properties">
127 <th>Change state:</th>
129 {{ patchform.state }}
130 {{ patchform.state.errors }}
134 <th>Delegate to:</td>
136 {{ patchform.delegate }}
137 {{ patchform.delegate.errors }}
143 {{ patchform.archived }}
144 {{ patchform.archived.errors }}
150 <input type="submit" name="action" value="Update"/>
158 {% if user.is_authenticated %}
159 <div class="patchform patchform-bundle">
166 <input type="submit" name="action" value="Ack"/>
172 <td>Create bundle:</td>
174 <input type="text" name="bundle_name"/>
175 <input name="action" value="Create" type="submit"/>
180 <td>Add to bundle:</td>
182 <select name="bundle_id"/>
183 {% for bundle in bundles %}
184 <option value="{{bundle.id}}">{{bundle.name}}</option>
187 <input name="action" value="Add" type="submit"/>
193 <td>Remove from bundle:</td>
195 <input type="hidden" name="removed_bundle_id" value="{{bundle.id}}"/>
196 <input name="action" value="Remove" type="submit"/>
205 <div style="clear: both;">
211 <td colspan="5">No patches to display</td>