comparison gpp/templates/search/search.html @ 222:a5fcf3d1b663

For #51; add forums to Haystack search.
author Brian Neal <bgneal@gmail.com>
date Sun, 06 Jun 2010 21:05:48 +0000
parents 71fd8454688b
children 8a46843c258f
comparison
equal deleted inserted replaced
221:8d13baeaa5c1 222:a5fcf3d1b663
17 <h3>Results</h3> 17 <h3>Results</h3>
18 {% if page.object_list %} 18 {% if page.object_list %}
19 <dl> 19 <dl>
20 {% for result in page.object_list %} 20 {% for result in page.object_list %}
21 <dt> 21 <dt>
22 {{ result.verbose_name }}: <a href="{{ result.object.get_absolute_url }}">{{ result.object.search_title }}</a> &bull; ({{ result.score }}) 22 {{ result.verbose_name }}: <a href="{{ result.object.get_absolute_url }}">{{ result.object.search_title }}</a> ({{ result.score }})
23 </dt> 23 </dt>
24 <dd> 24 <dd>
25 {% highlight result.object.search_summary with query css_class "highlight" max_length 200 %} 25 {% highlight result.object.search_summary with query css_class "highlight" max_length 200 %}
26 </dd> 26 </dd>
27 {% endfor %} 27 {% endfor %}