<?php
use Twig\Environment;
use Twig\Error\LoaderError;
use Twig\Error\RuntimeError;
use Twig\Extension\CoreExtension;
use Twig\Extension\SandboxExtension;
use Twig\Markup;
use Twig\Sandbox\SecurityError;
use Twig\Sandbox\SecurityNotAllowedTagError;
use Twig\Sandbox\SecurityNotAllowedFilterError;
use Twig\Sandbox\SecurityNotAllowedFunctionError;
use Twig\Source;
use Twig\Template;
/* includes/colonnes_gauche_expert.html.twig */
class __TwigTemplate_82ddd42986a61e15aa1c09646de416c12437d77e5bd5f69c5ebc36f31567de54 extends Template
{
private $source;
private $macros = [];
public function __construct(Environment $env)
{
parent::__construct($env);
$this->source = $this->getSourceContext();
$this->parent = false;
$this->blocks = [
];
}
protected function doDisplay(array $context, array $blocks = [])
{
$macros = $this->macros;
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "includes/colonnes_gauche_expert.html.twig"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "includes/colonnes_gauche_expert.html.twig"));
// line 1
$___internal_parse_0_ = ('' === $tmp = \Twig\Extension\CoreExtension::captureOutput((function () use (&$context, $macros, $blocks) {
// line 2
yield "
<div class=\"d-none d-lg-block col-md-4 col-lg-3 text-center col-gauche\">
";
// line 6
$context["page_accueil_expert"] = (((0 === CoreExtension::compare(CoreExtension::getAttribute($this->env, $this->source, (isset($context["twig_vars"]) || array_key_exists("twig_vars", $context) ? $context["twig_vars"] : (function () { throw new RuntimeError('Variable "twig_vars" does not exist.', 6, $this->source); })()), "currentRoute", [], "any", false, false, false, 6), "annuaires_experts_index"))) ? (true) : (false));
// line 7
yield " ";
$context["page_presentation_expert"] = (((0 === CoreExtension::compare(CoreExtension::getAttribute($this->env, $this->source, (isset($context["twig_vars"]) || array_key_exists("twig_vars", $context) ? $context["twig_vars"] : (function () { throw new RuntimeError('Variable "twig_vars" does not exist.', 7, $this->source); })()), "currentRoute", [], "any", false, false, false, 7), "annuaires_experts_presentation"))) ? (true) : (false));
// line 8
yield " <div class=\"col-12 my-3\">
<div class=\"card no_shadow\">
<div class=\"card-header2 p-3\">
<span class='fs18'>";
// line 11
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape((isset($context["NbDernieresPrestationsReferencees"]) || array_key_exists("NbDernieresPrestationsReferencees", $context) ? $context["NbDernieresPrestationsReferencees"] : (function () { throw new RuntimeError('Variable "NbDernieresPrestationsReferencees" does not exist.', 11, $this->source); })()), "html", null, true);
yield "</span> ";
yield $this->extensions['App\Twig\TranslationExtension']->translate("experts<br>proposent leur services", (isset($context["lang"]) || array_key_exists("lang", $context) ? $context["lang"] : (function () { throw new RuntimeError('Variable "lang" does not exist.', 11, $this->source); })()), "", "M");
yield "
<br><br>
";
// line 14
yield " <button onclick=\"window.location = '";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("annuaires_experts_presentation", ["codePays" => (isset($context["codePaysWithUnderScore"]) || array_key_exists("codePaysWithUnderScore", $context) ? $context["codePaysWithUnderScore"] : (function () { throw new RuntimeError('Variable "codePaysWithUnderScore" does not exist.', 14, $this->source); })())]), "html", null, true);
yield "';\"
type=\"button\"
class=\"btn button-rond-blanc\" >
";
// line 18
yield " ";
yield $this->extensions['App\Twig\TranslationExtension']->translate("Comment être référencé", (isset($context["lang"]) || array_key_exists("lang", $context) ? $context["lang"] : (function () { throw new RuntimeError('Variable "lang" does not exist.', 18, $this->source); })()), "", "M");
yield "
</button>
</div>
</div>
</div>
";
// line 25
if (((isset($context["page_accueil_expert"]) || array_key_exists("page_accueil_expert", $context) ? $context["page_accueil_expert"] : (function () { throw new RuntimeError('Variable "page_accueil_expert" does not exist.', 25, $this->source); })()) || (isset($context["page_presentation_expert"]) || array_key_exists("page_presentation_expert", $context) ? $context["page_presentation_expert"] : (function () { throw new RuntimeError('Variable "page_presentation_expert" does not exist.', 25, $this->source); })()))) {
// line 26
yield " <div class=\"col-12 text-left my-3\">
<div class=\"card no_shadow\">
<div class=\"card-header2\">
";
// line 29
yield $this->extensions['App\Twig\TranslationExtension']->translate("des metiers reglementees", (isset($context["lang"]) || array_key_exists("lang", $context) ? $context["lang"] : (function () { throw new RuntimeError('Variable "lang" does not exist.', 29, $this->source); })()), "", "M");
yield "
</div>
<div class=\"card-body\">
";
// line 32
yield $this->extensions['App\Twig\TranslationExtension']->translate("de nombreux metiers proposes dans cet annuaire sont reglementes.", (isset($context["lang"]) || array_key_exists("lang", $context) ? $context["lang"] : (function () { throw new RuntimeError('Variable "lang" does not exist.', 32, $this->source); })()), "", "M");
yield "
";
// line 33
yield $this->extensions['App\Twig\TranslationExtension']->translate("verifiez bien apres contact avec une structure referencee qu'elle possede les qualifications necessaires a la mission que vous souhaitez lui confier.", (isset($context["lang"]) || array_key_exists("lang", $context) ? $context["lang"] : (function () { throw new RuntimeError('Variable "lang" does not exist.', 33, $this->source); })()), "", "M");
yield "
</div>
</div>
</div>
";
}
// line 38
yield "
";
// line 39
if (((isset($context["page_accueil_expert"]) || array_key_exists("page_accueil_expert", $context) ? $context["page_accueil_expert"] : (function () { throw new RuntimeError('Variable "page_accueil_expert" does not exist.', 39, $this->source); })()) || (isset($context["page_presentation_expert"]) || array_key_exists("page_presentation_expert", $context) ? $context["page_presentation_expert"] : (function () { throw new RuntimeError('Variable "page_presentation_expert" does not exist.', 39, $this->source); })()))) {
// line 40
yield " <div class=\"col-12 text-left my-3\">
<div class=\"card no_shadow\">
<div class=\"card-header2\">
";
// line 43
yield Twig\Extension\CoreExtension::capitalize($this->env->getCharset(), $this->extensions['App\Twig\TranslationExtension']->translate("les derniers experts", (isset($context["lang"]) || array_key_exists("lang", $context) ? $context["lang"] : (function () { throw new RuntimeError('Variable "lang" does not exist.', 43, $this->source); })()), "", "M"));
yield "
</div>
<div class=\"card-body no-padding-x no-padding-y\" id=\" \" >
<table class=\"table table-striped\">
<tbody>
";
// line 48
$context['_parent'] = $context;
$context['_seq'] = CoreExtension::ensureTraversable((isset($context["dernieresPrestationsReferencees"]) || array_key_exists("dernieresPrestationsReferencees", $context) ? $context["dernieresPrestationsReferencees"] : (function () { throw new RuntimeError('Variable "dernieresPrestationsReferencees" does not exist.', 48, $this->source); })()));
foreach ($context['_seq'] as $context["_key"] => $context["prestation"]) {
// line 49
yield "
<tr>
<td><small> ";
// line 51
yield Twig\Extension\CoreExtension::capitalize($this->env->getCharset(), $this->extensions['App\Twig\TranslationExtension']->translate("le", (isset($context["lang"]) || array_key_exists("lang", $context) ? $context["lang"] : (function () { throw new RuntimeError('Variable "lang" does not exist.', 51, $this->source); })()), "", "M"));
yield " ";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['App\Twig\DateExtension']->date(CoreExtension::getAttribute($this->env, $this->source, $context["prestation"], "date_mise_en_ligne", [], "any", false, false, false, 51), "d/m"), "html", null, true);
yield "</small><br>
";
// line 52
$context["lien"] = $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("annuaires_experts_activite_expert", ["titreslug" => $this->extensions['App\Twig\SlugExtension']->slugify(CoreExtension::getAttribute($this->env, $this->source, $context["prestation"], "titre_service", [], "any", false, false, false, 52)), "codePays" => (isset($context["codePaysWithUnderScore"]) || array_key_exists("codePaysWithUnderScore", $context) ? $context["codePaysWithUnderScore"] : (function () { throw new RuntimeError('Variable "codePaysWithUnderScore" does not exist.', 52, $this->source); })()), "idServicePrestataire" => CoreExtension::getAttribute($this->env, $this->source, $context["prestation"], "id_service_prestataire", [], "any", false, false, false, 52)]);
// line 53
yield " <a href=\"";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape((isset($context["lien"]) || array_key_exists("lien", $context) ? $context["lien"] : (function () { throw new RuntimeError('Variable "lien" does not exist.', 53, $this->source); })()), "html", null, true);
yield "\" class=\"bleu_fusacq fs11\"> ";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["prestation"], "nom_commercial_societe", [], "any", false, false, false, 53), "html", null, true);
yield "</a><br>
<em>";
// line 54
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["prestation"], "titre_service", [], "any", false, false, false, 54), "html", null, true);
yield "</em><br>
<i class=\"fas fa-user\"></i> ";
// line 55
if (CoreExtension::getAttribute($this->env, $this->source, $context["prestation"], "nom_contact1", [], "any", true, true, false, 55)) {
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["prestation"], "nom_contact1", [], "any", false, false, false, 55), "html", null, true);
yield " - ";
}
yield " ";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['App\Twig\LocalisationsExtension']->nom_localisation(CoreExtension::getAttribute($this->env, $this->source, $context["prestation"], "id_localisation_prestataire", [], "any", false, false, false, 55)), "html", null, true);
yield "
</td>
</tr>
";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['prestation'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 60
yield "
</tbody>
</table>
</div>
<div class=\"card-footer2\">
<a href=\"";
// line 66
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("annuaires_experts_dernieres_prestations_referencees_sur_fusacq", ["codePays" => (isset($context["codePaysWithUnderScore"]) || array_key_exists("codePaysWithUnderScore", $context) ? $context["codePaysWithUnderScore"] : (function () { throw new RuntimeError('Variable "codePaysWithUnderScore" does not exist.', 66, $this->source); })())]), "html", null, true);
yield "\">
";
// line 67
yield Twig\Extension\CoreExtension::capitalize($this->env->getCharset(), $this->extensions['App\Twig\TranslationExtension']->translate("tous les derniers experts", (isset($context["lang"]) || array_key_exists("lang", $context) ? $context["lang"] : (function () { throw new RuntimeError('Variable "lang" does not exist.', 67, $this->source); })()), "", "M"));
yield "
</a>
</div>
</div>
</div>
";
}
// line 73
yield "
";
// line 74
if (((0 === CoreExtension::compare((isset($context["page_accueil_expert"]) || array_key_exists("page_accueil_expert", $context) ? $context["page_accueil_expert"] : (function () { throw new RuntimeError('Variable "page_accueil_expert" does not exist.', 74, $this->source); })()), false)) && (0 === CoreExtension::compare((isset($context["page_presentation_expert"]) || array_key_exists("page_presentation_expert", $context) ? $context["page_presentation_expert"] : (function () { throw new RuntimeError('Variable "page_presentation_expert" does not exist.', 74, $this->source); })()), false)))) {
// line 75
yield " <!--BLOC PUB SKYSCRAPER -->
";
// line 76
yield from $this->loadTemplate("includes/bloc/pub_skyscraper.html.twig", "includes/colonnes_gauche_expert.html.twig", 76)->unwrap()->yield($context);
// line 77
yield " <!--FIN BLOC PUB SKYSCRAPER -->
";
}
// line 79
yield "
</div>
";
return; yield '';
})())) ? '' : new Markup($tmp, $this->env->getCharset());
// line 1
yield Twig\Extension\CoreExtension::spaceless($___internal_parse_0_);
// line 84
yield "
";
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
return; yield '';
}
/**
* @codeCoverageIgnore
*/
public function getTemplateName()
{
return "includes/colonnes_gauche_expert.html.twig";
}
/**
* @codeCoverageIgnore
*/
public function isTraitable()
{
return false;
}
/**
* @codeCoverageIgnore
*/
public function getDebugInfo()
{
return array ( 218 => 84, 216 => 1, 208 => 79, 204 => 77, 202 => 76, 199 => 75, 197 => 74, 194 => 73, 185 => 67, 181 => 66, 173 => 60, 157 => 55, 153 => 54, 146 => 53, 144 => 52, 138 => 51, 134 => 49, 130 => 48, 122 => 43, 117 => 40, 115 => 39, 112 => 38, 104 => 33, 100 => 32, 94 => 29, 89 => 26, 87 => 25, 76 => 18, 69 => 14, 62 => 11, 57 => 8, 54 => 7, 52 => 6, 46 => 2, 44 => 1,);
}
public function getSourceContext()
{
return new Source("{% 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 %}
", "includes/colonnes_gauche_expert.html.twig", "/home/www/fusacq_symfony_5.4_preprod/templates/includes/colonnes_gauche_expert.html.twig");
}
}