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" id="patchlist">
28 {% if user.is_authenticated %}
30 <input type="checkbox" onChange="select_all(this)"/>
35 {% ifequal order.name "name" %}
37 href="{% listurl order=order.reversed_name %}"><img
38 src="/images/16-arrow-{% if order.reversed %}up{% else %}down{%endif%}.png"
39 width="16" height="16"
40 ></a> <a class="colactive"
41 href="{% listurl order=order.reversed_name %}">Patch</a>
43 <a class="colinactive" href="{% listurl order="name" %}">Patch</a>
48 {% ifequal order.name "date" %}
50 href="{% listurl order=order.reversed_name %}"><img
51 src="/images/16-arrow-{% if order.reversed %}up{% else %}down{%endif%}.png"
52 width="16" height="16"
53 ></a> <a class="colactive"
54 href="{% listurl order=order.reversed_name %}">Date</a>
56 <a class="colinactive" href="{% listurl order="date" %}">Date</a>
61 {% ifequal order.name "submitter" %}
63 href="{% listurl order=order.reversed_name %}"><img
64 src="/images/16-arrow-{% if order.reversed %}up{% else %}down{%endif%}.png"
65 width="16" height="16"
66 ></a> <a class="colactive"
67 href="{% listurl order=order.reversed_name %}">Submitter</a>
69 <a class="colinactive" href="{% listurl order="submitter" %}">Submitter</a>
74 {% ifequal order.name "delegate" %}
76 href="{% listurl order=order.reversed_name %}"><img
77 src="/images/16-arrow-{% if order.reversed %}up{% else %}down{%endif%}.png"
78 width="16" height="16"
79 ></a> <a class="colactive"
80 href="{% listurl order=order.reversed_name %}">Delegate</a>
82 <a class="colinactive" href="{% listurl order="delegate" %}">Delegate</a>
87 {% ifequal order.name "state" %}
89 href="{% listurl order=order.reversed_name %}"><img
90 src="/images/16-arrow-{% if order.reversed %}up{% else %}down{%endif%}.png"
91 width="16" height="16"
92 ></a> <a class="colactive"
93 href="{% listurl order=order.reversed_name %}">State</a>
95 <a class="colinactive" href="{% listurl order="state" %}">State</a>
104 {% for patch in page.object_list %}
105 <tr id="patch_row:{{patch.id}}" class="{% cycle 'odd' 'even' %}">
106 {% if user.is_authenticated %}
108 <input type="checkbox" name="patch_id:{{patch.id}}"/>
111 <td><a href="{% url patchwork.views.patch.patch patch_id=patch.id %}"
112 >{{ patch.name }}</a></td>
113 <td>{{ patch.date|date:"Y-m-d" }}</td>
114 <td>{{ patch.submitter|personify }}</td>
115 <td>{{ patch.delegate.username }}</td>
116 <td>{{ patch.state }}</td>
122 {% include "patchwork/pagination.html" %}
124 <div class="patchforms" id="patchforms" name="patchforms">
127 <div class="patchform patchform-properties">
131 <th>Change state:</th>
133 {{ patchform.state }}
134 {{ patchform.state.errors }}
138 <th>Delegate to:</td>
140 {{ patchform.delegate }}
141 {{ patchform.delegate.errors }}
147 {{ patchform.archived }}
148 {{ patchform.archived.errors }}
154 <input type="submit" name="action" value="Update"/>
162 {% if user.is_authenticated %}
163 <div class="patchform patchform-bundle">
170 <input type="submit" name="action" value="Ack"/>
176 <td>Create bundle:</td>
178 <input type="text" name="bundle_name"/>
179 <input name="action" value="Create" type="submit"/>
184 <td>Add to bundle:</td>
186 <select name="bundle_id"/>
187 {% for bundle in bundles %}
188 <option value="{{bundle.id}}">{{bundle.name}}</option>
191 <input name="action" value="Add" type="submit"/>
197 <td>Remove from bundle:</td>
199 <input type="hidden" name="removed_bundle_id" value="{{bundle.id}}"/>
200 <input name="action" value="Remove" type="submit"/>
209 <div style="clear: both;">
215 <td colspan="5">No patches to display</td>