{% extends 'editions/entete_editeur.inc.html.twig' %}
{% block subcontent %}
<main class="tc-desktop-2_3 tc-phone-1_1 ">
{% if spectacles is defined and spectacles %}
<section class="tc-panel tc-videos">
<div class="tc-panel-header">
{% if spectacles_prochains is defined and spectacles_prochains %}
<h2 class="tc-color-videos">Spectacles à l'affiche avec vidéos</h2>
{% endif %}
{% if spectacles_tous is defined and spectacles_tous %}
<h2 class="tc-color-videos">Tous les spectacles avec vidéos</h2>
{% endif %}
</div>
<div class="tc-panel-body tc-masonry-container">
{% if videos_blocks is defined and videos_blocks %}
{% if videos_classic is defined and videos_classic %}
{% for idmultimedia,video in spectacles %}
<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 %}
{% else %}
{% for idmultimedia,video in spectacles %}
<div class="tc-block tc-tablet-1_2 tc-video-tpl-a" style="margin:0.5em 0;">
{% include 'videos/video_titre_v2.inc.html.twig' %}
</div>
{% endfor %}
{% endif %}
{% else %}
{% for idspectacle,spectacle in spectacles %}
<div class="tc-block tc-tablet-1_2 tc-spectacles-tpl-b" style="margin:0.5em 0;">
{% include 'spectacles/spectacle_titre.inc.html.twig' %}
</div>
{% endfor %}
{% endif %}
</div>
<div class="tc-panel-footer">
{% include 'includes/pagination.inc.html.twig' %}
</div>
</section>
{% else %}
<section class="tc-panel">
<div class="tc-panel-body">
<div class="tc-block">
<div class="tc-block-body">
<p>Il n'y a encore pas de mise en scène référencée pour cette pièce.</p>
</div>
</div>
</div>
</section>
{% endif %}
</main>
{% endblock %}