From fa4f5c15c886be04687764877a9e8f9e296143c1 Mon Sep 17 00:00:00 2001 From: Dan McGee Date: Fri, 10 Sep 2010 18:27:18 -0500 Subject: Restore flagged package count by maintainer in dashboard We need to do a little dropping into SQL to accomplish this, but it isn't all that bad to actually do and we can do the whole thing in one query. Signed-off-by: Dan McGee --- templates/devel/index.html | 14 ++++---------- 1 file changed, 4 insertions(+), 10 deletions(-) (limited to 'templates/devel') diff --git a/templates/devel/index.html b/templates/devel/index.html index eccfbe3d..f285f7f6 100644 --- a/templates/devel/index.html +++ b/templates/devel/index.html @@ -168,7 +168,7 @@

Package Todo Lists

Maintainer - # Base Packages + # Packages # Flagged @@ -178,10 +178,10 @@

Package Todo Lists

{{ maint.get_full_name }} - {{ maint.package_relations.count }} base packages + {{ maint.package_count }} packages - Flagged packages + {{ maint.flagged_count }} packages {% endfor %} @@ -207,15 +207,9 @@

Package Todo Lists

{widgets: ['zebra'], sortList: [[0,0], [1,0]]}); $("#dash-todo:not(:has(tbody tr.empty))").tablesorter( {widgets: ['zebra'], sortList: [[1,1]]}); - $("#stats-by-arch").tablesorter( - {widgets: ['zebra'], sortList: [[0,0]], - headers: { 1: { sorter: 'pkgcount' }, 2: { sorter: 'pkgcount' } } }); - $("#stats-by-repo").tablesorter( + $("#stats-by-arch").add("#stats-by-repo").add("#stats-by-maintainer").tablesorter( {widgets: ['zebra'], sortList: [[0,0]], headers: { 1: { sorter: 'pkgcount' }, 2: { sorter: 'pkgcount' } } }); - $("#stats-by-maintainer").tablesorter( - {widgets: ['zebra'], sortList: [[0,0]], - headers: { 1: { sorter: 'pkgcount' } } }); $("h3.dash-stats").click( function(e) { $(this).next().toggle(); } ); -- cgit v1.2.3-54-g00ecf