bgneal@219: {% extends 'base.html' %} bgneal@219: {% load highlight %} bgneal@219: {% block title %}Search{% endblock %} bgneal@219: {% block content %} bgneal@312:

Search Search

bgneal@219:
bgneal@276: bgneal@276: bgneal@279: bgneal@276: bgneal@276: bgneal@276:
bgneal@276:
bgneal@276: Search in: bgneal@276: bgneal@276: bgneal@276: bgneal@276: bgneal@276: bgneal@276: bgneal@276: bgneal@276: bgneal@276: bgneal@276: bgneal@276: bgneal@276:
Forum PostsNews StoriesUser Profiles
LinksDownloadsPodcasts
bgneal@276:
bgneal@276: bgneal@219: {% if query %} bgneal@277:

Results for "{{ query }}" page {{ page.number }} of {{ page.paginator.num_pages }}

bgneal@277: bgneal@277: {% if page.paginator.count %} bgneal@277:

bgneal@277: {{ page.paginator.count }} hit{{ page.paginator.count|pluralize }} bgneal@277:

bgneal@277: {% endif %} bgneal@277: bgneal@219: {% if page.object_list %} bgneal@219:
bgneal@219: {% for result in page.object_list %} bgneal@219:
bgneal@222: {{ result.verbose_name }}: {{ result.object.search_title }} ({{ result.score }}) bgneal@219:
bgneal@219:
bgneal@220: {% highlight result.object.search_summary with query css_class "highlight" max_length 200 %} bgneal@219:
bgneal@219: {% endfor %} bgneal@219:
bgneal@220: {% else %} bgneal@220:

No results found for {{ query }}.

bgneal@219: {% endif %} bgneal@219: bgneal@219: {% if page.has_previous or page.has_next %} bgneal@219:
bgneal@219: {% if page.has_previous %}{% endif %}« Previous{% if page.has_previous %}{% endif %} bgneal@219: | bgneal@219: {% if page.has_next %}{% endif %}Next »{% if page.has_next %}{% endif %} bgneal@219:
bgneal@219: {% endif %} bgneal@219: {% else %} bgneal@219: {# Show some example queries to run, maybe query syntax, something else? #} bgneal@219: {% endif %} bgneal@219:
bgneal@219: {% endblock %}