]> git.deb.at Git - deb/packages.git/commitdiff
Format installed size like package size
authorSimon Paillard <spaillard@debian.org>
Tue, 9 Aug 2011 13:43:16 +0000 (15:43 +0200)
committerSimon Paillard <spaillard@debian.org>
Tue, 9 Aug 2011 13:43:16 +0000 (15:43 +0200)
Reported by Uwe Kleine-König

templates/html/show.tmpl

index ebbba777fb86e0d39bd39ab8bfd7a5f471d2447a..8fc9143544a924066c7cb38dff5d0a80287353b9 100644 (file)
        version_class = 'vold';
    END %]
 [% "<td class='$version_class'>$d.version</td>" IF versions.multiple %]
-<td class="size">[% g('%s&nbsp;kB', num.format_number(d.pkgsize,1)) %]</td><td class="size">[% g('%s&nbsp;kB', d.instsize) %]</td>
+<td class="size">[% g('%s&nbsp;kB', num.format_number(d.pkgsize,1)) %]</td><td class="size">[% g('%s&nbsp;kB', num.format_number(d.instsize,1)) %]</td>
 <td>
 [% IF d.contents_avail %]
   [<a href="[% make_url(filelist_url,'','arch',d.arch) %]">[% g('list of files') %]</a>]