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

  ## {% trans thesaurus 'TITR' 'Thesaurus label' %}{% trans ':' %} {{notice.title}}

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

  ## {{% trans thesaurus 'DENO' 'Thesaurus label' %}{% trans ':' %} {{notice.denomination}}

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

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

    {% 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 %}