templates/playlists/playlist_v2.html.twig line 1

Open in your IDE?
  1. <section class="tc-panel">
  2.     <div class="tc-panel-header">
  3.         <h2>{{ playlist.title }}</h2>
  4.     </div>
  5.     <div class="tc-panel-body">
  6.     {% for video in videos_playlist  %}
  7.         {% if video.current is defined and video.current %}
  8.             <div class="tc-block">
  9.                 {% if video.description_html is defined and video.description_html %}
  10.                 <div class="tc-block-body tc-no-padding-mobile">
  11.                     <div class="tc-video-16_9">
  12.                         <iframe id="iframe_thtv" width="100%" height="415" src="/embed/{{ video.code }}?no_title&autostart" allow="fullscreen"></iframe>
  13.                     </div>
  14.                 </div>
  15.                 {% endif %}
  16.             </div>
  17.             <div class="clearfix">
  18.                 <div class="tc-block tc-tablet-1_2">
  19.                     {% if video.partenaires is defined and video.partenaires %}
  20.                     <span class="tc-textwrap-titre">
  21.                         <span class="tc-text-label-inline">Partenaire :
  22.                             {% for k,v in video.partenaires %}
  23.                             <a href="/contacts/{v[url_clean]}">{{ v.organisation }}
  24.                                 {% if v.nopunct is not defined or (v.nopunct is defined and not v.nopunct) %},{% endif %}
  25.                             </a>
  26.                             {% endfor %}
  27.                         </span>
  28.                     </span>
  29.                     {% endif %}
  30.                 </div>
  31.                 <div class="tc-block tc-tablet-1_2">
  32.                     <div class="tc-block-body tc-social">
  33.                         Partager cette vidéo :
  34.                         <ul>
  35.                             <li><a target="_blank" title="Cliquez pour partager sur Facebook" href="http://www.facebook.com/sharer/sharer.php?u={{ video.permalink }}" class="tc-ext-link"><span class="tc-icon-facebook"></span>Facebook</a></li>
  36.                             <li><a target="_blank" title="Cliquez pour partager sur Twitter" href="http://twitter.com/home?status= '{{ video.sujet_titre }}' sur {{ video.permalink }} @thnet" via="thnet" rel="nofollow" class="tc-ext-link"><span class="tc-icon-twitter"></span>Twitter</a></li>
  37.                             <li><a target="_blank" title="Cliquez pour partager par Email" href="mailto:?subject=Vidéo {{ video.sujet_titre }} &amp;body=Bonjour %0D%0A%0D%0AEn lien une vidéo vue sur theatre-contemporain %0D%0A{{ video.permalink }}" class="tc-ext-link"><span class="tc-icon-mail"></span>Mail</a></li>
  38.                         </ul>
  39.                     </div>
  40.                 </div>
  41.             </div>
  42.             <div class="tc-block tc-block-article">
  43.                 <div class="tc-block-body">
  44.                     <p class="">{{ video.description }}</p>
  45.                 </div>
  46.             </div>
  47.             <div class="post tc-tablet-1_1">
  48.                 <div class="row hidden-content">
  49.                     <div class="tc-block tc-tablet-1_2">
  50.                         <div class="tc-block-header">
  51.                             <h2 class="tc-title-medium" >Détail de la vidéo</h2>
  52.                         </div>
  53.                         <div class="tc-block-body">
  54.                             <ul>
  55.                                 {% if video.langue is defined and video.langue %}
  56.                                     <li>
  57.                                         <span class="tc-text-label-inline">Langue : </span> {{ video.langue }}
  58.                                     </li>
  59.                                 {% endif %}
  60.                                 {% if video.duree_site_sec is defined and video.duree_site_sec %}
  61.                                     <li>
  62.                                         <span class="tc-text-label-inline">Durée : </span> {{ video.duree_site_sec_human }}
  63.                                     </li>
  64.                                 {% endif %}
  65.                                 {% if video.lieu is defined and video.lieu %}
  66.                                     <li>
  67.                                         <span class="tc-text-label-inline">Lieu : </span> {{ video.lieu }}
  68.                                     </li>
  69.                                 {% endif %}
  70.                                 {% if video.particip_comed is defined and video.particip_comed %}
  71.                                     <li>
  72.                                         <span class="tc-text-label-inline">Participants/comédiens : </span> {{ video.particip_comed }}
  73.                                     </li>
  74.                                 {% endif %}
  75.                                 {% if video.copyright is defined and video.copyright %}
  76.                                     <li>
  77.                                         <span class="tc-text-label-inline">Copyright : </span> {{ video.copyright }}
  78.                                     </li>
  79.                                 {% endif %}
  80.                                 {% if video.dateinsert is defined and video.dateinsert %}
  81.                                     <li>
  82.                                         <span class="tc-text-label-inline">Ajoutée le</span> {{ video.date }}
  83.                                     </li>
  84.                                     {% endif %}
  85.                                 {% if video.typemultimedia is defined %}
  86.                                     <li>
  87.                                         <span class="tc-text-label-inline">Type : </span>{{ video.typemultimedia }}<span class="tc-text-label-inline"><small>
  88.                                         {% if video.only_sound is defined and video.only_sound %}(document sonore){% else %} (document vidéo){% endif %}</small></span>
  89.                                     </li>
  90.                                     <li><span class="tc-text-label-inline">Nombre de vue(s) : </span> {{ video.count_view }} vue(s)</li>
  91.                                     <li><span class="tc-text-label-inline">ID vidéo : </span> {{ video.idmultimedia }}</li>
  92.                                 {% endif %}
  93.                             </ul>
  94.                         </div>
  95.                     </div>
  96.                     {% if no_apropos is not defined or no_apropos == false %}
  97.                     <div class="tc-block tc-tablet-1_2">
  98.                         <div class="tc-block-header">
  99.                             <h2 class="tc-title-medium" >&Agrave; propos de...</h2>
  100.                         </div>
  101.                         <div class="tc-block-body">
  102.                             <ul>
  103.                                 {% if video.spectacles is defined and video.spectacles %}
  104.                                 <li class="tc-textwrap-titre tc-spectacles-tpl-a">
  105.                                     <span class="tc-text-label-inline">Spectacle(s) : </span>
  106.                                     {% for idspectacle,spectacle in video.spectacles %}
  107.                                     <span>
  108.                                         <a class="tc-titre" href="/spectacles/{{ url_clean }}">{{ spectacle.title }}</a>
  109.                                         {% if spectacle.nopunct is not defined or (spectacle.nopunct is defined and not spectacle.nopunct) %}, {% endif %}
  110.                                     </span>
  111.                                     {% endfor %}
  112.                                 </li>
  113.                                 {% endif %}
  114.                                 {% if videoauthors is defined and videoauthors %}
  115.                                 <li class="tc-textwrap-auteur">
  116.                                     <span class="tc-text-label-inline">Auteur(s) : </span>
  117.                                     {% for idperson,author in video.authors %}
  118.                                     <span>
  119.                                         <a href="/biographies/{{ author.url_clean }}">{{ author.firstname }} {{ author.lastname }}</a>{% if author.nopunct is not defined or (author.nopunct is defined and not author.nopunct) %}, {% endif %}
  120.                                     </span>
  121.                                     {% endfor %}
  122.                                 </li>
  123.                                 {% endif %}
  124.                                 {% if videodirectors is defined and videodirectors %}
  125.                                 <li class="tc-textwrap-auteur">
  126.                                     <span class="tc-text-label-inline">Metteur(s) en scène : </span>
  127.                                     {% for idperson,director in video.directors %}
  128.                                     <span>
  129.                                         <a href="/biographies/{{ director.url_clean }}">{{ director.firstname }} {{ director.lastname }}</a>{% if director.nopunct is not defined or (director.nopunct is defined and not director.nopunct) %}, {% endif %}
  130.                                     </span>
  131.                                     {% endfor %}
  132.                                 </li>
  133.                                 {% endif %}
  134.                                 {% if videoactors is defined and videoactors %}
  135.                                 <li class="tc-textwrap-auteur">
  136.                                     <span class="tc-text-label-inline">Acteur(s) : </span>
  137.                                     {% for idperson,actor in video.actors %}
  138.                                     <span>
  139.                                         <a href="/biographies/{{ actor.url_clean }}">{{ actor.firstname }} {{ actor.lastname }}</a>{% if actor.nopunct is not defined or (actor.nopunct is defined and not actor.nopunct) %}, {% endif %}
  140.                                     </span>
  141.                                     {% endfor %}
  142.                                 </li>
  143.                                 {% endif %}
  144.                                 {% if videointervenants is defined and videointervenants %}
  145.                                 <li class="tc-textwrap-auteur">
  146.                                     <span class="tc-text-label-inline">Intervenant(s) : </span>
  147.                                     {% for idperson,person in video.intervenants %}
  148.                                     <span>
  149.                                         <a href="/biographies/{{ person.url_clean }}">{{ person.firstname }} {{ person.lastname }}</a>{% if person.nopunct is not defined or (person.nopunct is defined and not person.nopunct) %}, {% endif %}
  150.                                     </span>
  151.                                     {% endfor %}
  152.                                 </li>
  153.                                 {% endif %}
  154.                                 {% if videotexts is defined and videotexts %}
  155.                                 <li class="tc-textwrap-titre tc-editions-tpl-a">
  156.                                     <span class="tc-text-label-inline">Texte(s) : </span>
  157.                                     {% for idtext,text in video.texts %}
  158.                                     <span>
  159.                                         <a class="tc-titre" href="/textes/{{ text.url_clean }}/">{{ text.title }}</a>{% if text.nopunct is not defined or (text.nopunct is defined and not text.nopunct) %}, {% endif %}
  160.                                     </span>
  161.                                     {% endfor %}
  162.                                 </li>
  163.                                {% endif %}
  164.                             </ul>
  165.                         </div>
  166.                     </div>
  167.                     {% endif %}
  168.                     {% include 'video/shares.inc.html.twig' %}
  169.                 </div>
  170.                 <div class="actions tc-block tc-left">
  171.                     <p><a href="" class="show tc-btn-simple" >Plus d'infos</a></p>
  172.                 </div>
  173.             </div>
  174.         {% endif %}
  175.     {% endfor %}
  176.     </div>
  177. </section>