{% extends 'gabarit.html' %}

<!-- $Id: titre_uniforme.html,v 1.1.16.2 2026/06/02 08:43:11 lpedeville Exp $ -->

{% block element_title %}
  <h3 class="tit1_AuthCourte pmb-title-3">
    {{list_element.get_object_instance.name}}
    {% if list_element.get_object_instance.date %}({{list_element.get_object_instance.date}}){%endif%}
    {% if list_element.get_object_instance.responsabilites.auteurs %},
    {% for auteur in list_element.get_object_instance.responsabilites.auteurs %}
    {% if auteur.responsability == "0" %}
    {{auteur.objet.display}}{% if !loop.last %};{% endif %}
    {%endif%}
    {% endfor %}
    {%endif%}
  </h3>
  </a>

  <ul class="notice-child-detail" id="{{ list_element.uid }}{{ list_element.id }}Detail">
  {% if list_element.get_object_instance.oeuvre_type_name %}
  <li class="pmb-authority-detail pmb-authority-tu-type">
    <span class="labelNot">
      {{msg.list_element_tu_type}}
    </span>
    <span class="labelContent">
      {{list_element.get_object_instance.oeuvre_type_name}}
    </span>
  </li>
  {% endif %}

  {% if list_element.get_object_instance.oeuvre_nature_name %}
  <li class="pmb-authority-detail pmb-authority-tu-nature">
    <span class="labelNot">
      {{msg.list_element_tu_nature}}
    </span>
    <span class="labelContent">
      {{list_element.get_object_instance.oeuvre_nature_name}}
    </span>
  </li>
  {% endif %}

  {% if list_element.get_object_instance.form %}
  <li class="pmb-authority-detail pmb-authority-tu-forme">
    <span class="labelNot">
      {{msg.list_element_tu_forme}}
    </span>
    <span class="labelContent">
      {{list_element.get_object_instance.form}}
    </span>
  </li>
  {% endif %}

  {% if list_element.get_object_instance.subject %}
  <li class="pmb-authority-detail pmb-authority-tu-subject">
    <span class="labelNot">
      {{msg.list_element_tu_sujet}}
    </span>
    <span class="labelContent">
      {{list_element.get_object_instance.subject | strip_tags | limitstring, 316, "..."}}
    </span>
  </li>
  {% endif %}
  </ul>
{% endblock %}