X-Git-Url: https://git.deb.at/?a=blobdiff_plain;f=templates%2Fhtml%2Fshow.tmpl;h=f806dc7b8bcced4846a7310403d953ee6be8abc6;hb=8838986480d595069c74d962236e6bb5edf8f5f3;hp=8c7fad0ec26639c0ae3edb13a34d2e9298da1111;hpb=66a3f9223a4d8ba393f0f3e4a05a5d46a8b33daf;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 %]
+
![Screenshot]([% screenshots_thumb_url _ pkg %])
+[% 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 -%]