From ec1781471412e3d4769bce27fd15bc281892b1d6 Mon Sep 17 00:00:00 2001 From: Cédric Bonhomme Date: Fri, 11 Jan 2013 21:14:05 +0100 Subject: Minor improvements of the /search page. --- source/templates/search.html | 7 +++++-- 1 file 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 %>
-

Articles containing the string ${query}

-
+%if len(search_result) != 0: +

Articles containing the string ${query}

+%else: +

String ${query} not found.

+%endif <% html = "" feed_id = None -- cgit