diff options
author | Dan McGee <dan@archlinux.org> | 2010-07-25 15:39:17 -0500 |
---|---|---|
committer | Dan McGee <dan@archlinux.org> | 2010-07-25 15:49:06 -0500 |
commit | 727bb685878e3978eafce17498888391253ac722 (patch) | |
tree | 2872809b498565f50a71c24dff74df5565bdb74e /templates/packages/search.html | |
parent | 8ce58ee97a5ac64e6b2549258d7a0ca5f334f6e3 (diff) |
Don't link to the AUR if search term is blank
Signed-off-by: Dan McGee <dan@archlinux.org>
Diffstat (limited to 'templates/packages/search.html')
-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 c0eff987..b3410962 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 %} |