{% for language,articles in articles %}
{% if morearticle is defined %}
<span class="tc-text-label">{{ articles.term }}</span>
{% endif %}
{% endfor %}
{% if morearticle is defined %}
<section class="tc-panel tc-bgcolor-context">
{% for language,articles in articles %}
<div class="tc-panel-header">
<h2>Voir</h2>
</div>
<div class="tc-panel-body">
<div class="tc-block-body">
<ul class="tc-clean-list">
{% if articles.group %}
{% for group_articles in articles.group %}
{% if group_articles.classification is defined %}
<li><span class="separateur_menu_contents">{group_articles[classification]}</span>
<ul class="sous_menu_contents">
{% for idarticle,article in group_articles.content %}
{% if article.title is defined %}
<li class="tc-{{ article.active }}">
{% if article.first is defined and article.first %}
<a href="{{ url_folder }}/{{ type_class }}/"
class="{{ article.active }}{{ article.media }}" title="{{ article.title }}">{{ article.titre_court }}</a>
{% else %}
<a href="{{ url_folder }}/{{ type_class }}/idcontent/{{ article.idcontent }}" i
class="{{ article.active }}{{ article.media }}" title="{{ article.title }}">{{ article.titre_court }}</a>
{% endif %}
</li>
{% endif %}
{% endfor %}
</ul>
</li>
{% else %}
{% for idarticle,article in group_articles.content %}
{% if article.title is defined %}
{% set media = '' %}
{% if article.media is defined %}
{% set media = article.media %}
{% endif %}
<li class="tc-{{ article.active }}">
{% if article.first is defined and article.first %}
<a href="{{ url_folder }}/{{ type_class }}/"
class="{{ article.active }}{{ media }}" title="{{ article.title }}">{{ article.titre_court }}</a>
{% else %}
<a href="{{ url_folder }}/{{ type_class }}/idcontent/{{ article.idcontent }}" i
class="{{ article.active }}{{ media }}" title="{{ article.title }}">{{ article.titre_court }}</a>
{% endif %}
</li>
{% endif %}
{% endfor %}
{% endif %}
{% endfor %}
{% else %}
{% for idarticle,article in articles.content %}
{% if article.title %}
<li class="tc-{{ article.active }}">
{% if article.first %}
<a href="{{ url_folder }}/{{ type_class }}/" class="{{ article.active }}{{ article.media }}"
title="{{ article.title }}">{{ article.titre_court }}</a>
{% else %}
<a href="{{ url_folder }}/{{ type_class }}/idcontent/{{ article.idcontent }}"
class="{{ article.active }}{{ article.media }}" title="{{ article.title }}">{{ article.titre_court }}</a>
{% endif %}
</li>
{% endif %}
{% endfor %}
{% endif %}
</ul>
</div>
</div>
{% endfor %}
<div class="tc-panel-footer" style="padding: .5rem">
</div>
</section>
{% endif %}
{% if detailarticle.files is defined and detailarticle.files != 0 %}
<section class="tc-panel">
{% for key,value in detailarticle.files %}
{% include 'includes/files.inc.html.twig' %}
{% endfor %}
</section>
{% endif %}
{% if autres_spectacles is defined %}
<section class="tc-panel">
<div class="tc-panel-header">
<h2>Voir aussi les mises en scène</h2>
<h3>avec contenus « Éduc »</h3>
</div>
<div class="tc-panel-body">
{% for idspectacle,spectacle in autres_spectacles %}
<div class="tc-block">
{% include 'spectacles/spectacle_titre.inc.html.twig' %}
</div>
{% endfor %}
</div>
</section>
{% endif %}