From 727bb685878e3978eafce17498888391253ac722 Mon Sep 17 00:00:00 2001 From: Dan McGee Date: Sun, 25 Jul 2010 15:39:17 -0500 Subject: Don't link to the AUR if search term is blank Signed-off-by: Dan McGee --- templates/packages/search.html | 2 ++ 1 file changed, 2 insertions(+) diff --git a/templates/packages/search.html b/templates/packages/search.html index c0eff987..b3410962 100644 --- a/templates/packages/search.html +++ b/templates/packages/search.html @@ -145,7 +145,9 @@

We couldn't find any packages matching your query. Try searching again using different criteria, or try + {% if search_form.q.data %} searching the AUR + {% else %}searching the AUR{% endif %} to see if the package can be found there.

{% endif %} -- cgit v1.2.3-55-g3dc8