]> 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 0ef593e7bafd9bc51598bbe2d90ee15d9b4bb78f..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 %]
 <p>Homepage: <a href="[% url | uri %]">[% url | html %]</a></p>
 [% END %]
 
+[% FOREACH sim IN similar %]
+       [% IF loop.first %]
+       <h3>Similar packages:</h3>
+       <ul>
+       [% END %]
+       <li><a href="/[% sim %]">[% sim %]</a></li>
+       [% '</ul>' IF loop.last %]
+[% END %]
+
 </div> <!-- end pmoreinfo -->
 [% END %]
 
@@ -315,3 +324,4 @@ Do not install it on a normal Debian system.</p>
 
 <script type="text/javascript">init_tab_list("ptablist")</script>
 
+[%- PROCESS 'html/foot.tmpl' -%]