From e3267460f5a73aba7118b0b90918981fd12099d1 Mon Sep 17 00:00:00 2001 From: Frank Lichtenheld Date: Wed, 12 Sep 2007 02:12:56 +0200 Subject: [PATCH] Templates: Also display the suite's alias name in selected places --- templates/config/archive_layout.tmpl | 7 +++++++ templates/html/search.tmpl | 6 ++++-- templates/html/show.tmpl | 4 +++- 3 files changed, 14 insertions(+), 3 deletions(-) diff --git a/templates/config/archive_layout.tmpl b/templates/config/archive_layout.tmpl index 1eacb16..6e501c7 100644 --- a/templates/config/archive_layout.tmpl +++ b/templates/config/archive_layout.tmpl @@ -2,4 +2,11 @@ main_section = 'main' main_archive = 'us' standard_priority = 'optional' + + suite_aliases = { + sarge => 'oldstable', + etch => 'stable', + lenny => 'testing', + sid => 'unstable', + } %] diff --git a/templates/html/search.tmpl b/templates/html/search.tmpl index 0bc23e6..faf582c 100644 --- a/templates/html/search.tmpl +++ b/templates/html/search.tmpl @@ -85,8 +85,10 @@ Please consider using a longer keyword or more keywords.

[% FOREACH packages %]

Package [% pkg %]