diff gpp/templates/downloads/search_results.html @ 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 f408971657b9
children
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' %}