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 %}
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 "delegate" %}
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 %}">Delegate</a>
79 <a class="colinactive" href="{% listurl order="delegate" %}">Delegate</a>
84 {% ifequal order.name "state" %}
86 href="{% listurl order=order.reversed_name %}"><img
87 src="/images/16-arrow-{% if order.reversed %}up{% else %}down{%endif%}.png"
88 width="16" height="16"
89 ></a> <a class="colactive"
90 href="{% listurl order=order.reversed_name %}">State</a>
92 <a class="colinactive" href="{% listurl order="state" %}">State</a>
99 {% for patch in page.object_list %}
100 <tr class="{% cycle 'odd' 'even' %}">
101 {% if user.is_authenticated %}
103 <input type="checkbox" name="patch_id:{{patch.id}}"/>
106 <td><a href="{% url patchwork.views.patch.patch patch_id=patch.id %}"
107 >{{ patch.name }}</a></td>
108 <td>{{ patch.date|date:"Y-m-d" }}</td>
109 <td>{{ patch.submitter|personify }}</td>
110 <td>{{ patch.delegate.username }}</td>
111 <td>{{ patch.state }}</td>
116 {% include "patchwork/pagination.html" %}
118 <div class="patchforms" id="patchforms" name="patchforms">
121 <div class="patchform patchform-properties">
125 <th>Change state:</th>
127 {{ patchform.state }}
128 {{ patchform.state.errors }}
132 <th>Delegate to:</td>
134 {{ patchform.delegate }}
135 {{ patchform.delegate.errors }}
141 {{ patchform.archived }}
142 {{ patchform.archived.errors }}
148 <input type="submit" name="action" value="Update"/>
156 {% if user.is_authenticated %}
157 <div class="patchform patchform-bundle">
164 <input type="submit" name="action" value="Ack"/>
170 <td>Create bundle:</td>
172 <input type="text" name="bundle_name"/>
173 <input name="action" value="Create" type="submit"/>
178 <td>Add to bundle:</td>
180 <select name="bundle_id"/>
181 {% for bundle in bundles %}
182 <option value="{{bundle.id}}">{{bundle.name}}</option>
185 <input name="action" value="Add" type="submit"/>
191 <td>Remove from bundle:</td>
193 <input type="hidden" name="removed_bundle_id" value="{{bundle.id}}"/>
194 <input name="action" value="Remove" type="submit"/>
203 <div style="clear: both;">
209 <td colspan="5">No patches to display</td>