templates/includes/aside/spectacles/spectacles_distribution.html.twig line 1

Open in your IDE?
  1. <section id="spectacles_distribution" class="tc-panel tc-border-context">
  2.     {% 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) %}
  3.     <div class="tc-panel-header">
  4.         <h3>Distribution (suite)</h3>
  5.     </div>
  6.     <div class="tc-panel-body">
  7.         <div class="tc-block">
  8.     {%endif %}
  9.     {% if data_spectacles.others is defined and data_spectacles.others %}
  10.     <div class="tc-block-body">
  11.         {% for idother,other in data_spectacles.others %}
  12.         <p style="margin:0;display:block" class="tc-textwrap-auteur">
  13.             <a href="/biographies/{{ other.url_clean }}/"> {{ other.firstname }} {{ other.lastname }}</a>
  14.             <span class="tc-text-label-inline">{{ other.role }}</span>
  15.             {% if other.more_infos is defined and other.more_infos != true %}
  16.                 <small>du {{ other.date_start|date('d-m-Y') }} au {{ other.date_end|date('d-m-Y') }}</small>
  17.             {% endif %}
  18.         </p>
  19.         {% endfor %}
  20.     </div>
  21.     {% endif %}
  22.     {% if data_spectacles.others_distrib.text is defined and data_spectacles.others_distrib.text %}
  23.     <div class="tc-block-body">
  24.         <span class="tc-text-label-inline" style="margin: 0;display: block;">{{ data_spectacles.others_distrib.text|raw }}</span>
  25.     </div>
  26.     {% endif %}
  27.     {% 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) %}
  28.         </div>
  29.     </div>
  30.     {% endif %}
  31.     {% if data_spectacles.producteurs is defined and data_spectacles.producteurs is not empty %}
  32.     <div class="tc-panel-header">
  33.         <h3>{% trans %}production{% endtrans %}</h3>
  34.     </div>
  35.     <div class="tc-panel-body">
  36.         <div class="tc-block">
  37.             <div class="tc-block-body">
  38.                 {% for idcoproducteur,coproducteur in data_spectacles.producteurs %}
  39.                 <span>
  40.                     {% include "spectacles/prod.inc.html.twig" %}
  41.                 </span>
  42.                 {% endfor %}
  43.             </div>
  44.         </div>
  45.     </div>
  46.     {% endif %}
  47.     {% if data_spectacles.coproducteurs is defined and data_spectacles.coproducteurs is not empty %}
  48.     <div class="tc-panel-header">
  49.         <h3>Coproduction</h3>
  50.     </div>
  51.     <div class="tc-panel-body">
  52.         <div class="tc-block">
  53.             <div class="tc-block-body">
  54.             {% for idcoproducteur,coproducteur in data_spectacles.coproducteurs %}
  55.                 <span>
  56.                     {% include "spectacles/prod.inc.html.twig" %}
  57.                 </span>
  58.             {% endfor %}
  59.             </div>
  60.         </div>
  61.     </div>
  62.     {% endif %}
  63.     {% if data_spectacles.producteurs_delegues is defined and data_spectacles.producteurs_delegues is not empty %}
  64.     <div class="tc-panel-header">
  65.         <h3>Production déléguée</h3>
  66.     </div>
  67.     <div class="tc-panel-body">
  68.         <div class="tc-block">
  69.             <div class="tc-block-body">
  70.             {% for idcoproducteur,coproducteur in data_spectacles.producteurs_delegues %}
  71.                     <span>
  72.                         {% include "spectacles/prod.inc.html.twig" %}
  73.                     </span>
  74.                 {% endfor %}
  75.             </div>
  76.         </div>
  77.     </div>
  78.     {% endif %}
  79.     {% if aides.aides is defined and aides.aides %}
  80.     <div class="tc-panel-header">
  81.         <h3>Soutiens</h3>
  82.     </div>
  83.     <div class="tc-panel-body">
  84.         <div class="tc-block">
  85.             <div class="tc-block-body">
  86.                 {% for idaide,aide in aides.aides.datas %}
  87.                 <span>
  88.                     <a href="/contacts/{{ aide.contact.urlClean }}/soutiens/" onclick="window.open(this.href); return false;">{{ aide.contact.organisation }}</a>
  89.                     (
  90.                     {% if aide.aide is defined and aide.aide %}
  91.                         {{ aide.aide }}
  92.                         {% if aide.aidecontact.title is defined and aide.aidecontact.title %} - {% endif %}
  93.                     {% endif %}
  94.                     {% if aide.aidecontact.title is defined and aide.aidecontact.title %}
  95.                         {{ aide.aidecontact.title }}
  96.                     {% endif %}
  97.                 </span>
  98.                 {% endfor %}
  99.             </div>
  100.         </div>
  101.     </div>
  102.     {% endif %}
  103.     {% if data_spectacles.autre_soutien is defined and data_spectacles.autre_soutien %}
  104.     <section class="tc-panel post">
  105.         <div class="tc-panel-header hidden-content">
  106.             <h3>Infos Pro</h3>
  107.         </div>
  108.         <div class="tc-panel-body">
  109.             <div class="tc-block">
  110.                 <div class="tc-block-body ">
  111.                     {% if data_spectacles.structure_diffusion is defined and data_spectacles.structure_diffusion %}
  112.                     <div class="hidden-content">
  113.                         <span>Contact diffusion du spectacle</span>
  114.                         <ul>
  115.                             {% for idiffusion,coproducteur in data_spectacles.structure_diffusion %}
  116.                             <li>
  117.                                 {% include "spectacles/prod.inc.html.twig" %}
  118.                             </li>
  119.                             {% endfor %}
  120.                         </ul>
  121.                     </div>
  122.                     <br/>
  123.                     {% endif %}
  124.                     <span class="hidden-content">{{ data_spectacles.autre_soutien.text|raw }} </span>
  125.                     {% if data_spectacles.contenupro is defined and data_spectacles.contenupro %}
  126.                     <span class="hidden-content">
  127.                         {{ data_spectacles.contenupro.text|raw }}
  128.                     </span>
  129.                     {% endif %}
  130.                     <ul class="actions tc-right">
  131.                         {% if data_spectacles.autre_soutien is defined and data_spectacles.autre_soutien %}
  132.                             <li><a href="" class="show">Plus d'infos</a></li>
  133.                         {% endif %}
  134.                     </ul>
  135.                 </div>
  136.             </div>
  137.         </div>
  138.     </section>
  139.     {% endif %}
  140. </section>