summaryrefslogtreecommitdiffstats
path: root/templates/patchwork
diff options
context:
space:
mode:
authorJeremy Kerr <jk@ozlabs.org>2008-09-01 13:56:09 +1000
committerJeremy Kerr <jk@ozlabs.org>2008-09-01 13:56:09 +1000
commitf6113ee4e29241c03560ba0854a885c67ea1903a (patch)
treef1c27d740bcc1b60f569f52641e6d52fd82a6071 /templates/patchwork
parente5b3f8f1778a7fb744feb755c9e374ea95542f01 (diff)
downloadpatchwork-f6113ee4e29241c03560ba0854a885c67ea1903a.tar.bz2
patchwork-f6113ee4e29241c03560ba0854a885c67ea1903a.tar.xz
Add delegate column
Signed-off-by: Jeremy Kerr <jk@ozlabs.org>
Diffstat (limited to 'templates/patchwork')
-rw-r--r--templates/patchwork/patch-list.html14
1 files changed, 14 insertions, 0 deletions
diff --git a/templates/patchwork/patch-list.html b/templates/patchwork/patch-list.html
index 57491e2..14a0f0c 100644
--- a/templates/patchwork/patch-list.html
+++ b/templates/patchwork/patch-list.html
@@ -68,6 +68,19 @@
</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"
href="{% listurl order=order.reversed_name %}"><img
@@ -94,6 +107,7 @@
>{{ 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 %}