{% extends 'contacts/contact_entete.inc.html.twig' %}
{% block content %}
<main class="tc-desktop-2_3 tc-phone-1_1">
<section class="tc-critiques tc-panel">
<div class="tc-panel-header">
{% if spectacles_in is defined and spectacles_in %}
<h2 class="tc-color-critiques">
Spectacles à venir avec critiques
</h2>
{% endif %}
{% if spectacles_prod is defined and spectacles_prod %}
<h2 class="tc-color-critiques">
Tous les spectacles avec critiques
</h2>
<h3 class="tc-color-critiques">
Produits ou coproduits par {{ data_object.organisation }}
</h3>
{% endif %}
{% if spectacles_anciens is defined and spectacles_anciens %}
<h2 class="tc-color-critiques">
Spectacles passés avec critiques
</h2>
<h3 class="tc-color-critiques">
{% if saison is defined and saison %}
saison {{ saison }}
{% endif %}
{% if dateend_string is defined and dateend_string %}
du {{ datestart_string }} au {{ dateend_string }}
{% endif %}
</h3>
{% endif %}
{% if spectacles_prod_anciens is defined and spectacles_prod_anciens %}
<h2 class="tc-color-critiques">
Tous les spectacles avec critiques
</h2>
<h3 class="tc-color-critiques">
Produits ou coproduits par {{ data_object.organisation }}
{% if saison is defined and saison %}
saison {{ saison }}
{% endif %}
{% if dateend_string is defined and dateend_string %}
du {{ datestart_string }} au {{ dateend_string }}
{% endif %}
</h3>
{% endif %}
{% if spectacles_coprod is defined and spectacles_coprod %}
<h2 class="tc-color-critiques">
Tous les spectacles à venir avec critiques
</h2>
<h3 class="tc-color-critiques">
Produits ou coproduits par {{ data_object.organisation }}
{% if saison is defined and saison %}
saison {{ saison }}
{% endif %}
{% if dateend_string is defined and dateend_string %}
du {{ datestart_string }} au {{ dateend_string }}
{% endif %}
</h3>
{% endif %}
</div>
<div class="tc-panel-body tc-masonry-container tc-spectacles-tpl-b">
{% if spectacles is defined and spectacles %}
{% for idspectacle,spectacle in spectacles %}
<div class="tc-tablet-1_2 tc-block">
{% include 'contacts/spectacle_critique_titre.inc.html.twig' %}
</div>
{% endfor %}
{% endif %}
</div>
<div class="tc-panel-footer">
{% include 'includes/pagination.inc.html.twig' %}
</div>
</section>
</main>
{% endblock %}