diff options
author | Cédric Bonhomme <kimble.mandel@gmail.com> | 2013-01-11 21:14:05 +0100 |
---|---|---|
committer | Cédric Bonhomme <kimble.mandel@gmail.com> | 2013-01-11 21:14:05 +0100 |
commit | ec1781471412e3d4769bce27fd15bc281892b1d6 (patch) | |
tree | 3b63298b8508debcaf7ef3d9f0dd77157d36ab1b /source | |
parent | Removed useless comments. (diff) | |
download | newspipe-ec1781471412e3d4769bce27fd15bc281892b1d6.tar.gz newspipe-ec1781471412e3d4769bce27fd15bc281892b1d6.tar.bz2 newspipe-ec1781471412e3d4769bce27fd15bc281892b1d6.zip |
Minor improvements of the /search page.
Diffstat (limited to 'source')
-rw-r--r-- | source/templates/search.html | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/source/templates/search.html b/source/templates/search.html index 30ec77c1..1a80bb43 100644 --- a/source/templates/search.html +++ b/source/templates/search.html @@ -5,8 +5,11 @@ import re import utils %> <div class="left inner"> -<h1>Articles containing the string <i>${query}</i></h1> -<br /> +%if len(search_result) != 0: + <h1>Articles containing the string <i>${query}</i></h1> +%else: + <h1>String <i>${query}</i> not found.</h1> +%endif <% html = "" feed_id = None |