templates/includes/aside/textes/textes_menu_extrait.html.twig line 1

Open in your IDE?
  1. {% if morearticle is defined %}
  2. <section class="tc-panel ">
  3.     <div class="tc-panel-body">
  4.     {% for language,articles in articles %}
  5.         {% if morearticle %}
  6.             <span class="tc-text-label">{{ articles.term }}</span>
  7.             <div class="tc-block tc-border-neutral tc-bgcolor-context">
  8.                 <ul class="tc-list-voir" style="padding:1em 0;">
  9.                     {% for idarticle,article in articles.content %}
  10.                         {% set media = '' %}
  11.                         {% if article.media is defined %}
  12.                             {% set media = article.media %}
  13.                         {% endif %}
  14.                         {% if typetext is not defined %}
  15.                             {% set typetext = '' %}
  16.                         {% endif %}
  17.                         {% if article.title %}
  18.                             <li class="tc-{{ article.active }}{{ media }}">
  19.                                 {% if article.first is defined %}
  20.                                 <a href="/textes/{{ url_clean }}/infos-texte/type/{{ typetext }}/"
  21.                                 title="{{ article.title }}">{{ article.titre_court }}</a>
  22.                                 {% else %}
  23.                                 <a href="/textes/{{ url_clean }}/infos-texte/type/{{ typetext }}/idcontent/{{ article.idcontent }}"
  24.                                 title="{{ article.title }}">{{ article.titre_court }}</a>
  25.                                 {% endif %}
  26.                             </li>
  27.                         {% endif %}
  28.                     {% endfor %}
  29.                 </ul>
  30.             </div>
  31.         {% endif %}
  32.     {% endfor %}
  33.     </div>
  34. </section>
  35. {% endif %}
  36. {% if detailarticle.files is defined and detailarticle.files %}
  37. <section class="tc-panel">
  38.     <div class="tc-panel-body">
  39.         {% for key,value in detailarticle.files %}
  40.             {% include 'includes/files.inc.html.twig' %}
  41.         {% endfor %}
  42.     </div>
  43. </section>
  44. {% endif %}