summaryrefslogtreecommitdiffstats
path: root/templates/patchwork/patch-list.html
diff options
context:
space:
mode:
authorJeremy Kerr <jk@ozlabs.org>2008-08-23 11:31:10 +0800
committerJeremy Kerr <jk@ozlabs.org>2008-08-23 11:31:10 +0800
commit04e51503f690626118e8071cd5f8f7afd9ad4cf1 (patch)
tree15ebb92b00bef93cdf8df1827e3ebe171de49606 /templates/patchwork/patch-list.html
parentf950fb5ceb3ff2756f3d54c09c7abb9956723fc3 (diff)
downloadpatchwork-04e51503f690626118e8071cd5f8f7afd9ad4cf1.tar.bz2
patchwork-04e51503f690626118e8071cd5f8f7afd9ad4cf1.tar.xz
Use up/down arrows as sorting indicator
.. rather than a red heading, which implies an error. Signed-off-by: Jeremy Kerr <jk@ozlabs.org>
Diffstat (limited to 'templates/patchwork/patch-list.html')
-rw-r--r--templates/patchwork/patch-list.html18
1 files changed, 17 insertions, 1 deletions
diff --git a/templates/patchwork/patch-list.html b/templates/patchwork/patch-list.html
index a0a8cec..57491e2 100644
--- a/templates/patchwork/patch-list.html
+++ b/templates/patchwork/patch-list.html
@@ -31,6 +31,10 @@
<th>
{% ifequal order.name "name" %}
<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 %}">Patch</a>
{% else %}
<a class="colinactive" href="{% listurl order="name" %}">Patch</a>
@@ -40,6 +44,10 @@
<th>
{% ifequal order.name "date" %}
<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 %}">Date</a>
{% else %}
<a class="colinactive" href="{% listurl order="date" %}">Date</a>
@@ -49,7 +57,11 @@
<th>
{% ifequal order.name "submitter" %}
<a class="colactive"
- href="{% listurl order=order.reversed_name %}">Submiter</a>
+ 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 %}">Submitter</a>
{% else %}
<a class="colinactive" href="{% listurl order="submitter" %}">Submitter</a>
{% endifequal %}
@@ -58,6 +70,10 @@
<th>
{% ifequal order.name "state" %}
<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 %}">State</a>
{% else %}
<a class="colinactive" href="{% listurl order="state" %}">State</a>