X-Git-Url: https://git.deb.at/?a=blobdiff_plain;ds=sidebyside;f=templates%2Fhtml%2Fshow.tmpl;h=5d7bec3d221855fdc2c37b79c544c9823279ec9b;hb=0a9d42d1b3d812e265f38bded1b844f94fedb281;hp=37ea4bf1efd2482a9bdd7de3493347b56009a104;hpb=89c17478db69effd1c96f4e284ad46f5b4d72c17;p=deb%2Fpackages.git
diff --git a/templates/html/show.tmpl b/templates/html/show.tmpl
index 37ea4bf..5d7bec3 100644
--- a/templates/html/show.tmpl
+++ b/templates/html/show.tmpl
@@ -56,13 +56,18 @@
[% ELSE %]
[% g('Links for %s', pkg) %]
+[% IF screenshots_url && screenshots_thumb_url && !is_source %]
+
+
+
+[% END %]
[% g('%s Resources:', organisation) %]
- [% g('Bug Reports') %]
@@ -92,13 +97,13 @@
[% IF patch_tracking_url && src %]
[% FOREACH src.downloads %]
- [% IF name.match('\.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('\.diff\.(gz|bz2|lzma)$') %]
+ [% IF filename.match('\.(debian\.tar|diff)\.(gz|xz|bz2|lzma)$') %]
- [% g("%s Patch Tracker", organisation) %]
[% END -%]
[% END -%]
@@ -107,7 +112,7 @@
[% IF src %]
-
[% g('Download Source Package %s:', src.url, src.pkg) %]
+
[% g('Download Source Package %s:', src.url, src.pkg) %]
[% FOREACH src.downloads %]
[% '
' IF loop.first %]
- [[% name %]]
@@ -319,7 +324,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') %]]
|