From e32efe3b7d7d18a20869ddce071eefdaaa9895ee Mon Sep 17 00:00:00 2001
From: Frank Lichtenheld
Date: Thu, 12 Apr 2007 23:03:01 +0200
Subject: [PATCH] search.tmpl: Fix two bugs
The subsection key was renamed from .subsect to .subsection at one point.
However the template was not updated.
Unset archive and architecture for links to binary packages.
---
templates/html/search.tmpl | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/templates/html/search.tmpl b/templates/html/search.tmpl
index 74171b2..16ca843 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.subsect _ ')' IF s.subsect %]: [% 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 %]
@@ -102,7 +102,7 @@ Please consider using a longer keyword or more keywords.
- [% origin %] ([% subsection %]): [% version %]
[%- IF section %] [[% section %]][% END %]
[%- IF real_archive %] [[% real_archive %]][% END %]
-
Binary packages: [% FOREACH binary IN binaries %][% binary %][% ', ' UNLESS loop.last %][% END %]
+
Binary packages: [% FOREACH binary IN binaries %][% binary %][% ', ' UNLESS loop.last %][% END %]
[% IF binaries.size > 10 %]
[% END %]
--
2.39.2