From e69a04675e142d8618433a785ad33e8167ef99d2 Mon Sep 17 00:00:00 2001 From: yvesf Date: Tue, 30 Nov 2010 20:05:24 +0100 Subject: display time taken for processing the /search query --- templates/search.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'templates/search.html') diff --git a/templates/search.html b/templates/search.html index adbd92d..5e74c8e 100644 --- a/templates/search.html +++ b/templates/search.html @@ -39,8 +39,8 @@ {% endblock %} {% block content %} + Matched {{ books.__len__() }} Book{% if books.__len__() > 1 %}s{% endif %} in {{ "%0.0f"|format(time*1000) }}ms. {% if books %} - Matched {{ books.__len__() }} Book{% if books.__len__() > 1 %}s{% endif %} {% for docnum, book in books.items() %}

{{ book['filename'] }} -- cgit v1.2.1