{% load i18n %}

## {{count}} {% if searchterm %}{% trans 'results for:' %} {{searchterm}}{% else %}{% trans 'results' %}{% endif %}

{% for notice in notices %}
- {% if notice.title %}

  ## {% trans 'Title:' %} {{notice.title}}

  {% endif %} {% if not notice.title and notice.denomination %}

  ## {% trans 'Denomination:' %} {{notice.denomination}}

  {% endif %}
  {% if not notice.terms_by_thesaurus.AUTR and notice.authors %}

  - ### {% trans 'Author(s):' %}

    {% for author in notice.authors %}
    - {{author}}
    {% endfor %}
  {% endif %} {% for thesaurus, terms in notice.terms_by_thesaurus.items %}

  - ### {% trans thesaurus context 'Thesaurus label' %}{% trans ':' %}

    {% for term in terms %}
    - {{term.locale_label}}
    {% endfor %}
  {% endfor %}
{% endfor %}