X-Git-Url: https://git.deb.at/w?a=blobdiff_plain;f=templates%2Fhtml%2Fsearch.tmpl;h=ede09eaa90c2dcb97bcbc27c7d46743774e1ae07;hb=6c8a0c0cc0bb19056dfe6f47c1ee526ea00c9987;hp=3cd004c94910f66c9fe5f8ee7bba6dff107b4862;hpb=50961b4eb963cdd14a4362fa8bab7335d5f504ca;p=deb%2Fpackages.git
diff --git a/templates/html/search.tmpl b/templates/html/search.tmpl
index 3cd004c..ede09ea 100644
--- a/templates/html/search.tmpl
+++ b/templates/html/search.tmpl
@@ -118,13 +118,13 @@
[% g('Package %s', pkg) %]
[% FOREACH s IN suites;
- suite = s.suite %]
+ suite = s.suite ; section = s.section %]
- [% suite %]
[%- ' (' _ suite_aliases.$suite _ ')' IF suite_aliases.$suite %][% ' (' _ s.subsection _ ')' IF s.subsection %]:
[% PROCESS desc_i18n trans_desc=s.trans_desc desc=s.desc %]
- [%- PROCESS marker text=s.section IF s.section && s.section != main_section %]
+ [%- PROCESS marker text=section title=section_titles.$section IF section && section != main_section %]
[% FOREACH s.versions %]
-
[% version %] [%- IF archive != main_archive %] [[% archive %]][% END %]: [% architectures.join(' ') %]
+
[% version %] [%- IF archive != main_archive %] [[% archive %]][% END %]: [% architectures.join(' ') %]
[% END %]
[% IF s.providers %]
[% IF s.versions.size > 0; g('also provided by:'); ELSE; g('provided by:'); END %]
@@ -142,7 +142,7 @@
[% origin = (archive == main_archive) ? suite : "$suite/$archive";
js_id = string2id("$pkg$suite$archive") %]
- [% origin %] ([% subsection %]): [% version %]
- [%- PROCESS marker text=section IF section %] [%- PROCESS marker text=real_archive IF real_archive %]
+ [%- PROCESS marker text=section title=section_titles.$section IF section %] [%- PROCESS marker text=real_archive title=mirrors.$real_archive.title IF real_archive %]
[% g('Binary packages:') %] [% FOREACH binary IN binaries.sort %][% binary %][% ', ' UNLESS loop.last %][% END %]
[% IF binaries.size > 10 %]