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 ebbba77..8fc9143 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>]