templates/textes/playlist.html.twig line 1

Open in your IDE?
  1. {% extends 'templates.html.twig' %}
  2. {% block headcontent %}
  3.     {% include "textes/texte_entete.inc.html.twig" %}
  4. {% endblock %}
  5. {% block content %}
  6. <main class="tc-desktop-2_3 tc-phone-1_1 tc-videos">
  7.     {% include 'video/embed-video.inc.html.twig' %}
  8.     {% if videos_playlist is defined and videos_playlist %}
  9.     <section class="tc-panel">
  10.         <div class="tc-panel-body tc-masonry-container">
  11.             {% for idmultimedia,video_playlist in videos_playlist %}
  12.                 {% if video_playlist.current is not defined or (video_playlist.current is defined and not video_playlist.current) %}
  13.                 <div class="tc-block tc-tablet-1_2" >
  14.                     <div class="tc-block-header">
  15.                         <span class="tc-textwrap-auteur">
  16.                             <a class="tc-titre tc-text-overflow" href="{{ url_folder }}/playlist/id/{{ playlist.urlClean }}/video/{{ video_playlist.url_clean }}?autostart">{{ video_playlist.sujet_titre }}</a>
  17.                         </span>
  18.                     </div>
  19.                     <div class="tc-block-body">
  20.                         <figure class="tc-video-16_9 tc-img-affiche-video">
  21.                             <a href="{{ url_folder }}/playlist/id/{{ playlist.urlClean }}/video/{{ video_playlist.url_clean }}?autostart#top_page_titre">
  22.                                 <img style="width:100%" src="{{ video_playlist.image_media }}" alt="Image de la vidéo {{ video_playlist.sujet_titre }}" />
  23.                             </a>
  24.                         </figure>
  25.                     </div>
  26.                 </div>
  27.                 {% endif %}
  28.             {% endfor %}
  29.         </div>
  30.     </section>
  31.     {% endif %}
  32. </main>
  33. {% endblock %}