summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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() {