<?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 " <div class=\"col-12 my-3\">
<div class=\"card no_shadow\">
<div class=\"card-header2 p-3\">
<span class='fs18'>";
// line 10
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.', 10, $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.', 10, $this->source); })()), "", "M");
yield "
<br><br>
<button onclick=\"window.location = '";
// line 12
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("annuaires_experts_espace_admin_index", ["codePays" => (isset($context["codePaysWithUnderScore"]) || array_key_exists("codePaysWithUnderScore", $context) ? $context["codePaysWithUnderScore"] : (function () { throw new RuntimeError('Variable "codePaysWithUnderScore" does not exist.', 12, $this->source); })())]), "html", null, true);
yield "';\"
type=\"button\"
class=\"btn button-rond-blanc\" >
";
// line 15
yield $this->extensions['App\Twig\TranslationExtension']->translate("referencez-vous !", (isset($context["lang"]) || array_key_exists("lang", $context) ? $context["lang"] : (function () { throw new RuntimeError('Variable "lang" does not exist.', 15, $this->source); })()), "", "M");
yield "
</button>
</div>
</div>
</div>
";
// line 22
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.', 22, $this->source); })()), true))) {
// line 23
yield " <div class=\"col-12 text-left my-3\">
<div class=\"card no_shadow\">
<div class=\"card-header2\">
";
// line 26
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.', 26, $this->source); })()), "", "M");
yield "
</div>
<div class=\"card-body\">
";
// line 29
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.', 29, $this->source); })()), "", "M");
yield "
";
// line 30
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.', 30, $this->source); })()), "", "M");
yield "
</div>
</div>
</div>
";
}
// line 35
yield "
";
// line 36
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.', 36, $this->source); })()), true))) {
// line 37
yield " <div class=\"col-12 text-left my-3\">
<div class=\"card no_shadow\">
<div class=\"card-header2\">
";
// line 40
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.', 40, $this->source); })()), "", "M"));
yield "
</div>
<div class=\"card-body no-padding-x no-padding-y\" id=\" \" >
<table class=\"table table-striped\">
<tbody>
";
// line 45
$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.', 45, $this->source); })()));
foreach ($context['_seq'] as $context["_key"] => $context["prestation"]) {
// line 46
yield "
<tr>
<td><small> ";
// line 48
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.', 48, $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, 48), "d/m"), "html", null, true);
yield "</small><br>
";
// line 49
$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, 49)), "codePays" => (isset($context["codePaysWithUnderScore"]) || array_key_exists("codePaysWithUnderScore", $context) ? $context["codePaysWithUnderScore"] : (function () { throw new RuntimeError('Variable "codePaysWithUnderScore" does not exist.', 49, $this->source); })()), "idServicePrestataire" => CoreExtension::getAttribute($this->env, $this->source, $context["prestation"], "id_service_prestataire", [], "any", false, false, false, 49)]);
// line 50
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.', 50, $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, 50), "html", null, true);
yield "</a><br>
<em>";
// line 51
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["prestation"], "titre_service", [], "any", false, false, false, 51), "html", null, true);
yield "</em><br>
<i class=\"fas fa-user\"></i> ";
// line 52
if (CoreExtension::getAttribute($this->env, $this->source, $context["prestation"], "nom_contact1", [], "any", true, true, false, 52)) {
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["prestation"], "nom_contact1", [], "any", false, false, false, 52), "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, 52)), "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 57
yield "
</tbody>
</table>
</div>
<div class=\"card-footer2\">
<a href=\"";
// line 63
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.', 63, $this->source); })())]), "html", null, true);
yield "\">
";
// line 64
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.', 64, $this->source); })()), "", "M"));
yield "
</a>
</div>
</div>
</div>
";
}
// line 70
yield "
";
// line 71
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.', 71, $this->source); })()), false))) {
// line 72
yield " <!--BLOC PUB SKYSCRAPER -->
";
// line 73
yield from $this->loadTemplate("includes/bloc/pub_skyscraper.html.twig", "includes/colonnes_gauche_expert.html.twig", 73)->unwrap()->yield($context);
// line 74
yield " <!--FIN BLOC PUB SKYSCRAPER -->
";
}
// line 76
yield "
</div>
";
return; yield '';
})())) ? '' : new Markup($tmp, $this->env->getCharset());
// line 1
yield Twig\Extension\CoreExtension::spaceless($___internal_parse_0_);
// line 81
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 ( 213 => 81, 211 => 1, 203 => 76, 199 => 74, 197 => 73, 194 => 72, 192 => 71, 189 => 70, 180 => 64, 176 => 63, 168 => 57, 152 => 52, 148 => 51, 141 => 50, 139 => 49, 133 => 48, 129 => 46, 125 => 45, 117 => 40, 112 => 37, 110 => 36, 107 => 35, 99 => 30, 95 => 29, 89 => 26, 84 => 23, 82 => 22, 72 => 15, 66 => 12, 59 => 10, 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 %}
<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 }) }}';\"
type=\"button\"
class=\"btn button-rond-blanc\" >
{{ translate(\"referencez-vous !\" ,lang,\"\",\"M\") | raw }}
</button>
</div>
</div>
</div>
{% if page_accueil_expert == true %}
<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 == true %}
<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 %}
<!--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");
}
}