1 {% extends "base.html" %}
4 {#% load events_tags %#}
8 <h1>{% trans "Search results" %}</h1>
10 {% for result in page.object_list %}
11 {% if result.model_name == "entry" %}
12 {% entry_short result.object %}
13 {#% elif result.model_name == "event" %#}
14 {#% event_short result.object %#}
17 <p>{% trans "No results found." %}</p>
18 {# Show some example queries to run, maybe query syntax, something else? #}
21 {% if page.has_previous or page.has_next %}
23 {% if page.has_previous %}
24 <a class="previous_page" href="?q={{ query }}&page={{ page.previous_page_number }}">{% trans "previous" %}</a>
26 {% if page.has_next %}
27 <a class="next_page" href="?q={{ query }}&page={{ page.next_page_number }}">{% trans "next" %}</a>