X-Git-Url: https://git.deb.at/?p=deb%2Fpackages.git;a=blobdiff_plain;f=templates%2Fhtml%2Fsearch.tmpl;h=8e6bed467e300568eb2505ee320856d8eacb6c45;hp=3427f2a9bd40ea7e347efeeb671361a3ade9ba63;hb=994eceb69bd5a8865a51e00b3cfb1c7a1f03f78e;hpb=7b10a3faf069175fef7e3028df352717e89bffc2 diff --git a/templates/html/search.tmpl b/templates/html/search.tmpl index 3427f2a..8e6bed4 100644 --- a/templates/html/search.tmpl +++ b/templates/html/search.tmpl @@ -34,8 +34,8 @@ searchformurl) %]

[% IF opts.searchon != "names" && opts.exact %] -

[% g('You have searched only for words exactly matching your keywords. You can try to search allowing subword matching.', - make_search_url('',"keywords=$keyword_esc",'exact',0) ) %] +

[% g('You have searched only for words exactly matching your keywords. You can try to search allowing subword matching.', + make_search_url('',"keywords=$keyword_esc",'exact',0) ) %]

[% END %] [% END %] [% IF opts.searchon == "names" && non_results %] @@ -69,13 +69,10 @@ [% 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 %] -

[% g('Your search was too wide so we will only display exact matches. -At least %u results have been omitted and will not be displayed. -Please consider using a longer keyword or more keywords.', too_many_hits) %]

+

[% g('Your search was too wide so we will only display exact matches. At least %u results have been omitted and will not be displayed. Please consider using a longer keyword or more keywords.', + too_many_hits) %]

[% END; END %] [% UNLESS results %] @@ -91,12 +88,13 @@ Please consider using a longer keyword or more keywords.', too_many_hits) %]

[% FOREACH s IN suites; suite = s.suite %]
  • [% suite %] - [%- ' (' _ suite_aliases.$suite _ ')' IF suite_aliases.$suite %][% ' (' _ s.subsection _ ')' IF s.subsection %]: [% s.desc %] [%- IF s.section != main_section %] [[% s.section %]][% END %] + [%- ' (' _ suite_aliases.$suite _ ')' IF suite_aliases.$suite %][% ' (' _ s.subsection _ ')' IF s.subsection %]: [% IF s.trans_desc.$lang; s.trans_desc.$lang | html; ELSE; s.desc | html; END %] [%- IF s.section != main_section %] [[% s.section %]][% END %] [% FOREACH s.versions %]
    [% version %] [%- IF archive != main_archive %] [[% archive %]][% END %]: [% architectures.join(' ') %] [% END %] [% IF s.providers %] -
    [% 'also ' IF s.versions.size > 0 %][% g('provided by:') %] [% FOREACH provider IN s.providers %][% provider %][% ', ' UNLESS loop.last %][% END %] +
    [% IF s.versions.size > 0; g('also provided by:'); ELSE; g('provided by:'); END %] + [% FOREACH provider IN s.providers %][% provider %][% ', ' UNLESS loop.last %][% END %] [% END %]
  • [% END %]