X-Git-Url: https://git.deb.at/?a=blobdiff_plain;f=templates%2Fhtml%2Fsearch.tmpl;h=205e85bbb8c7d1ab36d49c23c3264a8267faa443;hb=eba17e54fcdde2ff5dc79e1a54b46506a49bce58;hp=939380cf38b17ce2f6f58d47fc9a0d209141ec60;hpb=0826daa3d7e40754506b392b395aaf66974c5598;p=deb%2Fpackages.git diff --git a/templates/html/search.tmpl b/templates/html/search.tmpl index 939380c..205e85b 100644 --- a/templates/html/search.tmpl +++ b/templates/html/search.tmpl @@ -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,13 +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 && s.section != main_section %] [[% s.section %]][% END %] [% FOREACH s.versions %]
    [% 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 %] - [% FOREACH provider IN s.providers %][% provider %][% ', ' UNLESS loop.last %][% END %] + [% FOREACH provider IN s.providers.sort %][% provider %][% ', ' UNLESS loop.last %][% END %] [% END %]
  • [% END %] @@ -113,7 +110,7 @@ Please consider using a longer keyword or more keywords.', too_many_hits) %]

  • [% origin %] ([% subsection %]): [% version %] [%- IF section %] [[% section %]][% END %] [%- IF real_archive %] [[% real_archive %]][% END %] -
    [% g('Binary packages:') %] [% FOREACH binary IN binaries %][% binary %][% ', ' UNLESS loop.last %][% END %] +
    [% g('Binary packages:') %] [% FOREACH binary IN binaries.sort %][% binary %][% ', ' UNLESS loop.last %][% END %] [% IF binaries.size > 10 %] [% END %]