From: Frank Lichtenheld
Date: Sat, 9 Jun 2007 21:49:50 +0000 (+0200)
Subject: templates/html/search.tmpl: Add suite as class for search results
X-Git-Url: https://git.deb.at/w?a=commitdiff_plain;h=78bc1557047b7d0aae38e959f233b8c073f0a8b1;p=deb%2Fpackages.git
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.
---
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 %]