From c3ebf7deae0bb04f1637e9a52e7f9f38d454fec7 Mon Sep 17 00:00:00 2001 From: Dan McGee Date: Sat, 11 Feb 2012 18:53:23 -0600 Subject: Show current version in todolist details view This also reorders the columns to be in the same order as package search for consistency. Addresses FS#28369. Signed-off-by: Dan McGee --- templates/todolists/view.html | 14 ++++++++++---- 1 file changed, 10 insertions(+), 4 deletions(-) diff --git a/templates/todolists/view.html b/templates/todolists/view.html index d45905e..8c9361c 100644 --- a/templates/todolists/view.html +++ b/templates/todolists/view.html @@ -31,9 +31,10 @@ - - + + + @@ -41,9 +42,14 @@ {% for pkg in list.packages %} - + + {% if pkg.pkg.flag_date %} + + {% else %} + + {% endif %}
Name ArchRepoRepositoryNameCurrent Version Maintainers Status
{% pkg_details_link pkg.pkg %} {{ pkg.pkg.arch.name }} {{ pkg.pkg.repo.name|capfirst }}{% pkg_details_link pkg.pkg %}{{ pkg.pkg.full_version }}{{ pkg.pkg.full_version }}{{ pkg.pkg.maintainers|join:', ' }} {% if perms.main.change_todolistpkg %} @@ -71,7 +77,7 @@ $(document).ready(function() { $('a.status-link').click(todolist_flag); $(".results").tablesorter({ widgets: ['zebra'], - sortList: [[0,0], [1,0]], + sortList: [[2,0], [0,0]], headers: { 4: { sorter: 'todostatus' } } }); }); -- cgit v1.2.3-24-g4f1b