{# templates/demandeur/new.html.twig #}{% extends 'base.html.twig' %}{% block title %}Offres de recrutement sur contrat de recherche{% endblock %}{% block body %}<div class="box_langues"> <a href="{{ path('app_offres_index', {'lang' : 'fr'}) }}"><div class="lang l_fr {% if lang == 'fr' %}active{% endif %}"></div></a> <a href="{{ path('app_offres_index', {'lang' : 'en'}) }}"><div class="lang l_en {% if lang == 'en' %}active{% endif %}"></div></a></div><h1>{% if lang == 'en' %}Offers{% else %}Offres de recrutement sur contrat de recherche{% endif %}</h1>{% for message in app.flashes('message') %} <div class="message"> {{ message }} </div>{% endfor %}<form method="get" id="form_recherche" class="exposed_form"> <select name="filtre[type_poste]"> <option value="">{% if lang == 'en' %}Job Type{% else %}Type de poste{% endif %}</option> {% for type_poste in types_poste %} <option value="{{ type_poste.id }}" {% if filtre.type_poste|default == type_poste.id %}selected{% endif %}>{{ type_poste.libelle }}</option> {% endfor %} </select> <select name="filtre[champ_scientifique]"> <option value="">{% if lang == 'en' %}Scientific field{% else %}Champ Scientifique{% endif %}</option> {% for champ_scientifique in champs_scientifiques %} <option value="{{ champ_scientifique.id }}" {% if filtre.champ_scientifique|default == champ_scientifique.id %}selected{% endif %}>{{ champ_scientifique.libelle }}</option> {% endfor %} </select> <select name="filtre[categorie]"> <option value="">{% if lang == 'en' %}Category{% else %}Catégorie{% endif %}</option> <option value="A" {% if filtre.categorie|default == "A" %}selected{% endif %}>A - Cadre</option> <option value="B" {% if filtre.categorie|default == "B" %}selected{% endif %}>B - Technicien</option> </select> <input type="text" name="filtre[mot_cle]" value="{{ filtre.mot_cle|default }}" placeholder="{% if lang == 'en' %}Keywords{% else %}Mot-clés{% endif %}"> <input type="hidden" name="tri" id="input_tri" value="{{ tri|default }}"> <input type="hidden" name="sens" id="input_sens" value="{{ sens|default }}"> <input type="hidden" name="lang" id="input_lang" value="{{ lang|default }}"> <input type="submit" name="ok" value="{% if lang == 'en' %}Filter{% else %}Valider{% endif %}"></form><div class="box_tri"> <div class="tri_lab">{% if lang == 'en' %}Filter by:{% else %}Trier par:{% endif %}</div> <a href="javascript:void(0)" onClick="jQuery('#input_tri').val('dateValidation'); jQuery('#input_sens').val('{% if sens=='DESC' %}ASC{% else %}DESC{% endif %}'); jQuery('#form_recherche').submit()"> {% if lang == 'en' %}Creation date{% else %}Date de saisie{% endif %} </a> {% if tri=='dateValidation' and sens=='ASC' %}<span class="tri triA"></span>{% endif %} {% if tri=='dateValidation' and sens=='DESC' %}<span class="tri triD"></span>{% endif %} <a href="javascript:void(0)" onClick="jQuery('#input_tri').val('datePriseDeFonction'); jQuery('#input_sens').val('{% if sens=='DESC' %}ASC{% else %}DESC{% endif %}'); jQuery('#form_recherche').submit()"> {% if lang == 'en' %}Start date{% else %}Prise de fonction{% endif %} </a> {% if tri=='datePriseDeFonction' and sens=='ASC' %}<span class="tri triA"></span>{% endif %} {% if tri=='datePriseDeFonction' and sens=='DESC' %}<span class="tri triD"></span>{% endif %} <a href="javascript:void(0)" onClick="jQuery('#input_tri').val('categorie'); jQuery('#input_sens').val('{% if sens=='DESC' %}ASC{% else %}DESC{% endif %}'); jQuery('#form_recherche').submit()"> {% if lang == 'en' %}Category{% else %}Catégorie{% endif %} </a> {% if tri=='categorie' and sens=='ASC' %}<span class="tri triA"></span>{% endif %} {% if tri=='categorie' and sens=='DESC' %}<span class="tri triD"></span>{% endif %}</div><div class="liste_blocs liste_offres"> {% for demandeur in pagination %} <div class="it_bloc it_offre"> <div class="it_bloc_infos"> <div class="it_dates"> <div class="it_date"> <span class="label">{% if lang == 'en' %}Start date{% else %}Prise de fonction{% endif %}</span> <span class="date">{% if lang == 'en' %}{{ demandeur.datePriseDeFonction|date("m d y") }}{% else %}{{ demandeur.datePriseDeFonction|date("d m y") }}{% endif %}</span> </div> <div class="it_date"> <span class="label">{% if lang == 'en' %}Application deadline{% else %}Date limite de candidature{% endif %}</span> <span class="date">{% if lang == 'en' %}{{ demandeur.dateLimiteCandidature|date("m d y") }}{% else %}{{ demandeur.dateLimiteCandidature|date("d m y") }}{% endif %}</span> </div> </div> <div class="it_infos"> <div class="it_types"> <div class="typePoste"> <span class="label">{{ demandeur.typePoste }}</span> </div> <div class="categorie"> <span class="label">Cat. {{ demandeur.categorie }}</span> </div> <div class="quotite"> <span class="label">{{ demandeur.quotite }}</span> </div> </div> <a href="{{ path('app_offres_voir', {'id' : demandeur.id, 'lang' : lang}) }}" target="_blank" class="it_intitules"> <h2 class="it_intitule">{{ demandeur.intitule }}</h2> <div class="it_poste intitule_poste">{{ demandeur.intituleDuPoste }}</div> </a> </div> </div> <div class="it_action"><a href="{{ path('app_offres_voir', {'id' : demandeur.id, 'lang' : lang }) }}" target="_blank" class="submit"> {% if lang == 'en' %}Show{% else %}Voir{% endif %} </a></div> </div> {% endfor %} {{ knp_pagination_render(pagination) }}</div>{% endblock %}