{% extends "base.twig" %} {% block content %}
{% if post.edit_link %} {{ current_language == 'en' ? 'Edit post' : 'Éditer l\'annonce' }} {% endif %}

{{ post.title | bilingual(current_language) }}

{% if article.sous_titre %}

{{ article.sous_titre }}

{% endif %}

{% if article.type_label %} {{ article.type_label }} {% endif %} {% set landscape_images = [] %} {% set portrait_images = [] %} {% for img in article.images %} {% if img.portrait %} {% set portrait_images = portrait_images|merge([img]) %} {% else %} {% set landscape_images = landscape_images|merge([img]) %} {% endif %} {% endfor %} {% if landscape_images %} {% if landscape_images|length > 1 %}
{% for img in landscape_images %}
{{ img.alt }} {% set legend = article.show_image_titles and img.title ? img.title : img.caption %} {% if legend %}
{{ legend }}
{% endif %}
{% endfor %}
{% else %}
{% for img in landscape_images %}
{{ img.alt }} {% set legend = article.show_image_titles and img.title ? img.title : img.caption %} {% if legend %}
{{ legend }}
{% endif %}
{% endfor %}
{% endif %} {% endif %}
{% if portrait_images or article.date_de_debut or article.date_de_fin or article.datetime or article.lieu|trim or article.adresse|trim or article.documents or article.liens_externes or article.hal_url or article.hal_file or article.reference_bibliographique %} {% endif %}
{% if article.membres is not empty or article.autrepersonnes %}

{% if article.fonction_label %} {{ article.fonction_label }} : {% endif %} {% for m in article.membres %} {{ m.name }}{% if not loop.last %}, {% endif %} {% endfor %} {% if article.autrepersonnes %}{% if article.membres is not empty %}, {% endif %}{{ article.autrepersonnes }}{% endif %}

{% endif %} {% if article.autre_membres is not empty or article.autre_autrepersonnes %}

{% if article.autre_fonction_label %} {{ article.autre_fonction_label }} : {% endif %} {% for m in article.autre_membres %} {{ m.name }}{% if not loop.last %}, {% endif %} {% endfor %} {% if article.autre_autrepersonnes %}{% if article.autre_membres is not empty %}, {% endif %}{{ article.autre_autrepersonnes }}{% endif %}

{% endif %} {% if article.editeur %}

{{ current_language == 'en' ? 'Publisher' : 'Éditeur' }} : {{ article.editeur }}

{% endif %} {% if article.journal %}

Journal : {{ article.journal }}

{% endif %} {% if current_language == 'en' and article.body_en %} {{ article.body_en|raw }} {% else %} {{ post.content }} {% endif %} {% if article.canal_u %}
{% for embed_url in article.canal_u %}
{% endfor %}
{% endif %} {% if article.youtube %}
{% for embed_url in article.youtube %}
{% endfor %}
{% endif %} {% if article.axes %}

{{ current_language == 'en' ? 'Thematic axes' : 'Axes thématiques' }} : {% for kw in article.axes %} {{ kw.name }}{% if not loop.last %}, {% endif %} {% endfor %}

{% endif %} {% if article.programmes %}

{{ current_language == 'en' ? 'Research programmes' : 'Programmes de recherche' }} : {% for kw in article.programmes %} {{ kw.name }}{% if not loop.last %}, {% endif %} {% endfor %}

{% endif %} {% if article.etiquettes %}

{{ current_language == 'en' ? 'Keywords' : 'Mots-clés' }} : {% for kw in article.etiquettes %} {{ kw.name }}{% if not loop.last %}, {% endif %} {% endfor %}

{% endif %} {% if article.annonces_liees is not empty %} {% endif %} {% if article.seances_a_venir is not empty %}

{{ current_language == 'en' ? 'Upcoming sessions' : 'Séances à venir' }}

{% for s in article.seances_a_venir %}
{{ s.day }} {{ s.month }} {% if s.year %}{{ s.year }}{% endif %}

{{ s.post.title | bilingual(current_language) }}

{% if s.intervenants is not empty or s.autrepersonnes %} {% for i in s.intervenants %} {{ i.name }}{% if not loop.last %}, {% endif %} {% endfor %} {% if s.autrepersonnes %}{% if s.intervenants is not empty %}, {% endif %}{{ s.autrepersonnes }}{% endif %} {% endif %}
{% endfor %}
{% endif %} {% if article.seances_passees is not empty %}

{{ current_language == 'en' ? 'Past sessions' : 'Séances passées' }}

{% for s in article.seances_passees %}
{{ s.day }} {{ s.month }} {% if s.year %}{{ s.year }}{% endif %}

{{ s.post.title | bilingual(current_language) }}

{% if s.intervenants is not empty or s.autrepersonnes %} {% for i in s.intervenants %} {{ i.name }}{% if not loop.last %}, {% endif %}{% endfor %}{% if s.autrepersonnes %}{% if s.intervenants is not empty %}, {% endif %}{{ s.autrepersonnes }}{% endif %} {% endif %}
{% endfor %}
{% endif %}

{{ current_language == 'en' ? 'Updated on' : 'Mis à jour le' }} {{ post.modified_date('d/m/Y') ?: post.date('d/m/Y') }}

{% endblock %}