X-Git-Url: https://git.deb.at/?a=blobdiff_plain;f=templates%2Fhtml%2Fsearch.tmpl;h=faf582c596c1da612c2aaac922e9094b72299274;hb=650e3b989de974b2a097fdb433beb1a6de2d115c;hp=33a0b4256d4391cf43d8976d0a346b3c1395a4e4;hpb=78bc1557047b7d0aae38e959f233b8c073f0a8b1;p=deb%2Fpackages.git diff --git a/templates/html/search.tmpl b/templates/html/search.tmpl index 33a0b42..faf582c 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

@@ -80,8 +85,10 @@ Please consider using a longer keyword or more keywords.

[% FOREACH packages %]

Package [% pkg %]