summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDan McGee <dan@archlinux.org>2013-01-27 09:44:38 -0600
committerDan McGee <dan@archlinux.org>2013-01-27 09:44:38 -0600
commit44dde6f02f649244d7c1b9dcf03d8ce592bbbbcb (patch)
treec1998095a819dbe20f2796aa58dbf95601a6555b
parent4244ff7a42566949f8ee85e922ed48f4a80407f7 (diff)
Fix todolist maintainer sorting
And also fix up a place where we dereferenced a variable in a template that doesn't exist. Signed-off-by: Dan McGee <dan@archlinux.org>
-rw-r--r--templates/todolists/view.html4
1 files changed, 2 insertions, 2 deletions
diff --git a/templates/todolists/view.html b/templates/todolists/view.html
index e544fa12..934e3ae8 100644
--- a/templates/todolists/view.html
+++ b/templates/todolists/view.html
@@ -80,7 +80,7 @@
<td>{{ pkg.pkg.full_version }}</td>
{% endif %}
{% with staging=pkg.staging %}
- <td>{% pkg_details_link staging staging.full_version %}</td>
+ <td>{% if staging %}{% pkg_details_link staging staging.full_version %}{% endif %}</td>
{% endwith %}
<td>{{ pkg.maintainers|join:', ' }}</td>
<td>
@@ -103,7 +103,7 @@ $(document).ready(function() {
$(".results").tablesorter({
widgets: ['zebra'],
sortList: [[2,0], [0,0]],
- headers: { 5: { sorter: 'todostatus' } }
+ headers: { 6: { sorter: 'todostatus' } }
});
});
$(document).ready(function() {