{% extends CYCLOPE_DEFAULT_TEMPLATE %} {% load i18n cyclope_utils crispy_forms_tags %} {% block content %} {% if query %}

{% trans "Results" %}

{% for result in page.object_list %} {# show teaser_views for all results objects #} {% join result.object.get_app_label "/" result.object.get_object_name "_teaser.html" as template_path %} {% alias result.object as result.object.get_object_name %} {% include template_path with current_object=result.object host_template="cyclope/inline_view.html" %} {% empty %}

{% trans "No results found." %}

{% endfor %} {% include 'cyclope/pagination_block.html' %}
{% else %} {# TODO(diegoM): Show advanced search div #} {# Show some example queries to run, maybe query syntax, something else? #} {% endif %} {% endblock %}