From 78bc1557047b7d0aae38e959f233b8c073f0a8b1 Mon Sep 17 00:00:00 2001
From: Frank Lichtenheld
Date: Sat, 9 Jun 2007 23:49:50 +0200
Subject: [PATCH] templates/html/search.tmpl: Add suite as class for search
results
And use this to display "unofficial" suites a bit smaller than the
others. Move the CSS information to a new css file packages-site.css
since this information will probably very site specific.
---
static/packages-site.css | 3 +++
templates/html/head.tmpl | 1 +
templates/html/search.tmpl | 2 +-
3 files changed, 5 insertions(+), 1 deletion(-)
create mode 100644 static/packages-site.css
diff --git a/static/packages-site.css b/static/packages-site.css
new file mode 100644
index 0000000..8d61a6c
--- /dev/null
+++ b/static/packages-site.css
@@ -0,0 +1,3 @@
+.oldstable-volatile, .oldstable-backports, .etch-m68k, .stable-backports {
+ font-size: smaller;
+}
diff --git a/templates/html/head.tmpl b/templates/html/head.tmpl
index 74d8b4a..d224ea3 100644
--- a/templates/html/head.tmpl
+++ b/templates/html/head.tmpl
@@ -11,6 +11,7 @@
+
[% IF rss_alternate %]
[% END %]
diff --git a/templates/html/search.tmpl b/templates/html/search.tmpl
index 16ca843..33a0b42 100644
--- a/templates/html/search.tmpl
+++ b/templates/html/search.tmpl
@@ -81,7 +81,7 @@ Please consider using a longer keyword or more keywords.
Package [% pkg %]
[% FOREACH s IN suites %]
-
[% s.suite %][% ' (' _ s.subsection _ ')' IF s.subsection %]: [% s.desc %] [%- IF s.section != main_section %] [[% s.section %]][% END %]
+
[% s.suite %][% ' (' _ s.subsection _ ')' IF s.subsection %]: [% s.desc %] [%- IF s.section != main_section %] [[% s.section %]][% END %]
[% FOREACH s.versions %]
[% version %] [%- IF archive != main_archive %] [[% archive %]][% END %]: [% architectures.join(' ') %]
[% END %]
--
2.39.2