X-Git-Url: https://git.deb.at/?a=blobdiff_plain;f=templates%2Fhtml%2Fshow.tmpl;h=8b4a6e26389ce9d259a91a4dca22082a3ebbc40c;hb=dac75b8abb280a76e977858d2abe593ed5cf6635;hp=936d3b4ca583e13fc54fe74fdad842d3656addd9;hpb=6c8a0c0cc0bb19056dfe6f47c1ee526ea00c9987;p=deb%2Fpackages.git
diff --git a/templates/html/show.tmpl b/templates/html/show.tmpl
index 936d3b4..8b4a6e2 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') %]
@@ -92,14 +95,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 -%]
@@ -319,7 +322,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') %]]
|