]> git.deb.at Git - deb/packages.git/blobdiff - templates/html/show.tmpl
Use versioned screenshots on binary package pages
[deb/packages.git] / templates / html / show.tmpl
index e86af33a9c5342981f4de2886e785a3c0a9af784..ebbba777fb86e0d39bd39ab8bfd7a5f471d2447a 100644 (file)
@@ -64,7 +64,7 @@
 <div id="pmoreinfo">
 <h2>[% g('Links for %s', pkg) %]</h2>
 [% IF screenshots_url && screenshots_thumb_url && !is_source %]
 <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>
+<a id="screenshot" href="[% screenshots_url _ pkg %]"><img src="[% "$screenshots_thumb_url/$pkg/$version" %]" alt="Screenshot" border="0"/></a>
 [% END %]
 <h3>[% g('%s Resources:', organisation) %]</h3>
 <ul>
 [% END %]
 <h3>[% g('%s Resources:', organisation) %]</h3>
 <ul>