]> git.deb.at Git - deb/packages.git/commitdiff
homepage.tmpl: Make old_releases link optional
authorFrank Lichtenheld <frank@lichtenheld.de>
Sun, 5 Jul 2009 22:28:03 +0000 (00:28 +0200)
committerFrank Lichtenheld <frank@lichtenheld.de>
Sun, 5 Jul 2009 22:30:24 +0000 (00:30 +0200)
For the benefit of the archive instances.
(cherry picked from commit e57a5c62bd685641e0cf896e09e6d256cc572428,
because committed and pushed in wrong branch)

templates/html/homepage.tmpl

index aa17ea64f8fe26cdcb7f3f526d2ed6f3187a7dcc..0f77b5cac8b74f7e833f013fbae2b10affe24433 100644 (file)
@@ -31,7 +31,9 @@
 
 <p>[% g('There is also a list of <a href="%s/main/newpkg">packages recently added to %s</a>.', all_suites.-1, all_suites.-1) %]</p>
 
+[% IF old_releases %]
 <p>[% g('Old releases can be found at <a href="%s">%s</a>.', old_releases, old_releases) %]</p>
+[% END %]
 
 <h2>[% g('Search') %]</h2>