comparison 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
comparison
equal deleted inserted replaced
21:884839ddbfde 22:42f22c56ab05
10 <script type="text/javascript" src="{{ MEDIA_URL }}js/downloads/rating.js"></script> 10 <script type="text/javascript" src="{{ MEDIA_URL }}js/downloads/rating.js"></script>
11 {% endblock %} 11 {% endblock %}
12 {% block content %} 12 {% block content %}
13 <h2>Downloads</h2> 13 <h2>Downloads</h2>
14 {% downloads_navigation %} 14 {% downloads_navigation %}
15 <h3>Search Results: {{ query }}</h3> 15 <h3>Search Results: {{ query }} - {{ page.paginator.count }} result{{ page.paginator.count|pluralize }}</h3>
16 16
17 {% if page.object_list %} 17 {% if page.object_list %}
18 {% include 'core/pagination_query.html' %} 18 {% include 'core/pagination_query.html' %}
19 19
20 <dl> 20 <dl>