[%- keyword_str = search_keywords.join(' '); keyword_esc = uri_escape(keyword_str); keyword_enc = html_encode(keyword_str); section_str = params.values.section.no_replace.join(', '); section_esc = uri_escape(section_str); section_enc = html_encode(section_str); architectures_str = params.values.arch.no_replace.join(', '); architectures_esc = uri_escape(architectures_str); architectures_enc = html_encode(architectures_str); -%] [%- PROCESS 'html/head.tmpl' title_tag = g("Package Contents Search Results -- %s", keyword_enc) keywords = "$suite" print_search_field = 'packages' navigation = [ { title => '', name => g('Package Contents Search Results'), url => '' } ] search_field_values = { keywords => search_keywords.join(' '), searchon => 'contents', mode => mode, sort_by => sort_by, suite => suite, architectures => params.values.arch.no_replace.join(','), sections => params.values.section.no_replace.join(','), } -%]
[% g('Search in other suite:') %] [% FOREACH s IN all_suites %] [% IF s != suite %] [[% s %]] [% ELSE %] [[% s %]] [% END %] [% END %] [% UNLESS search_architectures.size == 1 || all_architectures.size == 1 %]
[% g('Limit search to a specific architecture:') %] [% FOREACH a IN all_architectures %] [[% a %]][% END %] [% END %] [% IF search_architectures.size == 1 %]
[% g('Search in all architectures', make_search_url('',"keywords=$keyword_esc",'arch','any')) %] [% END %]
[% g('You have searched for %s %s in suite %s, %s, and %s.', wording, keyword_enc, suite, section_wording, arch_wording) %] [% IF results.size %] [% g('Found %u results.', results.size) %] [% IF too_many_hits %]
[% g('Note: Your search was too wide so we will only display only the first about 100 matches. Please consider using a longer keyword or more keywords.') %]
[% END %][%- g('File') %] | [%- g('Packages') %] |
---|---|
[% file %] | [% FOREACH packages %] [% arch_str = architectures.join(', '); SET arch_str = g("not %s", arch_str) IF ( arch_str && architectures_are_rev ); SET arch_str = " [$arch_str]" IF arch_str; pkg_esc = uri_escape(pkg) %] [% pkg | html %][% arch_str %][% ', ' UNLESS loop.last %] [% END %] |
[% g('File') %] | [% g('Packages') %] |
[% g('Sorry, your search gave no results') %]
[% END %] [%- PROCESS 'html/foot.tmpl' -%]