{% extends template_extends %} {% load bootstrap_pagination ui_tags %} {% block title %}Search Results{% endblock %} {% block breadcrumbs %}{{ block.super }} {% if object %} {% breadcrumbs object.breadcrumbs True %}
  • Search Results
  • {% else %}{# object #}
  • {{ object.title }}
  • Search Results
  • {% endif %} {% endblock breadcrumbs %} {% block content %}
    {% if object %}

    Search: {{ object.title }} {{ object.id }}

    Back to {{ object.model }} detail

    {% endif %}{# object #} {% if error_message %}

    {{ error_message }}

    {% endif %}
    {% if search_field == 'fulltext' %}{{ search_form.fulltext }} {% elif search_field == 'creators' %}{{ search_form.creators }}creators:"{{ search_form.creators.value }}" {% elif search_field == 'persons' %}{{ search_form.persons }}persons:"{{ search_form.persons.value }}" {% endif %}
    {% if searching and not page.object_list %}

    No results for {% if search_field == 'fulltext' %}"{{ search_form.fulltext.value }}" {% elif search_field == 'creators' %}creators:"{{ search_form.creators.value }}" {% elif search_field == 'persons' %}persons:"{{ search_form.persons.value }}"{% endif %}

    We're sorry - your keywords were not found. Please enter another query or try browsing by category instead.
    {% elif searching %}
    Topics
    {{ search_form.topics }}
    Facilities
    {{ search_form.facility }}
    Format
    {{ search_form.format }}
    Genre
    {{ search_form.genre }}
    Usage
    {{ search_form.rights }}

    Use <Ctrl> or (⌘) keys to select multiple terms

    {% endif %}{# searching #}
    {% if terms %}
    Terms {{ terms.field }}: {{ terms.term }}
    {% endif %}
    {% if page.object_list %}
    {{ paginator.count }} items
    {% if paginator.num_pages > 1 %} {% bootstrap_paginate page range=10 show_first_last="true" %} {% endif %} {% for object in page.object_list %} {% listitem object %} {% endfor %} {% if paginator.num_pages > 1 %} {% bootstrap_paginate page range=10 show_first_last="true" %} {% endif %}
    {% endif %}
    API
    {% endblock content %}