aboutsummaryrefslogtreecommitdiff
path: root/source/templates/search.html
diff options
context:
space:
mode:
authorCédric Bonhomme <kimble.mandel@gmail.com>2013-01-11 21:14:05 +0100
committerCédric Bonhomme <kimble.mandel@gmail.com>2013-01-11 21:14:05 +0100
commitec1781471412e3d4769bce27fd15bc281892b1d6 (patch)
tree3b63298b8508debcaf7ef3d9f0dd77157d36ab1b /source/templates/search.html
parentRemoved useless comments. (diff)
downloadnewspipe-ec1781471412e3d4769bce27fd15bc281892b1d6.tar.gz
newspipe-ec1781471412e3d4769bce27fd15bc281892b1d6.tar.bz2
newspipe-ec1781471412e3d4769bce27fd15bc281892b1d6.zip
Minor improvements of the /search page.
Diffstat (limited to 'source/templates/search.html')
-rw-r--r--source/templates/search.html7
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
bgstack15