<input type="hidden" name="project" value="{{project.id}}"/>
<table class="patchlist">
<tr>
- {% if patchform or bundle %}
+ {% if user.is_authenticated %}
<th/>
{% endif %}
{% endifequal %}
</th>
+ <th>
+ {% ifequal order.name "delegate" %}
+ <a class="colactive"
+ href="{% listurl order=order.reversed_name %}"><img
+ src="/images/16-arrow-{% if order.reversed %}up{% else %}down{%endif%}.png"
+ width="16" height="16"
+ ></a> <a class="colactive"
+ href="{% listurl order=order.reversed_name %}">Delegate</a>
+ {% else %}
+ <a class="colinactive" href="{% listurl order="delegate" %}">Delegate</a>
+ {% endifequal %}
+ </th>
+
<th>
{% ifequal order.name "state" %}
<a class="colactive"
{% if page %}
{% for patch in page.object_list %}
<tr class="{% cycle 'odd' 'even' %}">
- {% if patchform or bundle %}
+ {% if user.is_authenticated %}
<td>
<input type="checkbox" name="patch_id:{{patch.id}}"/>
</td>
>{{ patch.name }}</a></td>
<td>{{ patch.date|date:"Y-m-d" }}</td>
<td>{{ patch.submitter|personify }}</td>
+ <td>{{ patch.delegate.username }}</td>
<td>{{ patch.state }}</td>
</tr>
{% endfor %}