{% extends "telemeta/base.html" %} {% load telemeta_utils %} {% load i18n %} {% block head_title %}{% trans "Search Results" %} - {{ block.super }}{% endblock %} {% block title %} search-results {% trans "Search Results" %} {% endblock %} {% block title_buttons %} {% ifequal type 'items' %} {% trans "All" %} {% trans "Sounds" %} {% endifequal %} {% ifequal type 'collections' %} {% trans "All" %} {% trans "Sounds" %} {% 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 %}