X-Git-Url: https://git.deb.at/w?a=blobdiff_plain;f=templates%2Fhtml%2Fshow.tmpl;h=d81d1e88afaa54e3ff6d410be8a8fe0018f99e1b;hb=57846fbfa25f9a6a4878182037d14dc9c1e5ac36;hp=19f5b7e474bfaee94967d6d6abecd2d03207125e;hpb=426806714669eb8be697d1f2c1b37e5a820e8647;p=deb%2Fpackages.git
diff --git a/templates/html/show.tmpl b/templates/html/show.tmpl
index 19f5b7e..d81d1e8 100644
--- a/templates/html/show.tmpl
+++ b/templates/html/show.tmpl
@@ -56,13 +56,16 @@
[% ELSE %]
[% g('Links for %s', pkg) %]
+[% IF screenshots_url && screenshots_thumb_url && !is_source %]
+
+[% END %]
[% g('%s Resources:', organisation) %]
- [% g('Bug Reports') %]
@@ -86,14 +89,14 @@
[% IF patch_tracking_url && src %]
[% FOREACH src.downloads %]
- [% IF name.match('\.diff\.(gz|bz2|lzma)$') %]
- - [% g("%s Patch Tracking", organisation) %]
+ [% IF name.match('\.(debian\.tar|diff)\.(gz|xz|bz2|lzma)$') %]
+ - [% g("%s Patch Tracker", organisation) %]
[% END -%]
[% END -%]
[% ELSIF patch_tracking_url && is_source %]
[% FOREACH srcfiles %]
- [% IF filename.match('\.diff\.(gz|bz2|lzma)$') %]
- - [% g("%s Patch Tracking", organisation) %]
+ [% IF filename.match('\.(debian\.tar|diff)\.(gz|xz|bz2|lzma)$') %]
+ - [% g("%s Patch Tracker", organisation) %]
[% END -%]
[% END -%]
[% END -%]
@@ -339,7 +342,7 @@
version_class = 'vold';
END %]
[% "$d.version | " IF versions.multiple %]
-[% g('%s kB', num.format_number(d.pkgsize,1)) %] | [% g('%s kB', d.instsize) %] |
+[% g('%s kB', num.format_number(d.pkgsize,1)) %] | [% g('%s kB', num.format_number(d.instsize,1)) %] |
[% IF d.contents_avail %]
[[% g('list of files') %]]
|