templates/audios/listes-podcasts.inc.html.twig line 1

Open in your IDE?
  1. <div class="tc-block tc-block-article">
  2.     <div class="tc-block-header">
  3.         <div class="tc-textwrap-title tc-audios-tpl-"><span class="tc-titre" style="font-size: 1.1rem;">{{ podcast.title }}</span></div>
  4.     </div>
  5.     <div>
  6.         <p>
  7.             {{ podcast.description|raw }}
  8.         </p>
  9.         <div class="tc-text-label">
  10.             {{ podcast.date_podcast_str }}
  11.         </div>
  12.         {{ podcast.player|raw }}
  13.         {% if podcast.count_infos_total is defined and podcast.count_infos_total %}
  14.             <div class="">
  15.                 <a class="tc-btn-simple tc-open-content tc-title-{{ idpodcast }}" data-idpodcast="{{ idpodcast }}">Voir les liens associĆ©s</a>
  16.                 <div class="tc-hidden-block tc-block-{{ idpodcast }}" style="display: none;">
  17.                     <ul class="tc-clean-list">
  18.                         {% if podcast.podcast_person is defined and podcast.podcast_person %}
  19.                             <li class="tc-textwrap-auteur tc-biographies-tpl-">
  20.                                 <span class="tc-text-label-inline">Personne(s) : </span>
  21.                                 {% for idperson,author in podcast.podcast_person %}
  22.                                     <span>
  23.                                         <a class="tc-titre" 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 %}
  24.                                     </span>
  25.                                 {% endfor %}
  26.                             </li>
  27.                         {% endif %}
  28.                         {% if podcast.podcast_text is defined and podcast.podcast_text %}
  29.                             <li class="tc-textwrap-titre tc-editions-tpl-a">
  30.                                 <span class="tc-text-label-inline">Texte(s) : </span>
  31.                                 {% for idtext,text in podcast.podcast_text %}
  32.                                     <span>
  33.                                         <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 %}
  34.                                     </span>
  35.                                 {% endfor %}
  36.                             </li>
  37.                         {% endif %}
  38.                         {% if podcast.podcast_spectacle is defined and podcast.podcast_spectacle %}
  39.                             <li class="tc-textwrap-titre tc-spectacles-tpl-a">
  40.                                 <span class="tc-text-label-inline">Spectacle(s) : </span>
  41.                                 {% for idspectacle,spectacle in podcast.podcast_spectacle %}
  42.                                     <span>
  43.                                         <a class="tc-titre" href="/spectacles/{{ spectacle.url_clean }}">{{ spectacle.view_name }}</a>{% if spectacle.nopunct is not defined or (spectacle.nopunct is defined and not spectacle.nopunct) %}, {% endif %}
  44.                                     </span>
  45.                                 {% endfor %}
  46.                             </li>
  47.                         {% endif %}
  48.                         {% if podcast.podcast_contact is defined and podcast.podcast_contact %}
  49.                             <li class="tc-textwrap-titre tc-contacts-tpl-">
  50.                                 <span class="tc-text-label-inline">Structures(s) : </span>
  51.                                 {% for idcontact,contact in podcast.podcast_contact %}
  52.                                     <span>
  53.                                         <a class="tc-titre" href="/contacts/{{ contact.url_clean }}">{{ contact.view_name }}</a>{% if contact.nopunct is not defined or (contact.nopunct is defined and not contact.nopunct) %}, {% endif %}
  54.                                     </span>
  55.                                 {% endfor %}
  56.                             </li>
  57.                         {% endif %}
  58.                     </ul>
  59.                 </div>
  60.             </div>
  61.         {% endif %}
  62.     </div>
  63. </div>