{% load i18n %} {% for notice in notices %}
- {% if notice.terms_by_thesaurus.AUTR.translated or notice.terms_by_thesaurus.AUTR.untranslated %}
  - - {% trans 'Artiste(s) :' %}
    {% for term in notice.terms_by_thesaurus.AUTR.translated %}
    - {{term.label}}
    {% endfor %} {% for term in notice.terms_by_thesaurus.AUTR.untranslated %}
    - {{term.label}}
    {% endfor %}
  {% endif %} {% if notice.title %}

  ## {{notice.title|truncatechars:60}}

  {% endif %} {% if notice.terms_by_thesaurus.DOMN.translated %}
  - - {% trans 'Domaine(s) :' %}
    {% for term in notice.terms_by_thesaurus.DOMN.translated %}
    - {{term.label}}
    {% endfor %}
  {% endif %} {% if notice.designation and not notice.title %}
  - - {% trans 'Désignation :' %}
    - {{notice.designation}}
  {% endif %} {% if notice.terms_by_thesaurus.REPR.translated %}
  - - {% trans 'Sujet représenté :' %}
    {% for term in notice.terms_by_thesaurus.REPR.translated|slice:":6" %}
    - {{term.label}}
    {% endfor %} {% if notice.terms_by_thesaurus.REPR.translated|length > 8 %}
    - …
    {% endif %}
  {% endif %} {% if notice.datation or notice.years %}
  - - {% trans 'Datation :' %}
    {% for term in notice.datation %}
    - {{term.label}}
    {% endfor %} {% if notice.years %} {% endif %}
    - {{notice.years.0}}{% if notice.years.0 != notice.years.1 %} – {{notice.years.1}}{% endif %}
  {% endif %}
{% endfor %}