]> git.deb.at Git - deb/packages.git/blobdiff - static/index.tmpl
[UBUNTU] static/index.tmpl: Add version numbers to release names
[deb/packages.git] / static / index.tmpl
index c12bc7a5d50753033ed31f92af0d57ac3d87b33e..3d2a04fb23361a8ce638d52d1b932ed42ec5b606 100644 (file)
@@ -7,6 +7,8 @@
     all_suites = [ 'sarge', 'sarge-volatile', 'sarge-backports',
                   'etch', 'etch-m68k', 'etch-volatile', 'etch-backports',
                   'lenny', 'sid' ]
+    version_numbers = { sarge => '3.1',
+                       etch   => '4.0' }
     current_release = 'etch'
     all_sections = [ 'main', 'contrib', 'non-free' ]
     all_architectures = [ 'alpha', 'arm', 'armel', 'amd64', 'hppa', 'i386',
@@ -25,11 +27,12 @@ if you encounter any problems!</em></p>
 
 <ul style="font-size:large">
 [% FOREACH s IN all_suites %]
-<li><a href="[% s %]/">[% s %]</a></li>
+<li><a href="[% s %]/">[% s %]</a>
+[% IF version_numbers.$s %]([% version_numbers.$s %])[% END %]</li>
 [% END %]
 </ul>
 
-<p>There is also a list of <a href="[% all_suites.-1 %]/newpkg_main">packages
+<p>There is also a list of <a href="[% all_suites.-1 %]/main/newpkg">packages
 recently added to [% all_suites.-1 %]</a>.</p>
 
 <h2>Search</h2>