{% apply spaceless %}
<div class="d-none d-lg-block col-md-4 col-lg-3 text-center col-gauche">
{% set page_accueil_expert = ( twig_vars.currentRoute =='annuaires_experts_index')?true: false %}
{% set page_presentation_expert = ( twig_vars.currentRoute =='annuaires_experts_presentation')?true: false %}
<div class="col-12 my-3">
<div class="card no_shadow">
<div class="card-header2 p-3">
<span class='fs18'>{{NbDernieresPrestationsReferencees}}</span> {{ translate("experts<br>proposent leur services" ,lang,"","M") | raw }}
<br><br>
{# <button onclick="window.location = '{{ path('annuaires_experts_espace_admin_index',{ 'codePays':codePaysWithUnderScore }) }}';" #}
<button onclick="window.location = '{{ path('annuaires_experts_presentation',{ 'codePays':codePaysWithUnderScore }) }}';"
type="button"
class="btn button-rond-blanc" >
{# {{ translate("referencez-vous !" ,lang,"","M") | raw }} #}
{{ translate("Comment être référencé" ,lang,"","M") | raw }}
</button>
</div>
</div>
</div>
{% if page_accueil_expert or page_presentation_expert %}
<div class="col-12 text-left my-3">
<div class="card no_shadow">
<div class="card-header2">
{{ translate("des metiers reglementees" ,lang,"","M") | raw }}
</div>
<div class="card-body">
{{ translate("de nombreux metiers proposes dans cet annuaire sont reglementes." ,lang,"","M") | raw }}
{{ translate("verifiez bien apres contact avec une structure referencee qu'elle possede les qualifications necessaires a la mission que vous souhaitez lui confier." ,lang,"","M") | raw }}
</div>
</div>
</div>
{% endif %}
{% if page_accueil_expert or page_presentation_expert %}
<div class="col-12 text-left my-3">
<div class="card no_shadow">
<div class="card-header2">
{{ translate("les derniers experts" ,lang,"","M") |capitalize| raw }}
</div>
<div class="card-body no-padding-x no-padding-y" id=" " >
<table class="table table-striped">
<tbody>
{% for prestation in dernieresPrestationsReferencees %}
<tr>
<td><small> {{ translate("le" ,lang,"","M") |capitalize| raw }} {{ prestation.date_mise_en_ligne|date("d/m") }}</small><br>
{% set lien = path('annuaires_experts_activite_expert',{'titreslug':prestation.titre_service| slugify,'codePays':codePaysWithUnderScore,'idServicePrestataire':prestation.id_service_prestataire }) %}
<a href="{{ lien }}" class="bleu_fusacq fs11"> {{ prestation.nom_commercial_societe }}</a><br>
<em>{{ prestation.titre_service }}</em><br>
<i class="fas fa-user"></i> {% if prestation.nom_contact1 is defined %}{{ prestation.nom_contact1 }} - {% endif %} {{ prestation.id_localisation_prestataire|nom_localisation }}
</td>
</tr>
{% endfor %}
</tbody>
</table>
</div>
<div class="card-footer2">
<a href="{{ path('annuaires_experts_dernieres_prestations_referencees_sur_fusacq',{'codePays':codePaysWithUnderScore } ) }}">
{{ translate("tous les derniers experts" ,lang,"","M") |capitalize| raw }}
</a>
</div>
</div>
</div>
{% endif %}
{% if page_accueil_expert == false and page_presentation_expert == false %}
<!--BLOC PUB SKYSCRAPER -->
{% include 'includes/bloc/pub_skyscraper.html.twig' %}
<!--FIN BLOC PUB SKYSCRAPER -->
{% endif %}
</div>
{% endapply %}