6 {% include "patchwork/pagination.html" %}
9 <table class="patchlist">
11 <td class="patchlistfilters">
12 {% include "patchwork/filters.html" %}
14 {% if order.editable %}
15 <td class="patchlistreorder">
16 <form method="post" id="reorderform">
18 <input type="hidden" name="form" value="reorderform"/>
19 <input type="hidden" name="order_start" value="0"/>
20 <span id="reorderhelp"></span>
21 <input id="reorder-cancel" type="button" value="Cancel"
22 onClick="order_cancel_click(this)"/>
23 <input id="reorder-change" type="button" value="Change order"
24 onClick="order_button_click(this)"/>
31 {% if page.paginator.long_page and user.is_authenticated %}
33 <a title="jump to form" href="#patchforms"><span
34 style="font-size: 120%">▾</span></a>
40 <input type="hidden" name="form" value="patchlistform"/>
41 <input type="hidden" name="project" value="{{project.id}}"/>
42 <table class="patchlist" id="patchlist">
45 {% if user.is_authenticated %}
47 <input type="checkbox" onChange="select_all(this)"/>
52 {% ifequal order.name "name" %}
54 href="{% listurl order=order.reversed_name %}"><img
55 {% if order.reversed %}
56 src="{% static "images/16-arrow-up.png" %}"
58 src="{% static "images/16-arrow-down.png" %}"
60 width="16" height="16"
61 ></a> <a class="colactive"
62 href="{% listurl order=order.reversed_name %}">Patch</a>
64 {% if not order.editable %}
65 <a class="colinactive" href="{% listurl order="name" %}">Patch</a>
67 <span class="colinactive">Patch</span>
74 title="{% for tag in project.tags %}{{tag.name}}{% if not forloop.last %} / {% endif %}{% endfor %}"
75 >{% for tag in project.tags %}{{tag.abbrev}}{% if not forloop.last %}/{% endif %}{% endfor %}</span>
79 {% ifequal order.name "date" %}
81 href="{% listurl order=order.reversed_name %}"><img
82 {% if order.reversed %}
83 src="{% static "images/16-arrow-up.png" %}"
85 src="{% static "images/16-arrow-down.png" %}"
87 width="16" height="16"
88 ></a> <a class="colactive"
89 href="{% listurl order=order.reversed_name %}">Date</a>
91 {% if not order.editable %}
92 <a class="colinactive" href="{% listurl order="date" %}">Date</a>
94 <span class="colinactive">Date</span>
100 {% ifequal order.name "submitter" %}
102 href="{% listurl order=order.reversed_name %}"><img
103 {% if order.reversed %}
104 src="{% static "images/16-arrow-up.png" %}"
106 src="{% static "images/16-arrow-down.png" %}"
108 width="16" height="16"
109 ></a> <a class="colactive"
110 href="{% listurl order=order.reversed_name %}">Submitter</a>
112 {% if not order.editable %}
113 <a class="colinactive" href="{% listurl order="submitter" %}">Submitter</a>
115 <span class="colinactive">Submitter</span>
121 {% ifequal order.name "delegate" %}
123 href="{% listurl order=order.reversed_name %}"><img
124 {% if order.reversed %}
125 src="{% static "images/16-arrow-up.png" %}"
127 src="{% static "images/16-arrow-down.png" %}"
129 width="16" height="16"
130 ></a> <a class="colactive"
131 href="{% listurl order=order.reversed_name %}">Delegate</a>
133 {% if not order.editable %}
134 <a class="colinactive" href="{% listurl order="delegate" %}">Delegate</a>
136 <span class="colinactive">Delegate</span>
142 {% ifequal order.name "state" %}
144 href="{% listurl order=order.reversed_name %}"><img
145 {% if order.reversed %}
146 src="{% static "images/16-arrow-up.png" %}"
148 src="{% static "images/16-arrow-down.png" %}"
150 width="16" height="16"
151 ></a> <a class="colactive"
152 href="{% listurl order=order.reversed_name %}">State</a>
154 {% if not order.editable %}
155 <a class="colinactive" href="{% listurl order="state" %}">State</a>
157 <span class="colinactive">State</span>
165 {% if page.paginator.count %}
167 {% for patch in page.object_list %}
168 <tr id="patch_row:{{patch.id}}" class="{% cycle 'odd' 'even' %}">
169 {% if user.is_authenticated %}
171 <input type="checkbox" name="patch_id:{{patch.id}}"/>
174 <td><a href="{% url 'patchwork.views.patch.patch' patch_id=patch.id %}"
175 >{{ patch.name|default:"[no subject]" }}</a></td>
176 <td style="white-space: nowrap;">{{ patch|patch_tags }}</td>
177 <td>{{ patch.date|date:"Y-m-d" }}</td>
178 <td>{{ patch.submitter|personify:project }}</td>
179 <td>{{ patch.delegate.username }}</td>
180 <td>{{ patch.state }}</td>
186 {% include "patchwork/pagination.html" %}
188 <div class="patchforms" id="patchforms" name="patchforms">
191 <div class="patchform patchform-properties">
195 <th>Change state:</th>
197 {{ patchform.state }}
198 {{ patchform.state.errors }}
202 <th>Delegate to:</td>
204 {{ patchform.delegate }}
205 {{ patchform.delegate.errors }}
211 {{ patchform.archived }}
212 {{ patchform.archived.errors }}
218 <input type="submit" name="action" value="{{patchform.action}}"/>
226 {% if user.is_authenticated %}
227 <div class="patchform patchform-bundle">
231 <td>Create bundle:</td>
233 <input type="text" name="bundle_name"/>
234 <input name="action" value="Create" type="submit"/>
239 <td>Add to bundle:</td>
241 <select name="bundle_id"/>
242 {% for bundle in bundles %}
243 <option value="{{bundle.id}}">{{bundle.name}}</option>
246 <input name="action" value="Add" type="submit"/>
252 <td>Remove from bundle:</td>
254 <input type="hidden" name="removed_bundle_id" value="{{bundle.id}}"/>
255 <input name="action" value="Remove" type="submit"/>
264 <div style="clear: both;">
270 <td colspan="6">No patches to display</td>