{% if job is defined %} <div id='article' class='w100'> <div class="flex row {{ desktop("middle") }}{{ mobile("black-alt p-alt space") }}"> <span class="flex row bg-white {{ desktop("border border-1x border-gray radius-10")}}{{ mobile("radius-5 border border-1x border-gray-alt half-5")}} hoverflow"> <i class="{{ desktop("bg-success-alt white") }}{{ mobile("bg-gray")}} flex col middle {{ desktop("hz-15-in vt-10-in") }} {{ mobile("hz-10-in vt-8-in p-alt") }}"><i>{{ "DU"|trans }}</i></i> <span class="flex row middle {{ desktop("hz-15-in")}} {{ mobile("hz-10-in")}} nowrap">{{ job.startAt.date|frdate }}</span> </span> <span class="flex row bg-white {{ desktop("border border-1x border-gray radius-10 left-20")}}{{ mobile("radius-5 border border-1x border-gray-alt half-5")}} hoverflow"> <i class="{{ desktop("bg-error white")}}{{ mobile("bg-gray")}} flex col middle {{ desktop("hz-15-in vt-10-in") }} {{ mobile("hz-10-in vt-8-in p-alt") }}"><i>{{ "AU"|trans }}</i></i> <span class="flex row middle {{ desktop("hz-15-in")}} {{ mobile("hz-10-in")}} nowrap">{{ job.endAt.date|frdate }}</span> </span> {% if withButton is defined and withButton and isDesktop() %} <div class="left-20"> {{ include('Jobs/_job_application_btn.html.twig', {"full": true}) }} </div> {% endif %} </div> <article class='article lh-4x text-justify {{desktop("h6 top-50")}}{{ mobile("p top-25") }}'> {{ job.description|raw }} </article> <article class='article lh-4x {{ isDesktop() ? 'black-alt'}} text-justify {{desktop("top-20 h6")}}{{ mobile("p top-20") }}'> {{ job.content|raw }} </article> <h2 class='adapt {{ desktop("h4 top-60")}}{{ mobile("h4 top-30")}} adapt success'>{{ "Détails"|trans }}</h2> {% if isMobile() %} <div class="border border-gray border-1x {{ mobile("top-20") }}"></div> {% endif %} <table class="record "> <tbody> <tr> <th class="semibold">{{ "Secteurs"|trans }}: </th> <td> <article class='flex wrap'> {% for o in job.sectors %} <div class="bg-gray flex col {{ desktop("bottom-10 hz-10-in")}} right-10 {{ mobile("top-10 bottom-5 hz-5-in") }}"> <label class="vt-8-in success">{{o.name}}</label> </div> {% endfor %} </article> </td> </tr> <tr> <th class="semibold">{{ "Année d'expérience"|trans }} :</th> <td>{{ job.experienceYear ? (job.experienceYear ~ (app.request.locale == "fr" ? " ans" : "year")) }}</td> </tr> <tr> <th class="semibold">{{ "Qualification"|trans }}: </th> <td>{{ job.qualifications|raw }}</td> </tr> <tr> <th class="semibold">{{ "Niveau d'étude"|trans }}: </th> <td>{{ job.studyLevel|join(", ") }}</td> </tr> <tr> <th class="semibold">{{ "Type de contrat"|trans }}: </th> <td>{{ job.employmentContract }}</td> </tr> </tbody> </table> {% if job.biblio and job.biblio.files|length %} <div class="{{ desktop("top-50 bottom-10")}}{{ mobile("top-30 bottom-30")}} border border-1x border-gray"></div> <h2 class='adapt {{ desktop("h4 top-60")}}{{ mobile("h3 top-30 bottom-25")}} adapt'>{{ "Document(s) joint(s)"|trans }}</h2> <div class='flex row space wrap {{desktop("top-30 bottom-20")}}{{mobile("top-20")}}'> {% for o in job.biblio.files %} <div class='doc flex row top {{desktop("half-20 hz-25-in vt-20-in")}}{{ mobile("w100 hz-20-in vt-15-in")}} relative gradient-banner bottom-20 hoverflow {{desktop("")}} {{mobile("")}}'> {% set doc = o %} <span class=""> <i class="fa fa-file white {{ desktop("fa-3x") }}{{ mobile("fa-2x") }}"></i> </span> <div class='text-left flex col space relative left-20 {{ desktop("right-40-in") }}{{ mobile("right-10-in") }}'> <h3 class='{{ mobile("h5")}} white {{ desktop("p medium")}} text-left nomargin lh-1x semibold'>{{doc.name ? doc.name : doc.source}}</h3> <div class="flex col middle space top-10"> <div class='gray-alt text-left p-alt'> <span class=''>{{doc.formatSize}}</span> | <span class=''>{{doc.reading|number_format}} lect.</span> | <span>{{doc.downloads|number_format}} téléch.</span> </div> <div class='flex row middle p upper medium {{ desktop("top-20")}}{{ mobile("top-10")}} nowrap'> <i class="w100 top-2-in bg-gray right-40"></i> {% set action = null %} {% set type = null %} {% if 'pdf' in doc.mimetype|lower %} {% set action = 'os-read' %} {% set type = "pdf" %} {% elseif 'image' in doc.mimetype|lower %} {% set action = 'os-image' %} {% set type = "image" %} {% elseif 'video' in doc.mimetype|lower %} {% set action = 'os-video' %} {% set type = "video" %} {% endif %} {% if action %} <span class='{{ action}} white {{ mobile("p-alt") }}' data-target="{{path('file-read',{id:doc.id,name:doc.name ? doc.name|slug : doc.source|slug})}}">Lire</span> {% else %} <span class='os-read white {{ mobile("p-alt") }}' data-url="{{url('file-read',{id:doc.id,name:doc.name ? doc.name|slug : doc.source|slug})}}">{{ "Lire"|trans }}</span> {% endif %} <a class='left-30 white {{ mobile("p-alt") }}' href="{{path('file-download',{id:doc.id,name:doc.name ? doc.name|slug : doc.source|slug})}}" target='_blank' download>{{ "Télécharger"|trans }}</a> </div> </div> </div> <i class="triangle gradient-banner bg-white"></i> </div> {% endfor %} </div> {% endif %} {% if withButton is defined and withButton %} <div class="{{ desktop("top-60") }}{{ mobile("top-40 bottom-30") }}"> {{ include('Jobs/_job_application_btn.html.twig', {'full': true}) }} </div> {% endif %} </div>{% endif %}