X-Git-Url: https://git.deb.at/?a=blobdiff_plain;f=templates%2Fhtml%2Fshow.tmpl;h=943ea8bb4f904a7d16f283d6b1653f1de45aab7e;hb=526fc48c52a9c86e47ec91f4024e071e85e5f223;hp=ec71a19cf074c22983515dfd5319d0c4e77b2a5e;hpb=f6f9ce6249b61d2c07b12058152bfc4de92be10b;p=deb%2Fpackages.git
diff --git a/templates/html/show.tmpl b/templates/html/show.tmpl
index ec71a19..943ea8b 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') %]
@@ -92,13 +95,13 @@
[% IF patch_tracking_url && src %]
[% FOREACH src.downloads %]
- [% IF name.match('\.diff\.(gz|bz2|lzma)$') %]
+ [% IF name.match('\.(debian\.tar|diff)\.(gz|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|bz2|lzma)$') %]
- [% g("%s Patch Tracker", organisation) %]
[% END -%]
[% END -%]
@@ -107,7 +110,7 @@
[% IF src %]
-
[% g('Download Source Package %s:', src.url, src.pkg) %]
+
[% g('Download Source Package %s:', src.url, src.pkg) %]
[% FOREACH src.downloads %]
[% '