summaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
authoryvesf <yvesf-git@xapek.org>2010-12-01 17:27:07 +0100
committeryvesf <yvesf-git@xapek.org>2010-12-01 17:27:07 +0100
commit3e8feb517d2cc4022ff3afd787478376db59fd10 (patch)
tree438658cc6e1645ab49b860d9dd238eee4b999f48 /templates
parent9b09da2a0d5806a161c9b25f62193be2d0c2eec1 (diff)
downloadbooksearch-3e8feb517d2cc4022ff3afd787478376db59fd10.tar.gz
booksearch-3e8feb517d2cc4022ff3afd787478376db59fd10.zip
fix request time
Diffstat (limited to 'templates')
-rw-r--r--templates/search.html3
1 files changed, 2 insertions, 1 deletions
diff --git a/templates/search.html b/templates/search.html
index 5e74c8e..87ff510 100644
--- a/templates/search.html
+++ b/templates/search.html
@@ -39,8 +39,9 @@
</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 %}
+ in {{ "%.0f"|format(time_taken*1000) }}ms
{% for docnum, book in books.items() %}
<h2 asd="foo">
{{ book['filename'] }}