{% extends "base.html.twig" %}{# extension.excerpt #}{% block style %} {{ parent() }} {% include "articles/styles/base-css-logic.html.twig" %}{% endblock %}{% block content %}{% set name = "" %}{% if app.request.attributes.get('structure').structure.name is defined and app.request.attributes.get('structure').structure.name is not empty %} {% set name = app.request.attributes.get('structure').structure.name %}{% endif %}{% set values = "" %}{% set values = ['Actualités', 'Offres d\'emploi'] %} {% include "articles-blocks/breadcrumb.html.twig" with {titles : values} %} <section class="single-article-container"> <article> <section> <div class="mlr-1em"> {% include "articles-blocks/header.html.twig" %} {# <div class="creator">{{ sulu_resolve_user(creator).fullName }}</div> #} {% include "articles/blocks/article-under-header.html.twig" %} {% if extension.excerpt.categories is defined and extension.excerpt.categories is not empty %} {% set categories = extension.excerpt.categories %} {% include "blocks/previews-from-controller/blocks/categories.html.twig" %} {% endif %} {% if content.chapo is defined and content.chapo is not empty %} <div class="fw500 lh28 fs20 text cgrey mt-40px">{{ content.chapo|raw }}</div> {% endif %} </div> </section> <div class="main-container w100 plr-1em"> <div class="offres-container"> {% if content.title is defined and content.title is not empty %} <div class="mb-3em mt-40px"> <div class="mb-3em dflex fdc"> <h2>Informations pratiques</h2> <ul class="dflex fdc aix jcse offres-infos mt-1em"> {% if content.enterprise is defined and content.enterprise is not empty %} <li class="dflex"> <div class="icon-ctnr"> <img src="/resources/img/breifcase-icon.svg" alt="Structure" width="21" height="21"> </div> <span class="fw600 fs18 lh28">Structure : {{ content.enterprise }}</span> </li> {% endif %} {% if content.city is defined and content.city is not empty and content.cp is defined and content.cp is not empty %} <li> <div class="icon-ctnr"> <img src="/resources/img/location-icon.svg" alt="Location" width="21" height="20"> </div> <span>{{ content.city ~ ", " ~ content.cp }}</span> </li> {% endif %} {% if content.limit_date is defined and content.limit_date is not empty %} <li class="dflex"> <div class="icon-ctnr"> <img src="/resources/img/calendar-icon.svg" alt="Calendrier" width="21" height="20"> </div> <span class="lh24">Date limite de candidature : {{ content.limit_date | date("d/m/Y") }}</span> </li> {% endif %} {% if content.profil is defined and content.profil is not empty %} <li class="dflex fdc profil"> <div class="icon-ctnr"> <img src="/resources/img/user-offre-icon.svg" alt="Profil" width="17" height="19"> <span style="white-space: nowrap;">Profil recherché : </span> </div> {{ content.profil|raw }} </li> {% endif %} </ul> </div> </div> {% endif %} <div class="mb-1em"> <div class="mb-1em"><h2>{{ content.title_offre }}</h2></div> {% if content.summary_offre is defined and content.summary_offre is not empty %} <div class="lh24">{{ content.summary_offre | raw }}</div> {% endif %} </div> <div class="mb-1em"> <div class="mb-1em"><h2>{{ content.title_structure }}</h2></div> {% if content.structure is defined and content.structure is not empty %} <div class="lh24">{{ content.structure | raw }}</div> {% endif %} </div> </div> </div> {% if content.main_content is defined and content.main_content is not empty and content.main_content|length > 0 %} {% for data in content.main_content %} {% if data.type == "sub_content" %} {% include "articles-blocks/articles-content.html.twig" %} {% endif %} {% if data.type == "linked_with" %} {% include "articles-blocks/linked-with.html.twig" %} {% endif %} {% if data.type == "iframe" %} {% include "blocks/iframe.html.twig" with {block: data} %} {% endif %} {% if data.type == "see_more" %} {% include "articles-blocks/see-more.html.twig" %} {% endif %} {% endfor %} {% endif %} </article> </section>{% endblock %}{% block javascripts %} {% include "articles/javascripts/base-article-js.html.twig" %} {{ parent() }}{% endblock %}