{% extends 'editions/entete_editeur.inc.html.twig' %}
{% block subcontent %}
<main class="tc-desktop-2_3 tc-phone-1_1">
{% if comment is defined and comment %}
<section class="tc-panel">
<div class="tc-panel-header">
<h2>Présentation</h2>
</div>
<div class="tc-panel-body">
<div class="tc-block">
<div class="tc-block-body">
{% if comment_tiny is defined and comment_tiny %}
{{ comment_tiny|raw }}
...
<a href="/editions/{{ url_clean }}/ensavoirplus/">Lire la suite</a>
{% else %}
{{ comment|raw }}
{% endif %}
</div>
</div>
</div>
</section>
{% endif %}
{% if list_texts is defined and list_texts %}
<section class="tc-panel tc-textes-tpl-">
<div class="tc-panel-header">
<h2>Dernières parutions</h2>
</div>
<div class="tc-panel-body tc-masonry-container">
{% for idtext,text in list_texts %}
<div class="tc-tablet-1_2 tc-block">
{% include 'editions/texte_titre.inc.html.twig' %}
</div>
{% endfor %}
</div>
<div class="tc-panel-footer">
<a class="tc-more-link" href="/editions/{{ url_clean }}/textes/">Tous les textes</a>
</div>
</section>
{% endif %}
{% if spectacles_affiche is defined and spectacles_affiche %}
<section class="tc-panel tc-spectacles-tpl-a">
<div class="tc-panel-header">
<h2>Spectacles à l'affiche</h2>
</div>
<div class="tc-panel-body">
{% for idspectacle,spectacle in spectacles_affiche %}
<div class="tc-tablet-1_2 tc-block">
{% include 'spectacles/spectacle_titre.inc.html.twig' %}
</div>
{% endfor %}
</div>
<div class="tc-panel-footer">
<a class="tc-more-link" href="/editions/{{ url_clean }}/spectacles/type/prochains">Tous les spectacles à l'affiche</a>
</div>
</section>
{% endif %}
{% if videos_affiches is defined and videos_affiches %}
<section class="tc-panel tc-spectacles-tpl-a">
<div class="tc-panel-header">
<h2>Spectacles avec vidéos à l'affiche</h2>
</div>
<div class="tc-panel-body">
{% for idmultimedia,video in videos_affiches %}
<div class="tc-tablet-1_2 tc-block">
{% include 'videos/video_titre_v2.inc.html.twig' %}
</div>
{% endfor %}
</div>
<div class="tc-panel-footer">
<a class="tc-more-link" href="/editions/{{ url_clean }}/videos/">Tous les spectacles avec vidéos</a>
</div>
</section>
{% endif %}
{% if dernieres_critiques is defined and dernieres_critiques %}
<section class="tc-panel">
<div class="tc-panel-header">
<h2>Dernières critiques</h2>
</div>
<div class="tc-panel-body tc-masonry-container">
{% for id,critique in dernieres_critiques %}
<div class="tc-block tc-tablet-1_2 tc-spectacles-tpl-b tc-critiques-tpl-a">
{% include '/critiques/critique_titre_simple.inc.html.twig' %}
</div>
{% endfor %}
</div>
<div class="tc-panel-footer">
<a href="/critiques/spectacles" class="tc-more-link">Toutes les critiques</a>
</div>
</section>
{% endif %}
{% if videos_last_publish is defined and videos_last_publish %}
<section class="tc-panel tc-spectacles-tpl-b">
<div class="tc-panel-header">
<h2>Dernières vidéos ajoutées</h2>
<h3>En partenariat avec {{ data_object.fullname }}</h3>
</div>
<div class="tc-panel-body tc-textes-tpl- tc-masonry-container" style="margin-bottom: 1em;">
{% for idmultimedia,video in videos_last_publish %}
<div class="tc-block tc-tablet-1_2 tc-videos-tpl-a" style="margin:0.5em 0;">
{% include 'videos/video_titre_mini.inc.html.twig' %}
</div>
{% endfor %}
</div>
<div class="tc-panel-footer">
<a href="/editions/{{ data_object.url_clean }}/videos/type/partenariat/" class="tc-more-link">Toutes les vidéos en partenariat</a>
</div>
</section>
{% endif %}
</main>
{% endblock %}