templates/contacts/detail-contact.html.twig line 1

Open in your IDE?
  1. {% extends 'contacts/contact_entete.inc.html.twig' %}
  2. {% block content %}
  3. <main class="tc-desktop-2_3 tc-phone-1_1">
  4.     <!-- page d'accueil -->
  5.     {% if biotxt.text is defined and biotxt.text %}
  6.     <section class="tc-panel" >
  7.         <div class="tc-panel-header">
  8.             {% if biotxt.title is defined and biotxt.title %}
  9.             <h2>{{ biotxt.title|raw }}</h2>
  10.             {% else %}
  11.             <h2>Présentation</h2>
  12.             {% endif %}
  13.             {% if biotxt.subtitle is defined and biotxt.subtitle %}
  14.             <h3>{{  biotxt.subtitle|raw }}</h3>
  15.             {% endif %}
  16.         </div>
  17.         <div class="tc-panel-body">
  18.             {% if biotxt.deck is defined and biotxt.deck %}
  19.                 <div class="chapeau">{{ biotxt.deck|raw  }}</div>
  20.             {% endif %}
  21.             {% if biotxt.media is defined and biotxt.media %}
  22.                 {% for media in biotxt.media %}
  23.                     {% include 'includes/player.inc.html.twig' %}
  24.                 {% endfor %}
  25.             {% endif %}
  26.             {% if biotxt.text is defined and biotxt.text %}
  27.             <div class="tc-block tc-block-article">
  28.                 <div class="tc-block-body">
  29.                     {{ biotxt.text|raw }}
  30.                     {% if biotxt.text_strlen is defined and biotxt.text_strlen %}
  31.                     <a href="/contacts/{{ data_object.url_clean }}/presentation/">... Lire la suite</a>
  32.                     {% endif %}
  33.                 </div>
  34.                 {% if biotxt.link is defined and biotxt.link %}
  35.                     <p class="lien"><a href="{{ biotxt.link }}" title="{{ biotxt.linktitle }} (Nouvelle fenêtre)" onclick="window.open(this.href); return false;">{{ biotxt.linktitle }}</a></p>
  36.                 {% endif %}
  37.                 {% if biotxt.writer is defined and biotxt.writer %}
  38.                     <p class="tc-color-red tc-right">{{ biotxt.writer|raw }} </p>
  39.                 {% endif %}
  40.                 {% if biotxt.date is defined and biotxt.date %}
  41.                     <p class="date">{{ biotxt.date }} </p>
  42.                 {% endif %}
  43.             </div>
  44.             {% endif %}
  45.         </div>
  46.     </section>
  47.     {% endif %}
  48.     {% if video_tete is defined and video_tete %}
  49.     <section class="tc-panel" >
  50.         <div class="tc-panel-header">
  51.             <h2>À la Une & en vidéo</h2>
  52.         </div>
  53.         <div class="tc-panel-body">
  54.             <div class="tc-block tc-block-article">
  55.                 {% for video in video_tete.media %}
  56.                 <div class="tc-block-body tc-no-padding-mobile">
  57.                     <div class="tc-video-16_9">
  58.                         <iframe id="iframe_thtv" src="/embed/{{ video.code }}?no_title&autostart" allow="fullscreen"></iframe>
  59.                     </div>
  60.                     <div class="tc-block-body-text">
  61.                         {% if video_tete.spectacle is defined and video_tete.spectacle %}
  62.                         <a href="/spectacles/{{ video_tete.spectacle.url_clean }}/videos">{{ video.sujet_titre }}</a>
  63.                         {% else %}
  64.                         <a href="/video/{{ video.url_clean }}">{{ video.sujet_titre }}</a>
  65.                         {% endif %}
  66.                     </div>
  67.                 </div>
  68.                 {% endfor %}
  69.             </div>
  70.         </div>
  71.         <div class="tc-panel-footer">
  72.             {% if video_tete.spectacle is defined and video_tete.spectacle %}
  73.             <a href="/spectacles/{{ video_tete.spectacle.url_clean }}/videos" class="tc-more-link">Plus d'infos</a>
  74.             {% else %}
  75.                 {% for video in video_tete.media %}
  76.                 <a href="/video/{{ video.url_clean }}" class="tc-more-link">Plus d'infos</a>
  77.                 {% endfor %}
  78.             {% endif %}
  79.         </div>
  80.     </section>
  81.     {% endif %}
  82.     {%  if spectacles_affiche is defined and spectacles_affiche %}
  83.     <section class="tc-panel tc-spectacles-tpl-b">
  84.         <div class="tc-panel-header">
  85.             <h2>Spectacles</h2>
  86.             <h3 class="tc-subtitle">Prochainement à l'affiche</h3>
  87.         </div>
  88.         <div class="tc-panel-body  tc-masonry-container">
  89.             {% for idspectacle,spectacle in spectacles_affiche %}
  90.             <div class="tc-block tc-tablet-1_2">
  91.                 {% include 'spectacles/spectacle_titre.inc.html.twig' %}
  92.             </div>
  93.             {% endfor %}
  94.         </div>
  95.         <div class="tc-panel-footer">
  96.             <a href="/contacts/{{ data_object.url_clean }}/spectacles/" class="tc-more-link">Tous les spectacles à l'affiche</a>
  97.         </div>
  98.     </section>
  99.     {% endif %}
  100.     {%  if multimedia_affiches is defined and multimedia_affiches %}
  101.     <section class="tc-panel tc-spectacles-tpl-b">
  102.         <div class="tc-panel-header">
  103.             <h2>Spectacles avec vidéos</h2>
  104.             <h3>Prochainement à l'affiche</h3>
  105.         </div>
  106.         <div class="tc-panel-body tc-textes-tpl- tc-masonry-container" style="margin-bottom: 1em;">
  107.             {% for idmultimedia,video in multimedia_affiches %}
  108.             <div class="tc-block tc-tablet-1_2 tc-videos-tpl-a" style="margin:0.5em 0;">
  109.                 {% include 'videos/video_titre_v2.inc.html.twig' %}
  110.             </div>
  111.             {% endfor %}
  112.         </div>
  113.         <div class="tc-panel-footer">
  114.             <a href="/contacts/{{ data_object.url_clean }}/videos/" class="tc-more-link">Tous les spectacles avec vidéos</a>
  115.         </div>
  116.     </section>
  117.     {% endif %}
  118.     {%  if podcasts_par_date is defined and podcasts_par_date %}
  119.     <section class="tc-panel tc-spectacles-tpl-b">
  120.         <div class="tc-panel-header">
  121.             <h2>Dernières émissions référencés</h2>
  122.         </div>
  123.         <div class="tc-panel-body tc-textes-tpl-" style="margin-bottom: 1em;">
  124.             {% include 'podcasts/franceradio_liste_date.inc.html.twig' %}
  125.         </div>
  126.         <div class="tc-panel-footer">
  127.             <a href="/contacts/{{ data_object.url_clean }}/podcasts/" class="tc-more-link">Toutes les émissions</a>
  128.         </div>
  129.     </section>
  130.     {% endif %}
  131.     <!-- page critiques -->
  132.     {%  if dernieres_critiques %}
  133.     <section class="tc-panel tc-spectacles-tpl-a  ">
  134.         <div class="tc-panel-header">
  135.             <h2>Critiques</h2>
  136.             <h3 class="tc-subtitle">Dernières critiques référencées</h3>
  137.         </div>
  138.         <div class="tc-panel-body tc-masonry-container">
  139.             {% for id,critique in dernieres_critiques %}
  140.             <div class="tc-block tc-tablet-1_2 tc-critiques-tpl-a" >
  141.                 {% include 'critiques/critique_titre_simple.inc.html.twig' %}
  142.             </div>
  143.             {% endfor %}
  144.         </div>
  145.         <div class="tc-panel-footer">
  146.             <a href="/critiques" class="tc-more-link">Toutes les critiques</a>
  147.         </div>
  148.     </section>
  149.     {% endif %}
  150.     {%  if spectacles_emission is defined and spectacles_emission is not empty %}
  151.     <section class="tc-panel">
  152.         <div class="tc-panel-header">
  153.             <h2>Les émissions de Radio France</h2>
  154.             <h3>Associées aux spectacles à l'affiche</h3>
  155.         </div>
  156.         <div class="tc-panel-body tc-masonry-container">
  157.             {% for idspectacle,spectacle in spectacles_emission %}
  158.             <div class="tc-block tc-tablet-1_2">
  159.                 {% include 'spectacles/spectacle_titre.inc.html.twig' %}
  160.             </div>
  161.             {% endfor %}
  162.         </div>
  163.         <div class="tc-panel-footer">
  164.             <a href="/contacts/{{ data_object.url_clean }}/emissions/cat/podcasts-spectacles/type/in" class="tc-more-link">Toutes à l'affiche</a>
  165.         </div>
  166.     </section>
  167.     {% endif %}
  168.     {%  if schedules_dates_demains is defined and schedules_dates_demains is not empty %}
  169.     <section class="tc-panel tc-spectacles-tpl-b">
  170.         <div class="tc-panel-header">
  171.             <h2>Calendrier des productions</h2>
  172.             <h3>Spectacles produits ou coproduits par {{ data_object.organisation }}</h3>
  173.         </div>
  174.         <div class="tc-panel-body">
  175.             {% include 'includes/schedule_details.inc.html.twig' %}
  176.         </div>
  177.         <div class="tc-panel-footer">
  178.             <a href="/contacts/{{ data_object.url_clean }}/calendrier" class="tc-more-link">Toutes les dates</a>
  179.         </div>
  180.     </section>
  181.     {% endif %}
  182.     <!-- page textes -->
  183.     {% if list_textes_auteurs is defined and list_textes_auteurs is not empty %}
  184.     <section class="tc-panel">
  185.         <div class="tc-panel-header">
  186.             <h2>Les textes par l'auteur</h2>
  187.         </div>
  188.         {% for year_aide,aides in list_textes_auteurs %}
  189.         <div class="tc-panel-body tc-masonry-container">
  190.             {% for idaide,aide in aides %}
  191.                 {% for idtext,text in aide.texts %}
  192.                 <div class="tc-block tc-tablet-1_2">
  193.                     {% include 'editions/texte_auteur.inc.html.twig' %}
  194.                 </div>
  195.                 {% endfor %}
  196.             {% endfor %}
  197.         </div>
  198.         {% endfor %}
  199.         <div class="tc-panel-footer">
  200.             <a href="/contacts/{{ data_object.url_clean }}/auteurs/" class="tc-more-link">Tous les textes par leurs auteurs</a>
  201.         </div>
  202.     </section>
  203.     {% endif %}
  204.     
  205.     {%  if list_derniers_laureats is defined and list_derniers_laureats %}
  206.     <section class="tc-panel">
  207.         <div class="tc-panel-header">
  208.             <h2>Derniers lauréats</h2>
  209.         </div>
  210.         <div class="tc-panel-body tc-masonry-container">
  211.             {% for idtext,text in list_derniers_laureats %}
  212.             <div class="tc-block tc-tablet-1_2">
  213.                 {% include 'editions/texte_titre.inc.html.twig' %}
  214.             </div>
  215.             {% endfor %}
  216.         </div>
  217.         <div class="tc-panel-footer">
  218.             <a href="/contacts/{{ data_object.url_clean }}/laureats/" class="tc-more-link">Tous les lauréats</a>
  219.         </div>
  220.     </section>
  221.     {% endif %}
  222.     {%  if aides_texts_laureats_alone_affiche is defined and aides_texts_laureats_alone_affiche %}
  223.     <section class="tc-panel tc-textes-tpl-">
  224.         <div class="tc-panel-header">
  225.             <h2>Lauréats ou nominés à l'affiche</h2>
  226.         </div>
  227.         <div class="tc-panel-body tc-masonry-container ">
  228.             {% for idtext,text in aides_texts_laureats_alone_affiche %}
  229.             <div class="tc-block tc-tablet-1_2">
  230.                 {% include 'editions/texte_titre.inc.html.twig' %}
  231.             </div>
  232.             {% endfor %}
  233.         </div>
  234.         <div class="tc-panel-footer">
  235.             <a href="/contacts/{{ data_object.url_clean }}/en-scene/type/3/periode/affiche" class="tc-more-link">Tous les lauréats ou nominés à l'affiche</a>
  236.         </div>
  237.     </section>
  238.     {% endif %}
  239.     {% if aides_texts_soutiens_affiche is defined and aides_texts_soutiens_affiche %}
  240.     <section class="tc-panel tc-spectacles-tpl-b ">
  241.         <div class="tc-panel-header">
  242.             <h2>Textes soutenus à l'affiche</h2>
  243.             {% if text.aides is defined and text.aides %}
  244.                 {% for idaide,aide in text.aides %}
  245.                 <h3 class="tc-subtitle">{{ aide.aide }}</h3>
  246.                 {% endfor %}
  247.             {% endif %}
  248.         </div>
  249.         <div class="tc-panel-body tc-masonry-container">
  250.             {% for idtext,text in aides_texts_soutiens_affiche %}
  251.             <div class="tc-block tc-tablet-1_2">
  252.                 {% include 'editions/texte_titre.inc.html.twig' %}
  253.             </div>
  254.             {% endfor %}
  255.         </div>
  256.         <div class="tc-panel-footer">
  257.             <a href="/contacts/{{ data_object.url_clean }}/en-scene/periode/affiche/type/1" class="tc-more-link">Tous les textes à l'affiche</a>
  258.         </div>
  259.     </section>
  260.     {% endif %}
  261.     {% if spectacles_podcasts is defined and spectacles_podcasts %}
  262.     <section class="tc-panel">
  263.         <div class="tc-panel-header">
  264.             <h2>Les émissions de {{ data_object.fullname }}</h2>
  265.             <h3>Associées aux spectacles à l'affiche</h3>
  266.         </div>
  267.         <div class="tc-panel-body tc-masonry-container">
  268.             {% for idspectacle,spectacle in spectacles_podcasts %}
  269.             <div class="tc-block tc-tablet-1_2">
  270.                 {% include 'spectacles/spectacle_titre.inc.html.twig' %}
  271.             </div>
  272.             {% endfor %}
  273.         </div>
  274.         <div class="tc-panel-footer">
  275.             <a href="/contacts/{{ data_object.url_clean }}/emissions/cat/podcasts-spectacles/type/in" class="tc-more-link">Tous à l'affiche</a>
  276.         </div>
  277.     </section>
  278.     {% endif %}
  279.     <!-- page spectacles -->
  280.     {% if aides_spectacles_laureats_affiche is defined and aides_spectacles_laureats_affiche %}
  281.     <section class="tc-panel tc-spectacles-tpl-b ">
  282.         <div class="tc-panel-header">
  283.             <h2>Prochains spectacles</h2>
  284.             <h3 class="tc-subtitle">lauréats ou nominés à l'affiche</h3>
  285.         </div>
  286.         <div class="tc-panel-body tc-masonry-container">
  287.             {% for idspectacle,spectacle in aides_spectacles_laureats_affiche %}
  288.             <div class="tc-block tc-tablet-1_2">
  289.                 {% include 'spectacles/spectacle_titre.inc.html.twig' %}
  290.             </div>
  291.             {% endfor %}
  292.         </div>
  293.         <div class="tc-panel-footer">
  294.             <a href="/contacts/{{ data_object.url_clean }}/spectacles/" class="tc-more-link">Tous les spectacles</a>
  295.         </div>
  296.     </section>
  297.     {% endif %}
  298.     <!-- page en scènes -->
  299.     {% if spectacles_par_role_diffuseurs is defined and spectacles_par_role_diffuseurs %}
  300.     <section class="tc-panel tc-spectacles-tpl-b ">
  301.         <div class="tc-panel-header">
  302.             <h2>Derniers spectacles en scène</h2>
  303.             <h3 class="tc-subtitle">Diffusés par {{ data_object.fullname }}</h3>
  304.         </div>
  305.         <div class="tc-panel-body tc-masonry-container">
  306.             {% for idspectacle,spectacle in spectacles_par_role_diffuseurs %}
  307.             <div class="tc-block tc-tablet-1_2">
  308.                 {% include 'spectacles/spectacle_titre.inc.html.twig' %}
  309.             </div>
  310.             {% endfor %}
  311.         </div>
  312.         <div class="tc-panel-footer">
  313.             <a href="/contacts/{{ data_object.url_clean }}/spectacles" class="tc-more-link">Tous les spectacles</a>
  314.         </div>
  315.     </section>
  316.     {% endif %}
  317.     {% if spectacles_prod is defined and spectacles_prod %}
  318.     <section class="tc-panel tc-spectacles-tpl-b ">
  319.         <div class="tc-panel-header">
  320.             <h2>En scène</h2>
  321.             <h3 class="tc-subtitle">Spectacles produits ou coproduits par {{ data_object.organisation }}</h3>
  322.         </div>
  323.         <div class="tc-panel-body tc-masonry-container">
  324.             {% for idspectacle,spectacle in spectacles_prod %}
  325.             <div class="tc-block tc-tablet-1_2">
  326.                 {% include 'spectacles/spectacle_titre.inc.html.twig' %}
  327.             </div>
  328.             {% endfor %}
  329.         </div>
  330.         <div class="tc-panel-footer">
  331.             <a href="/contacts/{{ data_object.url_clean }}/spectacles/type/coprod/" class="tc-more-link">Toutes les productions en scène</a>
  332.         </div>
  333.     </section>
  334.     {% endif %}
  335.     {% if textes_selections_affiches is defined and textes_selections_affiches %}
  336.     <section class="tc-panel tc-spectacles-tpl-b">
  337.         <div class="tc-panel-header">
  338.             <h2>Textes sélectionnés</h2>
  339.             <h3 class="tc-subtitle">Prochainement à l'affiche</h3>
  340.         </div>
  341.         <div class="tc-panel-body tc-textes-tpl- tc-masonry-container">
  342.             {% for idtext,text in textes_selections_affiches %}
  343.             <div  class="tc-block tc-tablet-1_2">
  344.                 {% include 'editions/texte_titre.inc.html.twig' %}
  345.             </div>
  346.             {% endfor %}
  347.         </div>
  348.         <div class="tc-panel-footer">
  349.             <a href="/contacts/{{ data_object.url_clean }}/en-scene/periode/affiche/type/4" class="tc-more-link">Tous les textes sélectionnés à l'affiche</a>
  350.         </div>
  351.     </section>
  352.     {% endif %}
  353.     {% if list_spectacles_sountenu_par_ecole is defined and list_spectacles_sountenu_par_ecole %}
  354.     <section class="tc-panel">
  355.         <div class="tc-panel-header">
  356.             <h2>Derniers spectacles soutenus par {{ data_object.organisation }}</h2>
  357.         </div>
  358.         <div class="tc-panel-body tc-masonry-container">
  359.             {% for idspectacle,spectacle in list_spectacles_sountenu_par_ecole %}
  360.             <div class="tc-block tc-tablet-1_2">
  361.                 {% include 'spectacles/spectacle_titre.inc.html.twig' %}
  362.             </div>
  363.             {% endfor %}
  364.         </div>
  365.         <div class="tc-panel-footer">
  366.             <a href="/contacts/{{ data_object.url_clean }}/soutiens/type/spectacle" class="tc-more-link">Tous les spectacles soutenus</a>
  367.         </div>
  368.     </section>
  369.     {% endif %}
  370.     {% if list_spectacles_sountenu_prochains is defined and list_spectacles_sountenu_prochains %}
  371.     <section class="tc-panel">
  372.         <div class="tc-panel-header">
  373.             <h2>Prochains spectacles à l'affiche soutenus par {{ data_object.organisation }}</h2>
  374.         </div>
  375.         <div class="tc-panel-body tc-masonry-container">
  376.             {% for idspectacle,spectacle in list_spectacles_sountenu_prochains %}
  377.             <div class="tc-block tc-tablet-1_2">
  378.                 {% include 'spectacles/spectacle_titre.inc.html.twig' %}
  379.             </div>
  380.             {% endfor %}
  381.         </div>
  382.         <div class="tc-panel-footer">
  383.             <a href="/contacts/{{ data_object.url_clean }}/spectacles/type/soutiens" class="tc-more-link">Tous les spectacles à l'affiche</a>
  384.         </div>
  385.     </section>
  386.     {% endif %}
  387.     {% if list_spectacles_selectionnes_par_ecole is defined and list_spectacles_selectionnes_par_ecole %}
  388.     <section class="tc-panel">
  389.         <div class="tc-panel-header">
  390.             <h2>Derniers spectacles sélectionnés par {{ data_object.organisation }}</h2>
  391.         </div>
  392.         <div class="tc-panel-body tc-masonry-container">
  393.             {% for idspectacle,spectacle in list_spectacles_selectionnes_par_ecole %}
  394.             <div class="tc-block tc-tablet-1_2">
  395.                 {% include 'spectacles/spectacle_titre.inc.html.twig' %}
  396.             </div>
  397.             {% endfor %}
  398.         </div>
  399.         <div class="tc-panel-footer">
  400.             <a href="/contacts/{{ data_object.url_clean }}/selections/type/spectacle?" class="tc-more-link">Tous les spectacles sélectionnés</a>
  401.         </div>
  402.     </section>
  403.     {% endif %}
  404.     {% if list_spectacles_selectionne_prochains is defined and list_spectacles_selectionne_prochains %}
  405.     <section class="tc-panel">
  406.         <div class="tc-panel-header">
  407.             <h2>Prochains spectacles à l'affiche sélectionnés par {{ data_object.organisation }}</h2>
  408.         </div>
  409.         <div class="tc-panel-body tc-masonry-container">
  410.             {% for idspectacle,spectacle in list_spectacles_selectionne_prochains %}
  411.             <div class="tc-block tc-tablet-1_2">
  412.                 {% include 'spectacles/spectacle_titre.inc.html.twig' %}
  413.             </div>
  414.             {% endfor %}
  415.         </div>
  416.         <div class="tc-panel-footer">
  417.             <a href="/contacts/{{ data_object.url_clean }}/spectacles/type/selections" class="tc-more-link">Tous les spectacles à l'affiche</a>
  418.         </div>
  419.     </section>
  420.     {% endif %}
  421.     {% if textes_nommes is defined and textes_nommes %}
  422.     <section class="tc-panel">
  423.         <div class="tc-panel-header">
  424.             <h2 class="tc-subtitle">Derniers textes nommés par {{ data_object.organisation }}</h2>
  425.         </div>
  426.         <div class="tc-panel-body tc-masonry-container">
  427.             {% for idtext,text in textes_nommes %}
  428.             <div class="tc-block tc-tablet-1_2">
  429.                 {% include 'editions/texte_titre.inc.html.twig' %}
  430.             </div>
  431.             {% endfor %}
  432.         </div>
  433.         <div class="tc-panel-footer">
  434.             <a href="/contacts/{{ data_object.url_clean }}/nominations/type/text" class="tc-more-link">Tous les textes nommés</a>
  435.         </div>
  436.     </section>
  437.     {% endif %}
  438.     {% if textes_soutenus is defined and textes_soutenus %}
  439.     <section class="tc-panel">
  440.         <div class="tc-panel-header">
  441.             <h2 class="tc-subtitle">Derniers textes soutenus par {{ data_object.organisation }}</h2>
  442.         </div>
  443.         <div class="tc-panel-body tc-masonry-container">
  444.             {% for idtext,text in textes_soutenus %}
  445.             <div class="tc-block tc-tablet-1_2">
  446.                 {% include 'editions/texte_titre.inc.html.twig' %}
  447.             </div>
  448.             {% endfor %}
  449.         </div>
  450.         <div class="tc-panel-footer">
  451.             <a href="/contacts/{{ data_object.url_clean }}/soutiens/" class="tc-more-link">Tous les textes soutenus</a>
  452.         </div>
  453.     </section>
  454.     {% endif %}
  455.     {% if textes_selectionnes is defined and textes_selectionnes %}
  456.     <section class="tc-panel">
  457.         <div class="tc-panel-header">
  458.             <h2 class="tc-subtitle">Derniers textes sélectionnés par {{ data_object.organisation }}</h2>
  459.         </div>
  460.         <div class="tc-panel-body tc-masonry-container">
  461.             {% for idtext,text in textes_selectionnes %}
  462.             <div class="tc-block tc-tablet-1_2">
  463.                 {% include 'editions/texte_titre.inc.html.twig' %}
  464.             </div>
  465.             {% endfor %}
  466.         </div>
  467.         <div class="tc-panel-footer">
  468.             <a href="/contacts/{{ data_object.url_clean }}/selections/" class="tc-more-link">Tous les textes sélectionnés</a>
  469.         </div>
  470.     </section>
  471.     {% endif %}
  472.     <!-- page derniers spectacles programmés -->
  473.     {% if spectacles_derniers is defined and spectacles_derniers is not empty %}
  474.     <section class="tc-panel tc-spectacles-tpl-b ">
  475.         <div class="tc-panel-header">
  476.             <h2>Derniers spectacles programmés</h2>
  477.         </div>
  478.         <div class="tc-panel-body tc-masonry-container">
  479.             {% for idspectacle,spectacle in spectacles_derniers %}
  480.             <div class="tc-block tc-tablet-1_2">
  481.                 {% include 'spectacles/spectacle_titre.inc.html.twig' %}
  482.             </div>
  483.             {% endfor %}
  484.         </div>
  485.         <div class="tc-panel-footer">
  486.             <a href="/contacts/{{ data_object.url_clean }}/spectacles/type/anciens" class="tc-more-link">Tous les spectacles passés</a>
  487.         </div>
  488.     </section>
  489.     {% else %}
  490.         {% if spectacles_prod_derniers is defined and spectacles_prod_derniers %}
  491.         <section class="tc-panel tc-spectacles-tpl-b ">
  492.             <div class="tc-panel-header">
  493.                 <h2>Derniers spectacles en scène</h2>
  494.                 <h3 class="tc-subtitle">Produits (ou coproduits) par {{ data_object.fullname }}</h3>
  495.             </div>
  496.             <div class="tc-panel-body tc-masonry-container">
  497.                 {% for idspectacle,spectacle in spectacles_prod_derniers %}
  498.                 <div class="tc-block tc-tablet-1_2">
  499.                     {% include 'spectacles/spectacle_titre.inc.html.twig' %}
  500.                 </div>
  501.                 {% endfor %}
  502.             </div>
  503.             <div class="tc-panel-footer">
  504.                 <a href="/contacts/{{ data_object.url_clean }}/spectacles" class="tc-more-link">Tous les spectacles</a>
  505.             </div>
  506.         </section>
  507.         {% endif %}
  508.     {% endif %}
  509.     <!-- CATEGORIE INCONNU -->
  510.     {% if laureats.nb_laureats is defined and laureats.nb_laureats %}
  511.     <section class="tc-panel tc-textes-tpl- ">
  512.         <div class="tc-panel-header">
  513.             <h2>Lauréats {{ laureats.year }}</h2>
  514.             {% for text in laureats.text %}
  515.             <h3 class="tc-subtitle">{{ texte.aide.aide }}</h3>
  516.         </div>
  517.         <div class="tc-panel-body tc-masonry-container">
  518.             {% for idtext,text in text.texts %}
  519.             <div class="tc-block tc-tablet-1_2">
  520.                 {% include 'editions/texte_titre.inc.html.twig' %}
  521.             </div>
  522.             {% endfor %}
  523.         </div>
  524.         {% endfor %}
  525.         {% for spectacle in laureats.spectacle %}
  526.             <h3 class="tc-subtitle">{{ spectacle.aide.aide }}</h3>
  527.         <div class="tc-panel-body tc-masonry-container">
  528.             {% for idspectacle,spectacle in spectacle.spectacles %}
  529.             <div class="tc-block tc-tablet-1_2">
  530.                 {% include 'spectacles/spectacle_titre.inc.html.twig' %}
  531.             </div>
  532.             {% endfor %}
  533.         </div>
  534.         {% endfor %}
  535.     </section>
  536.     {% endif %}
  537.     {% if spectacles_anciens_etudiants_affiches is defined and spectacles_anciens_etudiants_affiches %}
  538.     <section class="tc-panel">
  539.         <div class="tc-panel-header">
  540.             <h2>Les anciens étudiants à l'affiche</h2>
  541.         </div>
  542.         <div class="tc-panel-body tc-masonry-container">
  543.             {% for idspectacle,spectacle in spectacles_anciens_etudiants_affiches %}
  544.             <div class="tc-block tc-tablet-1_2">
  545.                 {% include 'spectacles/spectacle_titre.inc.html.twig' %}
  546.             </div>
  547.             {% endfor %}
  548.         </div>
  549.         <div class="tc-panel-footer">
  550.             <a href="/contacts/{{ data_object.url_clean }}/etudiants-spectacles-tous" class="tc-more-link">Tous les étudiants à l'affiche</a>
  551.         </div>
  552.     </section>
  553.     {% endif %}
  554.     <!-- page dernières vidéos -->
  555.     {% if videos_last_publish is defined and videos_last_publish is not empty %}
  556.     <section class="tc-panel tc-spectacles-tpl-b">
  557.         <div class="tc-panel-header">
  558.             <h2>Dernières vidéos ajoutées</h2>
  559.             <h3>En partenariat avec {{ data_object.fullname }}</h3>
  560.         </div>
  561.         <div class="tc-panel-body tc-textes-tpl- tc-masonry-container" style="margin-bottom: 1em;">
  562.             {% for idmultimedia,video in videos_last_publish %}
  563.             <div class="tc-block tc-tablet-1_2 tc-videos-tpl-a" style="margin:0.5em 0;">
  564.                 {% include 'videos/video_titre_mini.inc.html.twig' %}
  565.             </div>
  566.             {% endfor %}
  567.         </div>
  568.         <div class="tc-panel-footer">
  569.             <a href="/contacts/{{ data_object.url_clean }}/videos/type/partenariat/" class="tc-more-link">Toutes les vidéos en partenariat</a>
  570.         </div>
  571.     </section>
  572.     {% endif %}
  573. </main>
  574. {% endblock %}