X-Git-Url: https://git.deb.at/?a=blobdiff_plain;ds=inline;f=templates%2Fhtml%2Fsearch.tmpl;h=42ee062001bab83213f1e04c5a5c9888964f2747;hb=8a8494d6306fcf536dfdecbd0cab0e3e83c4112c;hp=452e80b169b9e8a3b0a67342334c34eebe95b7ee;hpb=13565c2add3c1f4c501cf0cba64cac10537e2eac;p=deb%2Fpackages.git diff --git a/templates/html/search.tmpl b/templates/html/search.tmpl index 452e80b..42ee062 100644 --- a/templates/html/search.tmpl +++ b/templates/html/search.tmpl @@ -1,4 +1,5 @@ [%- PROCESS 'config/archive_layout.tmpl' -%] +[%- PROCESS 'config/mirrors.tmpl' -%] [%- keyword_str = search_keywords.join(' '); keyword_esc = uri_escape(keyword_str); keyword_enc = html_encode(keyword_str); @@ -27,6 +28,7 @@ } navigation = [ { name => g('Package Search Results') } ] -%] +[%- PROCESS 'html/util.inc' -%]
[% g('Search in specific suite:') %] +
[% g('Limit to suite:') %] [% FOREACH s IN all_suites %] [% IF s != suite_str %] [[% s %]] @@ -49,7 +51,7 @@ make_search_url('',"keywords=$keyword_esc",'suite','all')) %] [% END %] -
[% g('Limit search to a specific architecture:') %] +
[% g('Limit to a architecture:') %] [% FOREACH a IN all_architectures %] [% IF a != arch_str %] [[% a %]] @@ -66,7 +68,7 @@ [% IF opts.searchon == "names" && non_results %]
[% g('Some results have not been displayed due to the search parameters.', - "$search_url$keyword_esc") %]
+ "$search_url?keywords=$keyword_esc") %] [% END %][% g("Note that this only shows the best matches, sorted by relevance. If the first few packages don't match what you searched for, try using more keywords or alternative keywords.") %]
+[% g("Note that this only shows the best matches, sorted by relevance. If the first few packages don't match what you searched for, try using more keywords or alternative keywords.") %]
++
[%- IF results %]
-[% g("Your keyword was too generic, for optimizing reasons some results might have been supressed.
Please consider using a longer keyword or more keywords.") %]
+[% g("Your keyword was too generic, for optimizing reasons some results might have been suppressed.
Please consider using a longer keyword or more keywords.") %]
[%- ELSE -%]
[% g("Your keyword was too generic.
Please consider using a longer keyword or more keywords.") %]
[% END -%]