{% if morearticle is defined %}
<section class="tc-panel ">
<div class="tc-panel-body">
{% for language,articles in articles %}
{% if morearticle %}
<span class="tc-text-label">{{ articles.term }}</span>
<div class="tc-block tc-border-neutral tc-bgcolor-context">
<ul class="tc-list-voir" style="padding:1em 0;">
{% for idarticle,article in articles.content %}
{% set media = '' %}
{% if article.media is defined %}
{% set media = article.media %}
{% endif %}
{% if typetext is not defined %}
{% set typetext = '' %}
{% endif %}
{% if article.title %}
<li class="tc-{{ article.active }}{{ media }}">
{% if article.first is defined %}
<a href="/textes/{{ url_clean }}/infos-texte/type/{{ typetext }}/"
title="{{ article.title }}">{{ article.titre_court }}</a>
{% else %}
<a href="/textes/{{ url_clean }}/infos-texte/type/{{ typetext }}/idcontent/{{ article.idcontent }}"
title="{{ article.title }}">{{ article.titre_court }}</a>
{% endif %}
</li>
{% endif %}
{% endfor %}
</ul>
</div>
{% endif %}
{% endfor %}
</div>
</section>
{% endif %}
{% if detailarticle.files is defined and detailarticle.files %}
<section class="tc-panel">
<div class="tc-panel-body">
{% for key,value in detailarticle.files %}
{% include 'includes/files.inc.html.twig' %}
{% endfor %}
</div>
</section>
{% endif %}