The following commit has been merged in the master branch:
commit d462e5996786286a95286716e3c96bc40a2892a9
Author: Frank Lichtenheld <[email protected]>
Date:   Mon Jul 6 00:28:03 2009 +0200

    homepage.tmpl: Make old_releases link optional
    
    For the benefit of the archive instances.
    (cherry picked from commit e57a5c62bd685641e0cf896e09e6d256cc572428,
    because committed and pushed in wrong branch)

diff --git a/templates/html/homepage.tmpl b/templates/html/homepage.tmpl
index aa17ea6..0f77b5c 100644
--- a/templates/html/homepage.tmpl
+++ b/templates/html/homepage.tmpl
@@ -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>
 

-- 
APT Archive Web-Frontend (Alioth repository)


-- 
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]

Reply via email to