changeset 22:42f22c56ab05

Downloads: provide a count of search results on the search results template.
author Brian Neal <bgneal@gmail.com>
date Sun, 19 Apr 2009 21:01:15 +0000
parents 884839ddbfde
children a5f27f25fa52
files gpp/templates/downloads/search_results.html
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/gpp/templates/downloads/search_results.html	Sun Apr 19 21:00:06 2009 +0000
+++ b/gpp/templates/downloads/search_results.html	Sun Apr 19 21:01:15 2009 +0000
@@ -12,7 +12,7 @@
 {% block content %}
 <h2>Downloads</h2>
 {% downloads_navigation %}
-<h3>Search Results: {{ query }}</h3>
+<h3>Search Results: {{ query }} - {{ page.paginator.count }} result{{ page.paginator.count|pluralize }}</h3>
 
 {% if page.object_list %}
 {% include 'core/pagination_query.html' %}