X-Git-Url: https://git.deb.at/w?a=blobdiff_plain;ds=sidebyside;f=templates%2Fhtml%2Fshow.tmpl;h=e86af33a9c5342981f4de2886e785a3c0a9af784;hb=7b9c982f4855eb06a98a8c3a663761a1fea5cc51;hp=e680b1cc8c800546f612400d7c8e478cefbb2d15;hpb=88495a473fb1aef31bfcf623d2f2f9cb722165ad;p=deb%2Fpackages.git
diff --git a/templates/html/show.tmpl b/templates/html/show.tmpl
index e680b1c..e86af33 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('\.(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 -%]