<aside id="sidebar" class="{% if themePage is defined %} theme-page {% endif %}" >
<button id="closeSidebar">
<i class="fa-solid fa-xmark"></i>
</button>
{% if categoryActu is defined and categoryActu|length > 0 %}
<div class="block actus">
<h2>
<span class="icon">
<svg width="30" height="30" viewBox="0 0 30 30" fill="none" xmlns="http://www.w3.org/2000/svg">
<path d="M11.65 18.1926V25.4C11.65 27.2501 13.1498 28.75 15 28.75C16.8502 28.75 18.35 27.2502 18.35 25.4V18.1926C18.35 17.5959 18.5871 17.0236 19.009 16.6016L27.6517 7.95901C28.3549 7.25575 28.75 6.30192 28.75 5.30736V5C28.75 2.92893 27.0711 1.25 25 1.25H5C2.92893 1.25 1.25 2.92893 1.25 5V5.30736C1.25 6.30192 1.64509 7.25575 2.34835 7.95901L10.991 16.6017C11.4129 17.0236 11.65 17.5959 11.65 18.1926Z" stroke="#515462" stroke-width="1.5"/>
</svg>
</span>
Catégories
</h2>
<nav>
<ul class="container-actus">
<li class="actu" data-link>
<a href="{{ path('app_actuality_list') }}" class="link-arrow">
<i class="fa-solid fa-chevron-right"></i>
Voir toutes les actualités
</a>
</li>
{% for category in categoryActu %}
<li class="actu" data-link>
<a href="{{ path('app_actuality_list', {'category': category.slug}) }}" class="link-arrow">
<i class="fa-solid fa-chevron-right"></i>
{{ category.name }}
</a>
</li>
{% endfor %}
</ul>
</nav>
</div>
{% endif %}
{% if page.pagesAssociates is defined and page.pagesAssociates|length > 0 or page.compositionAssociate is defined and page.compositionAssociate or page.fullMemberAssociate is defined and page.fullMemberAssociate or page.departementAssociate is defined and page.departementAssociate or page.partnerAssociate is defined and page.partnerAssociate or page.publicationAssociate is defined and page.publicationAssociate or page.theseAssociate is defined and page.theseAssociate or page.actualityAssociate is defined and page.actualityAssociate or page.definitionAssociate is defined and page.definitionAssociate or page.joinAssociate is defined and page.joinAssociate or page.aboutAssociate is defined and page.aboutAssociate or page.manuelAssociate is defined and page.manuelAssociate %}
<div class="block page">
<h2>
<span class="icon">
<svg class="page" width="32" height="28" viewBox="0 0 32 28" fill="none" xmlns="http://www.w3.org/2000/svg">
<path d="M0.75 3.33336C0.75 2.38811 1.51628 1.62183 2.46154 1.62183H29.5385C30.4837 1.62183 31.25 2.38811 31.25 3.33336V10.718V24.6667C31.25 25.612 30.4837 26.3782 29.5385 26.3782H2.46154C1.51628 26.3782 0.75 25.612 0.75 24.6667V10.718V3.33336Z" stroke="#515462" stroke-width="1.5"/>
<circle cx="6.56388" cy="6.61539" r="1.64103" fill="#515462"/>
<circle cx="10.6664" cy="6.61539" r="1.64103" fill="#515462"/>
</svg>
</span>
Pages associées
</h2>
<nav>
<ul class="links">
{% if page.pagesAssociates|length > 0 %}
{% for pageLink in page.pagesAssociates %}
<li>
{% if pageLink.themePublication %}
<a class="link-arrow" href="{{ path('app_page_show', {'slugTheme': 'publication', 'slugPage': pageLink.slug}) }}">
<i class="fa-solid fa-chevron-right"></i>
{{ pageLink.title }}
</a>
{% else %}
<a class="link-arrow" href="{{ path('app_page_show', {'slugTheme': pageLink.theme.slug, 'slugPage': pageLink.slug}) }}">
<i class="fa-solid fa-chevron-right"></i>
{{ pageLink.title }}
</a>
{% endif %}
</li>
{% endfor %}
{% endif %}
{% if page.aboutAssociate is defined and page.aboutAssociate %}
<li>
<a class="link-arrow" href="{{ path('app_about_index') }}">
<i class="fa-solid fa-chevron-right"></i>
A propos
</a>
</li>
{% endif %}
{% if page.compositionAssociate is defined and page.compositionAssociate %}
<li>
<a class="link-arrow" href="{{ path('app_composition_index') }}">
<i class="fa-solid fa-chevron-right"></i>
Composition
</a>
</li>
{% endif %}
{% if page.fullMemberAssociate is defined and page.fullMemberAssociate %}
<li>
<a class="link-arrow" href="{{ path('app_full_member_page_index') }}">
<i class="fa-solid fa-chevron-right"></i>
Membres titulaires
</a>
</li>
{% endif %}
{% if page.departementAssociate is defined and page.departementAssociate %}
<li>
<a class="link-arrow" href="{{ path('app_departement_index') }}">
<i class="fa-solid fa-chevron-right"></i>
Départements
</a>
</li>
{% endif %}
{% if page.partnerAssociate is defined and page.partnerAssociate %}
<a class="link-arrow" href="{{ path('app_partenaire_page_index') }}">
<i class="fa-solid fa-chevron-right"></i>
Partenaires
</a>
{% endif %}
{% if page.publicationAssociate is defined and page.publicationAssociate %}
<li>
<a class="link-arrow" href="{{ path('app_publication_list') }}">
<i class="fa-solid fa-chevron-right"></i>
Les Publications
</a>
</li>
{% endif %}
{% if page.theseAssociate is defined and page.theseAssociate %}
<li>
<a class="link-arrow" href="{{ path('app_these_list') }}">
<i class="fa-solid fa-chevron-right"></i>
Les thèses
</a>
</li>
{% endif %}
{% if page.actualityAssociate is defined and page.actualityAssociate %}
<li>
<a class="link-arrow" href="{{ path('app_actuality_list') }}">
<i class="fa-solid fa-chevron-right"></i>
Actualités
</a>
</li>
{% endif %}
{% if page.definitionAssociate is defined and page.definitionAssociate %}
<li>
<a class="link-arrow" href="{{ path('app_definition_page_index') }}">
<i class="fa-solid fa-chevron-right"></i>
Les définitions
</a>
</li>
{% endif %}
{% if page.manuelAssociate is defined and page.manuelAssociate %}
<li>
<a class="link-arrow" href="{{ path('app_manuel_page_index') }}">
<i class="fa-solid fa-chevron-right"></i>
Les manuels
</a>
</li>
{% endif %}
{% if page.joinAssociate is defined and page.joinAssociate %}
<li>
<a class="link-arrow" href="{{ path('app_join_index') }}">
<i class="fa-solid fa-chevron-right"></i>
Adhérer
</a>
</li>
{% endif %}
</ul>
</nav>
</div>
{% endif %}
{% if page.documentAssociates is defined and page.documentAssociates|length > 0 %}
<div class="block document">
<h2>
<span class="icon">
<svg width="21" height="26" viewBox="0 0 21 26" fill="none" xmlns="http://www.w3.org/2000/svg">
<path d="M0.75 3C0.75 1.75736 1.75736 0.75 3 0.75H13.5601L17.0757 4.33461L20.25 7.93072V23C20.25 24.2426 19.2426 25.25 18 25.25H3C1.75736 25.25 0.75 24.2426 0.75 23V3Z" stroke="#515462" stroke-width="1.5"/>
</svg>
</span>
Fichiers associés
</h2>
<div class="container-files">
{% for document in page.documentAssociates %}
<div class="file" data-link="blank">
<div class="icon">
{% if document.documentExtension == 'pdf' %}
<i class="fa-regular fa-file-pdf"></i>
{% elseif document.documentExtension == 'png' or document.documentExtension == 'jpg' or document.documentExtension == 'jpeg' %}
<i class="fa-regular fa-file-image"></i>
{% elseif document.documentExtension == 'doc' or document.documentExtension == 'docx' %}
<i class="fa-regular fa-file-word"></i>
{% elseif document.documentExtension == 'xls' or document.documentExtension == 'xlsx' %}
<i class="fa-regular fa-file-excel"></i>
{% elseif document.documentExtension == 'ppt' or document.documentExtension == 'pptx' %}
<i class="fa-regular fa-file-powerpoint"></i>
{% else %}
<i class="fa-regular fa-file"></i>
{% endif %}
</div>
<div class="info">
<a href="{{ vich_uploader_asset(document, 'documentFile') }}" target="_blank">{{ document.title }}</a>
<span>{{ document.documentExtension }} ({{ (document.documentSize / 1024)|number_format(0, ',', ' ') }} Ko)</span>
</div>
</div>
{% endfor %}
</div>
</div>
{% endif %}
{% if page.actualitiesAssociates is defined and page.actualitiesAssociates|length > 0 %}
<div class="block actus">
<h2>
<span class="icon">
<svg class="actu" width="31" height="28" viewBox="0 0 31 28" fill="none" xmlns="http://www.w3.org/2000/svg">
<path d="M24.2 6.35892V3.45892C24.2 2.0861 23.0871 0.973206 21.7143 0.973206H3.48571C2.11289 0.973206 1 2.0861 1 3.45892V24.5875C1 25.9603 2.11289 27.0732 3.48571 27.0732H24.2M24.2 6.35892H27.5143C28.8871 6.35892 30 7.47181 30 8.84463V24.5875C30 25.9603 28.8871 27.0732 27.5143 27.0732H24.2M24.2 6.35892V27.0732" stroke="#515462" stroke-width="1.5"/>
<rect x="6.38477" y="6.35889" width="12.4286" height="2.48571" rx="1.24286" fill="#515462"/>
<rect x="9.69922" y="12.1589" width="9.11429" height="2.48571" rx="1.24286" fill="#515462"/>
</svg>
</span>
Actualités associées
</h2>
<nav>
<ul class="container-actus">
{% for actuality in page.actualitiesAssociates %}
<li class="actu" data-link>
<span class="subTitle">{{ actuality.category.name }} - {{ formatDateMoisAnnee(actuality.createdAt) }}</span>
<a href="{{ path('app_actuality_show', {"slug": actuality.slug}) }}" class="link-arrow">
<i class="fa-solid fa-chevron-right"></i>
{{ actuality.title }}
</a>
</li>
{% endfor %}
</ul>
</nav>
</div>
{% endif %}
{% if page.theseAssociates is defined and page.theseAssociates|length > 0 %}
<div class="block actus">
<h2>
<span class="icon">
<svg class="actu" width="22" height="27" viewBox="0 0 22 27" fill="none" xmlns="http://www.w3.org/2000/svg">
<rect x="4.71484" y="13.6338" width="12.5714" height="2.35714" rx="1.17857" fill="#515462"/>
<rect x="4.71484" y="19.1338" width="12.5714" height="2.35714" rx="1.17857" fill="#515462"/>
<path d="M0.75 2.63351C0.75 1.74591 1.46954 1.02637 2.35714 1.02637H14.2251L17.92 4.72133L21.25 8.42131V24.6335C21.25 25.5211 20.5305 26.2407 19.6429 26.2407H2.35714C1.46954 26.2407 0.75 25.5211 0.75 24.6335V2.63351Z" stroke="#515462" stroke-width="1.5"/>
</svg>
</span>
Thèses associées
</h2>
<nav>
<ul class="container-actus">
{% for these in page.theseAssociates %}
<li class="actu" data-link>
<span class="subTitle">{{ formatDateMoisAnnee(these.date) }}</span>
<a href="{{ path('app_these_show', {"slug": these.slug}) }}" class="link-arrow">
<i class="fa-solid fa-chevron-right"></i>
{{ these.title }}
</a>
</li>
{% endfor %}
</ul>
</nav>
</div>
{% endif %}
{% if page.publicationAssociates is defined and page.publicationAssociates|length > 0 %}
<div class="block actus">
<h2>
<span class="icon">
<svg class="actu" width="22" height="27" viewBox="0 0 22 27" fill="none" xmlns="http://www.w3.org/2000/svg">
<rect x="4.71484" y="13.6338" width="12.5714" height="2.35714" rx="1.17857" fill="#515462"/>
<rect x="4.71484" y="19.1338" width="12.5714" height="2.35714" rx="1.17857" fill="#515462"/>
<path d="M0.75 2.63351C0.75 1.74591 1.46954 1.02637 2.35714 1.02637H14.2251L17.92 4.72133L21.25 8.42131V24.6335C21.25 25.5211 20.5305 26.2407 19.6429 26.2407H2.35714C1.46954 26.2407 0.75 25.5211 0.75 24.6335V2.63351Z" stroke="#515462" stroke-width="1.5"/>
</svg>
</span>
Publications associées
</h2>
<nav>
<ul class="container-actus">
{% for publication in page.publicationAssociates %}
<li class="actu" data-link>
<span class="subTitle">{{ formatDateMoisAnnee(publication.date) }}</span>
<a href="{{ path('app_publication_show', {"slug": publication.slug}) }}" class="link-arrow">
<i class="fa-solid fa-chevron-right"></i>
{{ publication.title }}
</a>
</li>
{% endfor %}
</ul>
</nav>
</div>
{% endif %}
{% if page.contactPositions is defined and page.contactPositions|length > 0 %}
<div class="block contact">
<h2>
<span class="icon">
<svg width="26" height="26" viewBox="0 0 26 26" fill="none" xmlns="http://www.w3.org/2000/svg">
<rect x="0.75" y="0.75" width="24.5" height="24.5" rx="2.25" stroke="#515462" stroke-width="1.5"/>
<circle cx="13" cy="9.75" r="2.5" stroke="#515462" stroke-width="1.5"/>
<path d="M19.5 19.9062H6.5C6.5 18.5521 7.8 15.8438 13 15.8438C18.2 15.8438 19.5 18.5521 19.5 19.9062Z" stroke="#515462" stroke-width="1.5"/>
</svg>
</span>
Vos contacts
</h2>
<div class="container-contact">
{% for contactPosition in page.contactPositions %}
{% set contact = contactPosition.contact %}
<div class="contact {% if contact.email %}hoverable{% endif %}" {% if contact.email %}data-link{% endif %}>
<div class="container-image">
{% if contact.photoName %}
<img src="{{ vich_uploader_asset(contact, 'photoFile')| imagine_filter('thumbnail_contact') }}" alt="{{ contact.photoAlt }}">
{% endif %}
</div>
<div class="info">
<h3>{{ contact.firstname }} {{ contact.name }}</h3>
<p class="role">{{ contact.role }}</p>
{% if contact.phone %}
<p class="phone">
<i class="fa-solid fa-phone"></i>
{{ contact.phone }}
</p>
{% endif %}
{% if contact.email %}
<p class="email">
<i class="fa-solid fa-envelope"></i>
<a href="{{ contact.email|mailto(true) }}">{{ contact.email|mailto }}</a>
</p>
{% endif %}
</div>
</div>
{% endfor %}
</div>
</div>
{% endif %}
</aside>
<button id="openSidebar" class="btn default">
Liens et fichiers associés
</button>