X-Git-Url: https://git.deb.at/?a=blobdiff_plain;f=templates%2Fhtml%2Fsearch.tmpl;h=0bc23e6e4dd71144d7a5bf4cbd47c0b1b4990c07;hb=a6b0759c90c35aae73ae5b4bdc2ca069e768ee7e;hp=74171b252818d875bcea36b3c83f222a0604d81b;hpb=fd86d8529dc854454c7ed14958606a13b8625ada;p=deb%2Fpackages.git diff --git a/templates/html/search.tmpl b/templates/html/search.tmpl index 74171b2..0bc23e6 100644 --- a/templates/html/search.tmpl +++ b/templates/html/search.tmpl @@ -65,10 +65,15 @@ Found [% results %] matching packages.

[% END %] [% IF too_many_hits %] +[% IF opts.searchon != "names" %] +

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 %]

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

-[% END %] +[% END; END %] [% UNLESS results %]

Sorry, your search gave no results

@@ -81,7 +86,7 @@ Please consider using a longer keyword or more keywords.

Package [% pkg %]