{% extends "telemeta/base.html" %} {% load telemeta_utils %} {% load i18n %} {% load bootstrap_pagination %} {% block head_title %}{% trans "Search Results" %} - {{ block.super }}{% endblock %} {% block title %}
search-results {% trans "Search Results" %} ({{ page_obj.start_index }} - {{ page_obj.end_index }} / {{ object_list.count }})
{% bootstrap_paginate page_obj range=10 show_first_last="True" %}
 
{% endblock %} {% block title_buttons %}
{% ifequal type 'items' %} {% endifequal %} {% ifequal type 'collections' %} {% endifequal %}
{% endblock %} {% block content %} {% if criteria %} {% endif %} {% ifequal type 'items' %}

Items ({{items_num}}) | Collections ({{collections_num}}) | Corpus ({{corpus_num}}) | Fonds ({{fonds_num}})

{% with object_list as items %}
{% include "telemeta/inc/mediaitem_list.html" %}
{% endwith %} {% endifequal %} {% ifequal type 'collections' %}

Items ({{items_num}}) | Collections ({{collections_num}}) | Corpus ({{corpus_num}}) | Fonds ({{fonds_num}})

{% with object_list as collections %}
{% include "telemeta/inc/collection_list.html" %}
{% endwith %} {% endifequal %} {% if type == 'corpus' %}

Items ({{items_num}}) | Collections ({{collections_num}}) | Corpus ({{corpus_num}}) | Fonds ({{fonds_num}})

{% endif %} {% if type == 'fonds' %}

Items ({{items_num}}) | Collections ({{collections_num}}) | Corpus ({{corpus_num}}) | Fonds ({{fonds_num}})

{% endif %} {% if type == 'corpus' or type == 'fonds' %} {% with object_list as resources and type as type %}
{% include "telemeta/inc/resource_list.html" %}
{% endwith %} {% endif %} {% endblock %}