diff options
author | Dan McGee <dan@archlinux.org> | 2010-07-25 22:39:17 +0200 |
---|---|---|
committer | Dan McGee <dan@archlinux.org> | 2010-07-25 22:49:06 +0200 |
commit | 727bb685878e3978eafce17498888391253ac722 (patch) | |
tree | 2872809b498565f50a71c24dff74df5565bdb74e | |
parent | 8ce58ee97a5ac64e6b2549258d7a0ca5f334f6e3 (diff) | |
download | archweb-727bb685878e3978eafce17498888391253ac722.tar.gz archweb-727bb685878e3978eafce17498888391253ac722.tar.xz |
Don't link to the AUR if search term is blank
Signed-off-by: Dan McGee <dan@archlinux.org>
-rw-r--r-- | templates/packages/search.html | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/templates/packages/search.html b/templates/packages/search.html index c0eff98..b341096 100644 --- a/templates/packages/search.html +++ b/templates/packages/search.html @@ -145,7 +145,9 @@ <div class="box"> <p>We couldn't find any packages matching your query. Try searching again using different criteria, or try + {% if search_form.q.data %} <a href="http://aur.archlinux.org/packages.php?K={{ search_form.q.data }}">searching the AUR</a> + {% else %}searching the AUR{% endif %} to see if the package can be found there.</p> </div> {% endif %} |