diff options
author | Dan McGee <dan@archlinux.org> | 2010-07-03 00:48:05 +0200 |
---|---|---|
committer | Dan McGee <dan@archlinux.org> | 2010-07-03 00:48:05 +0200 |
commit | 4676d4474b6286a34823560475426ec91f2cd2a6 (patch) | |
tree | 7f5658cdcdf17d2f62ae777bba776aedb6e9f92d /templates/packages/search.html | |
parent | 345b38898a5bb6897289627398a753702f118e36 (diff) | |
download | archweb-4676d4474b6286a34823560475426ec91f2cd2a6.tar.gz archweb-4676d4474b6286a34823560475426ec91f2cd2a6.tar.xz |
Add some text when no packages could be found
This text also includes a link to search the AUR for the same keywords. This
implements FS#19904.
Signed-off-by: Dan McGee <dan@archlinux.org>
Diffstat (limited to 'templates/packages/search.html')
-rw-r--r-- | templates/packages/search.html | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/templates/packages/search.html b/templates/packages/search.html index 706fe72..fbbd11e 100644 --- a/templates/packages/search.html +++ b/templates/packages/search.html @@ -141,6 +141,13 @@ </form> </div><!-- #pkglist-results --> +{% else %} +<div class="box"> + <p>We couldn't find any packages matching your query. Try searching again + using different criteria, or try + <a href="http://aur.archlinux.org/packages.php?K={{ search_form.q.data }}">searching the AUR</a> + to see if the package can be found there.</p> +</div> {% endif %} <div id="pkglist-about" class="box"> |