aboutsummaryrefslogtreecommitdiff
path: root/templates
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
parentf950fb5ceb3ff2756f3d54c09c7abb9956723fc3 (diff)
downloadpatchwork-04e51503f690626118e8071cd5f8f7afd9ad4cf1.tar
patchwork-04e51503f690626118e8071cd5f8f7afd9ad4cf1.tar.gz
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')
-rw-r--r--templates/patchwork/help/about.html2
-rw-r--r--templates/patchwork/patch-list.html18
2 files changed, 19 insertions, 1 deletions
diff --git a/templates/patchwork/help/about.html b/templates/patchwork/help/about.html
index fa5094f..4cae691 100644
--- a/templates/patchwork/help/about.html
+++ b/templates/patchwork/help/about.html
@@ -15,5 +15,7 @@ web framework.</p>
href="http://code.google.com/p/django-registration/">django-registration</a>
application.</a>
+<p>Icons from the <a href="http://sweetie.sublink.ca/">Sweetie</a> icon set.</a>
+
{% endblock %}
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>