{% set title = item.label %}{% set description = item.description %}{% set menu = 'formations' %}{% extends 'Default/base.html.twig' %}{% block content %}<style> ul{margin-left: var(--25px)}</style><div id="formation" class='relative gpadding {{desktop("vt-80-in")}} {{mobile("vt-30-in")}} '> {% set content = item.details|summary %} <div id="article" class='{{desktop("flex row top")}} {{mobile("")}}'> {% set hasSidebar = content.summary|length > 20 %} <div class='border-right border-1x border-solid border-gray-alt hoverflow {{desktop("third-40 right-80")}} {{mobile("w100 bottom-20")}}'> <ul class='list h5 upper success'> {{ content.summary|raw }} </ul> </div> <div class='w100 {{desktop("")}} {{mobile("")}} '> <div class='article h6 text-justify light'> {{ content.content|raw }} </div> {% for o in item.thematics %} {% if o.isEnabled %} <h3 class="h5 upper medium success top-20 lh-1x flex row"> <i class="bg-success-alt bold hz-15-in vt-7-in radius-top-30 flex row middle right-10 white">{{loop.index}}</i> <span class="vt-7-in">{{o.label}}</i> </h3> <div class="bg-white shadow padding-30"> {% if o.domain %} <div class="flex col w100"> <h4 class="success-alt h5 upper semibold">Domaine :</h4> <label class="h5">{{o.domain.label}}</label> </div> {% endif %} {% if o.mainObjective %} <div class="flex col w100 border-bottom border-solid border-white border-1x vt-20-in"> <h4 class="success-alt h5 upper semibold">Objectif général :</h4> {{o.mainObjective|markdown_to_html}} </div> {% endif %} {% if o.specificsObjectives %} <div class="flex col w100 border-bottom border-solid border-white border-1x vt-20-in"> <h4 class="success-alt h5 upper semibold">Objectifs spécifiques :</h4> {{o.specificsObjectives|markdown_to_html}} </div> {% endif %} {% if o.target %} <div class="flex col w100 border-bottom border-solid border-white border-1x vt-20-in"> <h4 class="success-alt h5 upper semibold">Public cible :</h4> {{o.target|markdown_to_html}} </div> {% endif %} {% if o.details %} <div class="flex col w100 border-bottom border-solid border-white border-1x vt-20-in"> {{o.details|raw}} </div> {% endif %} {% if o.cost or o.duration %} <div class="flex row wrap left"> {% if o.cost %} <div class="flex row radius-30 shadow-alt right-20"> <span class="radius-30 bg-success-alt hz-15-in vt-10-in"><i class="fa fa-coins"></i></span> <label class="flex row middle hz-15-in vt-7-in">{{o.cost}}</label> </div> {% endif %} {% if o.duration %} <div class="flex row radius-30 shadow-alt"> <span class="radius-30 bg-success-alt hz-15-in vt-10-in"><i class="fa fa-clock"></i></span> <label class="flex row middle hz-15-in vt-7-in">{{o.duration}}</label> </div> {% endif %} </div> {% endif %} </div> {% endif %} {% endfor %} {% if item.album and item.album.pictures|length %} <h2 class='h3 top-40'>{{item.album.title ? item.album.title : "Album photos"}}</h2> <figure class="bg-white slide-box mrect slide-container fill nohover relative top-40" tabindex="1"> <div class="fill slides radius-10 adapt"> {% for o in item.album.pictures %} <div class='relative slide {{loop.index == 1 ? "active"}}'> <img src='{{asset(o)}}' class='contain'/> </div> {% endfor %} </div> <span class="slide-prev radius-50 h100 padding-30 absolute top left pointer" data-target="#article .slide-box"> <span class="fill flex col middle"><i class="flex col middle fa fa-chevron-left h1 white shadow-alt"></i></span> </span> <span class="slide-next radius-50 h100 padding-30 absolute top right pointer" data-target="#article .slide-box"> <span class="fill flex col middle"><i class="flex col middle fa fa-chevron-right h1 white shadow-alt"></i></span> </span> </figure> {% endif %} </div> </div></div>{% endblock %}