X-Git-Url: https://git.deb.at/?a=blobdiff_plain;f=templates%2Fhtml%2Fsearch.tmpl;h=317d424ccfea4a0700ae1a618a43debaba739b1d;hb=f15959521ce4cfa68c7a9a92ddc54454e2770295;hp=683d8bc0435673a6dda87ca2ae0cfaf701f18eb7;hpb=f13529a2f31d2dd523c2a5559f62c73129e3954d;p=deb%2Fpackages.git diff --git a/templates/html/search.tmpl b/templates/html/search.tmpl index 683d8bc..317d424 100644 --- a/templates/html/search.tmpl +++ b/templates/html/search.tmpl @@ -38,7 +38,7 @@ [% END %] [% END %] -

[% g('Search in specific suite:') %] +

[% g('Limit to suite:') %] [% FOREACH s IN all_suites %] [% IF s != suite_str %] [[% s %]] @@ -51,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 %]] @@ -70,7 +70,6 @@

[% g('Some results have not been displayed due to the search parameters.', "$search_url?keywords=$keyword_esc") %]

[% END %] - [%- PROCESS 'html/messages.tmpl' -%] @@ -97,15 +96,19 @@ [% IF too_many_hits %] [% IF opts.searchon != "names" %] -

[% 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.") %]

+
[% ELSE %] -

+

+

[%- IF results %] [% 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 -%]

+
[% END; END %] [% UNLESS results || too_many_hits %]