r9066 - in /scripts/qa: qareport.cgi templates/by_category

dmn at users.alioth.debian.org dmn at users.alioth.debian.org
Thu Nov 8 22:00:50 UTC 2007


Author: dmn
Date: Thu Nov  8 22:00:50 2007
New Revision: 9066

URL: http://svn.debian.org/wsvn/?sc=1&rev=9066
Log:
Add number of shown packages and number of all packages in repository

Modified:
    scripts/qa/qareport.cgi
    scripts/qa/templates/by_category

Modified: scripts/qa/qareport.cgi
URL: http://svn.debian.org/wsvn/scripts/qa/qareport.cgi?rev=9066&op=diff
==============================================================================
--- scripts/qa/qareport.cgi (original)
+++ scripts/qa/qareport.cgi Thu Nov  8 22:00:50 2007
@@ -185,6 +185,8 @@
                 with_bugs   => \@with_bugs,
             )
         ),
+        shown_packages   => scalar(@all),
+        total_packages  => scalar(@pkglist),
     },
 ) || die $tt->error;
 

Modified: scripts/qa/templates/by_category
URL: http://svn.debian.org/wsvn/scripts/qa/templates/by_category?rev=9066&op=diff
==============================================================================
--- scripts/qa/templates/by_category (original)
+++ scripts/qa/templates/by_category Thu Nov  8 22:00:50 2007
@@ -211,6 +211,9 @@
     [% INCLUDE section data=data list=with_bugs name="with_bugs" title="With bugs" %]
     [% INCLUDE section data=data list=all name='' title='' %]
 </table>
+
+<h2>$shown_packages/$total_packages</h2>
+
 <p>
     <a href="http://validator.w3.org/check?uri=referer"><img
         style="border:0;width:88px;height:31px"




More information about the Pkg-perl-cvs-commits mailing list