From 483a82c4f05b456c7c9c84db77419409bdb2e207 Mon Sep 17 00:00:00 2001
From: Frank Lichtenheld
Date: Wed, 6 Feb 2008 17:55:36 +0100
Subject: [PATCH] [UBUNTU] static/index.tmpl: Add version numbers to release
names
Merged from CVS
(cherry-picked from df06c83004cc5dc74e969a8b2f99beb67d7849ac
and adapted to Debian)
---
static/index.tmpl | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/static/index.tmpl b/static/index.tmpl
index 9c05b5d..3d2a04f 100644
--- a/static/index.tmpl
+++ b/static/index.tmpl
@@ -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,7 +27,8 @@ if you encounter any problems!
[% FOREACH s IN all_suites %]
-- [% s %]
+- [% s %]
+[% IF version_numbers.$s %]([% version_numbers.$s %])[% END %]
[% END %]
--
2.39.2