From: Jeroen van Wolffelaar Date: Wed, 22 Feb 2006 02:30:04 +0000 (+0000) Subject: Move list of files to the end of the table, other entries relate more directly X-Git-Tag: switch-to-templates~74 X-Git-Url: https://git.deb.at/?a=commitdiff_plain;h=13d40fe95f9d8b47f370cff835cbcd77f988e5db;p=deb%2Fpackages.git Move list of files to the end of the table, other entries relate more directly to the package itself --- diff --git a/lib/Packages/DoShow.pm b/lib/Packages/DoShow.pm index 6efef58..b375977 100644 --- a/lib/Packages/DoShow.pm +++ b/lib/Packages/DoShow.pm @@ -229,24 +229,24 @@ sub do_show { $package_page .= ""._g("Architecture").""; $package_page .= ""._g("Version")."" if $multiple_versions; - $package_page .= ""._g("Files").""._g( "Package Size").""._g("Installed Size")."\n"; + $package_page .= ""._g( "Package Size").""._g("Installed Size").""._g("Files")."\n"; foreach my $a ( @archs ) { $package_page .= "\n"; $package_page .= "$a\n"; $package_page .= "".$versions->{$a}."" if $multiple_versions; - $package_page .= ""; + $package_page .= ''; + $package_page .= floor(($sizes_deb->{$a}/102.4)+0.5)/10 . " kB"; + $package_page .= ''; + $package_page .= $sizes_inst->{$a} . " kB"; + $package_page .= "\n"; if ( $suite ne "experimental" ) { $package_page .= sprintf( "["._g( "list of files" )."]\n", "$ROOT/$suite/$encodedpkg/$a/filelist", $pkg ); } else { $package_page .= _g( "no current information" ); } - $package_page .= ''; - $package_page .= floor(($sizes_deb->{$a}/102.4)+0.5)/10 . " kB"; - $package_page .= ''; - $package_page .= $sizes_inst->{$a} . " kB"; $package_page .= "\n"; } $package_page .= "\n";