{% extends 'editions/entete_editeur.inc.html.twig' %}
{% block subcontent %}
<main class="tc-desktop-2_3 tc-phone-1_1 tc-spectacles">
{% if spectacles is defined and spectacles %}
<section class="tc-panel">
<div class="tc-panel-header">
{% if spectacles_prochains is defined and spectacles_prochains %}
<h2 class="tc-color-spectacles">Textes à l'affiche</h2>
{% endif %}
{% if spectacles_tous is defined and spectacles_tous %}
<h2 class="tc-color-spectacles">Tous les textes en scène</h2>
{% endif %}
{% if area is defined and area %}
<h3 class="tc-color-spectacles">
{% if region_name is defined and region_name %}
région {{ region_name }}
{% endif %}
{% if country_name is defined and country_name %}
{{ country_name }}
{% endif %}
</h3>
{% endif %}
</div>
<div class="tc-panel-body tc-masonry-container">
{% for idspectacle,spectacle in spectacles %}
<div class="tc-block tc-spectacles-tpl-b tc-tablet-1_2">
{% include 'spectacles/spectacle_titre.inc.html.twig' %}
</div>
{% endfor %}
</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 cet éditeur.</p>
</div>
</div>
</div>
</section>
{% endif %}
</main>
{% endblock %}