summaryrefslogtreecommitdiff
path: root/templates/search.html
diff options
context:
space:
mode:
authoryvesf <yvesf@pinky.(none)>2010-11-30 20:05:24 +0100
committeryvesf <yvesf@pinky.(none)>2010-11-30 20:05:24 +0100
commite69a04675e142d8618433a785ad33e8167ef99d2 (patch)
treea8cd134467a85890e24143514383de4dec4e42ae /templates/search.html
parent15f17b4fce5a1e4b70709aac569c18d8cf57deba (diff)
downloadbooksearch-e69a04675e142d8618433a785ad33e8167ef99d2.tar.gz
booksearch-e69a04675e142d8618433a785ad33e8167ef99d2.zip
display time taken for processing the /search query
Diffstat (limited to 'templates/search.html')
-rw-r--r--templates/search.html2
1 files changed, 1 insertions, 1 deletions
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 @@
</script>
{% 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() %}
<h2 asd="foo">
{{ book['filename'] }}