4 {% include "patchwork/pagination.html" %}
7 <table class="patchlist">
9 <td class="patchlistfilters">
10 {% include "patchwork/filters.html" %}
12 {% if order.editable %}
13 <td class="patchlistreorder">
14 <form method="post" id="reorderform">
15 <input type="hidden" name="form" value="reorderform"/>
16 <input type="hidden" name="order_start" value="0"/>
17 <span id="reorderhelp"></span>
18 <input id="reorder-cancel" type="button" value="Cancel"
19 onClick="order_cancel_click(this)"/>
20 <input id="reorder-change" type="button" value="Change order"
21 onClick="order_button_click(this)"/>
28 {% if page.paginator.long_page and user.is_authenticated %}
30 <a title="jump to form" href="#patchforms"><span
31 style="font-size: 120%">▾</span></a>
36 <input type="hidden" name="form" value="patchlistform"/>
37 <input type="hidden" name="project" value="{{project.id}}"/>
38 <table class="patchlist" id="patchlist">
41 {% if user.is_authenticated %}
43 <input type="checkbox" onChange="select_all(this)"/>
48 {% ifequal order.name "name" %}
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 %}">Patch</a>
56 {% if not order.editable %}
57 <a class="colinactive" href="{% listurl order="name" %}">Patch</a>
59 <span class="colinactive">Patch</span>
65 {% ifequal order.name "date" %}
67 href="{% listurl order=order.reversed_name %}"><img
68 src="/images/16-arrow-{% if order.reversed %}up{% else %}down{%endif%}.png"
69 width="16" height="16"
70 ></a> <a class="colactive"
71 href="{% listurl order=order.reversed_name %}">Date</a>
73 {% if not order.editable %}
74 <a class="colinactive" href="{% listurl order="date" %}">Date</a>
76 <span class="colinactive">Date</span>
82 {% ifequal order.name "submitter" %}
84 href="{% listurl order=order.reversed_name %}"><img
85 src="/images/16-arrow-{% if order.reversed %}up{% else %}down{%endif%}.png"
86 width="16" height="16"
87 ></a> <a class="colactive"
88 href="{% listurl order=order.reversed_name %}">Submitter</a>
90 {% if not order.editable %}
91 <a class="colinactive" href="{% listurl order="submitter" %}">Submitter</a>
93 <span class="colinactive">Submitter</span>
99 {% ifequal order.name "delegate" %}
101 href="{% listurl order=order.reversed_name %}"><img
102 src="/images/16-arrow-{% if order.reversed %}up{% else %}down{%endif%}.png"
103 width="16" height="16"
104 ></a> <a class="colactive"
105 href="{% listurl order=order.reversed_name %}">Delegate</a>
107 {% if not order.editable %}
108 <a class="colinactive" href="{% listurl order="delegate" %}">Delegate</a>
110 <span class="colinactive">Delegate</span>
116 {% ifequal order.name "state" %}
118 href="{% listurl order=order.reversed_name %}"><img
119 src="/images/16-arrow-{% if order.reversed %}up{% else %}down{%endif%}.png"
120 width="16" height="16"
121 ></a> <a class="colactive"
122 href="{% listurl order=order.reversed_name %}">State</a>
124 {% if not order.editable %}
125 <a class="colinactive" href="{% listurl order="state" %}">State</a>
127 <span class="colinactive">State</span>
137 {% for patch in page.object_list %}
138 <tr id="patch_row:{{patch.id}}" class="{% cycle 'odd' 'even' %}">
139 {% if user.is_authenticated %}
141 <input type="checkbox" name="patch_id:{{patch.id}}"/>
144 <td><a href="{% url patchwork.views.patch.patch patch_id=patch.id %}"
145 >{{ patch.name|default:"[no subject]" }}</a></td>
146 <td>{{ patch.date|date:"Y-m-d" }}</td>
147 <td>{{ patch.submitter|personify }}</td>
148 <td>{{ patch.delegate.username }}</td>
149 <td>{{ patch.state }}</td>
155 {% include "patchwork/pagination.html" %}
157 <div class="patchforms" id="patchforms" name="patchforms">
160 <div class="patchform patchform-properties">
164 <th>Change state:</th>
166 {{ patchform.state }}
167 {{ patchform.state.errors }}
171 <th>Delegate to:</td>
173 {{ patchform.delegate }}
174 {{ patchform.delegate.errors }}
180 {{ patchform.archived }}
181 {{ patchform.archived.errors }}
187 <input type="submit" name="action" value="Update"/>
195 {% if user.is_authenticated %}
196 <div class="patchform patchform-bundle">
203 <input type="submit" name="action" value="Ack"/>
209 <td>Create bundle:</td>
211 <input type="text" name="bundle_name"/>
212 <input name="action" value="Create" type="submit"/>
217 <td>Add to bundle:</td>
219 <select name="bundle_id"/>
220 {% for bundle in bundles %}
221 <option value="{{bundle.id}}">{{bundle.name}}</option>
224 <input name="action" value="Add" type="submit"/>
230 <td>Remove from bundle:</td>
232 <input type="hidden" name="removed_bundle_id" value="{{bundle.id}}"/>
233 <input name="action" value="Remove" type="submit"/>
242 <div style="clear: both;">
248 <td colspan="5">No patches to display</td>