]> git.deb.at Git - deb/packages.git/blobdiff - templates/html/show.tmpl
html/show.tmpl: Don't show changelog links for other archives
[deb/packages.git] / templates / html / show.tmpl
index 88274f4b81dc7bcc3819fe0eb55244edd86303e2..a9ef33870b80d68ce9a7db15445ea6a33e16d7b9 100644 (file)
@@ -62,7 +62,7 @@
 <li><a href="[% pts_url _ pkg | uri %]">Developer Information (PTS)</a></li>
 [%- END %]
 
-[% IF files %]
+[% IF files && (!archive or archive == main_archive or archive == 'security') %]
 <li><a href="[% changelogs_url _ files.changelog.path %]">Debian Changelog</a></li>
 <li><a href="[% changelogs_url _ files.copyright.path %]">Copyright File</a></li>
 [% END %]