]> 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:28:03 +0000 (00:28 +0200)
For the benefit of the archive instances.

templates/html/homepage.tmpl

index bebb31f760470911f4141f33e9e53702550b5c5a..90796d7acaf965c9d7e01dadd474088e30e8c16b 100644 (file)
@@ -32,7 +32,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>