<section id="spectacles_distribution" class="tc-panel tc-border-context">
{% if (data_spectacles.others is defined and data_spectacles.others is not empty) or (data_spectacles.others_distrib.text is defined and data_spectacles.others_distrib.text is not empty) %}
<div class="tc-panel-header">
<h3>Distribution (suite)</h3>
</div>
<div class="tc-panel-body">
<div class="tc-block">
{%endif %}
{% if data_spectacles.others is defined and data_spectacles.others %}
<div class="tc-block-body">
{% for idother,other in data_spectacles.others %}
<p style="margin:0;display:block" class="tc-textwrap-auteur">
<a href="/biographies/{{ other.url_clean }}/"> {{ other.firstname }} {{ other.lastname }}</a>
<span class="tc-text-label-inline">{{ other.role }}</span>
{% if other.more_infos is defined and other.more_infos != true %}
<small>du {{ other.date_start|date('d-m-Y') }} au {{ other.date_end|date('d-m-Y') }}</small>
{% endif %}
</p>
{% endfor %}
</div>
{% endif %}
{% if data_spectacles.others_distrib.text is defined and data_spectacles.others_distrib.text %}
<div class="tc-block-body">
<span class="tc-text-label-inline" style="margin: 0;display: block;">{{ data_spectacles.others_distrib.text|raw }}</span>
</div>
{% endif %}
{% if (data_spectacles.others is defined and data_spectacles.others is not empty) or (data_spectacles.others_distrib.text is defined and data_spectacles.others_distrib.text is not empty) %}
</div>
</div>
{% endif %}
{% if data_spectacles.producteurs is defined and data_spectacles.producteurs is not empty %}
<div class="tc-panel-header">
<h3>{% trans %}production{% endtrans %}</h3>
</div>
<div class="tc-panel-body">
<div class="tc-block">
<div class="tc-block-body">
{% for idcoproducteur,coproducteur in data_spectacles.producteurs %}
<span>
{% include "spectacles/prod.inc.html.twig" %}
</span>
{% endfor %}
</div>
</div>
</div>
{% endif %}
{% if data_spectacles.coproducteurs is defined and data_spectacles.coproducteurs is not empty %}
<div class="tc-panel-header">
<h3>Coproduction</h3>
</div>
<div class="tc-panel-body">
<div class="tc-block">
<div class="tc-block-body">
{% for idcoproducteur,coproducteur in data_spectacles.coproducteurs %}
<span>
{% include "spectacles/prod.inc.html.twig" %}
</span>
{% endfor %}
</div>
</div>
</div>
{% endif %}
{% if data_spectacles.producteurs_delegues is defined and data_spectacles.producteurs_delegues is not empty %}
<div class="tc-panel-header">
<h3>Production déléguée</h3>
</div>
<div class="tc-panel-body">
<div class="tc-block">
<div class="tc-block-body">
{% for idcoproducteur,coproducteur in data_spectacles.producteurs_delegues %}
<span>
{% include "spectacles/prod.inc.html.twig" %}
</span>
{% endfor %}
</div>
</div>
</div>
{% endif %}
{% if aides.aides is defined and aides.aides %}
<div class="tc-panel-header">
<h3>Soutiens</h3>
</div>
<div class="tc-panel-body">
<div class="tc-block">
<div class="tc-block-body">
{% for idaide,aide in aides.aides.datas %}
<span>
<a href="/contacts/{{ aide.contact.urlClean }}/soutiens/" onclick="window.open(this.href); return false;">{{ aide.contact.organisation }}</a>
(
{% if aide.aide is defined and aide.aide %}
{{ aide.aide }}
{% if aide.aidecontact.title is defined and aide.aidecontact.title %} - {% endif %}
{% endif %}
{% if aide.aidecontact.title is defined and aide.aidecontact.title %}
{{ aide.aidecontact.title }}
{% endif %}
</span>
{% endfor %}
</div>
</div>
</div>
{% endif %}
{% if data_spectacles.autre_soutien is defined and data_spectacles.autre_soutien %}
<section class="tc-panel post">
<div class="tc-panel-header hidden-content">
<h3>Infos Pro</h3>
</div>
<div class="tc-panel-body">
<div class="tc-block">
<div class="tc-block-body ">
{% if data_spectacles.structure_diffusion is defined and data_spectacles.structure_diffusion %}
<div class="hidden-content">
<span>Contact diffusion du spectacle</span>
<ul>
{% for idiffusion,coproducteur in data_spectacles.structure_diffusion %}
<li>
{% include "spectacles/prod.inc.html.twig" %}
</li>
{% endfor %}
</ul>
</div>
<br/>
{% endif %}
<span class="hidden-content">{{ data_spectacles.autre_soutien.text|raw }} </span>
{% if data_spectacles.contenupro is defined and data_spectacles.contenupro %}
<span class="hidden-content">
{{ data_spectacles.contenupro.text|raw }}
</span>
{% endif %}
<ul class="actions tc-right">
{% if data_spectacles.autre_soutien is defined and data_spectacles.autre_soutien %}
<li><a href="" class="show">Plus d'infos</a></li>
{% endif %}
</ul>
</div>
</div>
</div>
</section>
{% endif %}
</section>