[% END %]
[% END %]
-<p>[% g('Search in specific suite:') %]
+<p>[% g('Limit to suite:') %]
[% FOREACH s IN all_suites %]
[% IF s != suite_str %]
[<a href="[% make_search_url('',"keywords=$keyword_esc",'suite',s) %]">[% s %]</a>]
make_search_url('',"keywords=$keyword_esc",'suite','all')) %]
[% END %]
-<p>[% g('Limit search to a specific architecture:') %]
+<p>[% g('Limit to a architecture:') %]
[% FOREACH a IN all_architectures %]
[% IF a != arch_str %]
[<a href="[% make_search_url('',"keywords=$keyword_esc",'arch',a) %]">[% a %]</a>]
[% IF too_many_hits %]
[% IF opts.searchon != "names" %]
-<p id="psearchtoomanyhits">[% 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.") %]</p>
+<div class="note">
+<p>[% 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.") %]</p>
+</div>
[% ELSE %]
-<p id="psearchtoomanyhits">
+<div class="note">
+<p>
[%- IF results %]
[% g("Your keyword was too generic, for optimizing reasons some results might have been suppressed.<br>Please consider using a longer keyword or more keywords.") %]
[%- ELSE -%]
[% g("Your keyword was too generic.<br>Please consider using a longer keyword or more keywords.") %]
[% END -%]
</p>
+</div>
[% END; END %]
[% UNLESS results || too_many_hits %]
[% END %]
[% UNLESS search_architectures.size == 1 || all_architectures.size == 1 %]
-<p>[% g('Limit search to a specific architecture:') %]
+<p>[% g('Limit to a architecture:') %]
[% FOREACH a IN all_architectures %] [<a href="[% make_search_url('',"keywords=$keyword_esc",'arch',a) %]">[% a %]</a>][% END %]
[% END %]
[% g('Found <strong>%u results</strong>.', results.size) %]
[% IF too_many_hits %]
-<p id="psearchtoomanyhits">[% 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.') %]</p>
+<div class="note">
+<p>[% 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.') %]</p>
+</div>
[% END %]
<table>