X-Git-Url: https://git.deb.at/?a=blobdiff_plain;f=templates%2Fhtml%2Fshow.tmpl;h=f806dc7b8bcced4846a7310403d953ee6be8abc6;hb=f862c13f95547609782da3d9a30ed5c50d8a62d7;hp=8c7fad0ec26639c0ae3edb13a34d2e9298da1111;hpb=c8dfb3a8da10790d7769ee6fdc6ff20d7aadeacb;p=deb%2Fpackages.git
diff --git a/templates/html/show.tmpl b/templates/html/show.tmpl
index 8c7fad0..f806dc7 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|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|bz2|lzma)$') %]
- [% g("%s Patch Tracker", organisation) %]
[% END -%]
[% END -%]