X-Git-Url: https://git.deb.at/?a=blobdiff_plain;f=templates%2Fhtml%2Fshow.tmpl;h=d81d1e88afaa54e3ff6d410be8a8fe0018f99e1b;hb=697a779bad0766a27b20690a4f0b05c1dc30ea8c;hp=8c7fad0ec26639c0ae3edb13a34d2e9298da1111;hpb=66a3f9223a4d8ba393f0f3e4a05a5d46a8b33daf;p=deb%2Fpackages.git
diff --git a/templates/html/show.tmpl b/templates/html/show.tmpl
index 8c7fad0..d81d1e8 100644
--- a/templates/html/show.tmpl
+++ b/templates/html/show.tmpl
@@ -63,6 +63,9 @@
[% UNLESS is_virtual %]
[% g('Links for %s', pkg) %]
+[% IF screenshots_url && screenshots_thumb_url && !is_source %]
+
+[% END %]
[% g('%s Resources:', organisation) %]
- [% g('Bug Reports') %]
@@ -86,13 +89,13 @@
[% IF patch_tracking_url && src %]
[% FOREACH src.downloads %]
- [% IF name.match('\.(debian|diff)\.(gz|bz2|lzma)$') %]
+ [% 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('\.(debian|diff)\.(gz|bz2|lzma)$') %]
+ [% IF filename.match('\.(debian\.tar|diff)\.(gz|xz|bz2|lzma)$') %]
- [% g("%s Patch Tracker", organisation) %]
[% 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') %]]
|