summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDan McGee <dan@archlinux.org>2010-07-02 17:48:05 -0500
committerDan McGee <dan@archlinux.org>2010-07-02 17:48:05 -0500
commit4676d4474b6286a34823560475426ec91f2cd2a6 (patch)
tree7f5658cdcdf17d2f62ae777bba776aedb6e9f92d
parent345b38898a5bb6897289627398a753702f118e36 (diff)
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>
-rw-r--r--templates/packages/search.html7
1 files changed, 7 insertions, 0 deletions
diff --git a/templates/packages/search.html b/templates/packages/search.html
index 706fe727..fbbd11e1 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">