diff options
author | Dan McGee <dan@archlinux.org> | 2013-01-27 09:44:38 -0600 |
---|---|---|
committer | Dan McGee <dan@archlinux.org> | 2013-01-27 09:44:38 -0600 |
commit | 44dde6f02f649244d7c1b9dcf03d8ce592bbbbcb (patch) | |
tree | c1998095a819dbe20f2796aa58dbf95601a6555b /templates/todolists | |
parent | 4244ff7a42566949f8ee85e922ed48f4a80407f7 (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>
Diffstat (limited to 'templates/todolists')
-rw-r--r-- | templates/todolists/view.html | 4 |
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() { |