policy_url = 'http://www.debian.org/doc/debian-policy/'
cn_help_url = project_homepage _ 'intro/cn'
patch_tracking_url = 'http://patch-tracker.debian.org/package'
+ screenshots_url = 'http://screenshots.debian.net/package/'
+ screenshots_thumb_url = 'http://screenshots.debian.net/thumbnail/'
logo = {
url => project_homepage,
src => '/Pics/openlogo-nd-25.png',
[% UNLESS is_virtual %]
<div id="pmoreinfo">
<h2>[% g('Links for %s', pkg) %]</h2>
+[% IF screenshots_url && screenshots_thumb_url && !is_source %]
+<a id="screenshot" href="[% screenshots_url _ pkg %]"><img src="[% screenshots_thumb_url _ pkg %]" alt="Screenshot" border="0"/></a>
+[% END %]
<h3>[% g('%s Resources:', organisation) %]</h3>
<ul>
<li><a href="[% (is_source ? src_bugs_url : bugs_url) _ pkg %]">[% g('Bug Reports') %]</a></li>