var/cache/dev/twig/91/9165d9bed0d95456f3f0f41e37bd6e4ed3ac99c8beeafc587e3dbf5267e6641b.php line 52

Open in your IDE?
  1. <?php
  2. use Twig\Environment;
  3. use Twig\Error\LoaderError;
  4. use Twig\Error\RuntimeError;
  5. use Twig\Extension\CoreExtension;
  6. use Twig\Extension\SandboxExtension;
  7. use Twig\Markup;
  8. use Twig\Sandbox\SecurityError;
  9. use Twig\Sandbox\SecurityNotAllowedTagError;
  10. use Twig\Sandbox\SecurityNotAllowedFilterError;
  11. use Twig\Sandbox\SecurityNotAllowedFunctionError;
  12. use Twig\Source;
  13. use Twig\Template;
  14. /* includes/colonnes_gauche_expert.html.twig */
  15. class __TwigTemplate_82ddd42986a61e15aa1c09646de416c12437d77e5bd5f69c5ebc36f31567de54 extends Template
  16. {
  17.     private $source;
  18.     private $macros = [];
  19.     public function __construct(Environment $env)
  20.     {
  21.         parent::__construct($env);
  22.         $this->source $this->getSourceContext();
  23.         $this->parent false;
  24.         $this->blocks = [
  25.         ];
  26.     }
  27.     protected function doDisplay(array $context, array $blocks = [])
  28.     {
  29.         $macros $this->macros;
  30.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  31.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""includes/colonnes_gauche_expert.html.twig"));
  32.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  33.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""includes/colonnes_gauche_expert.html.twig"));
  34.         // line 1
  35.         $___internal_parse_0_ = ('' === $tmp = \Twig\Extension\CoreExtension::captureOutput((function () use (&$context$macros$blocks) {
  36.             // line 2
  37.             yield "
  38. <div class=\"d-none d-lg-block col-md-4 col-lg-3 text-center col-gauche\">
  39.     ";
  40.             // line 6
  41.             $context["page_accueil_expert"] = (((=== 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"falsefalsefalse6), "annuaires_experts_index"))) ? (true) : (false));
  42.             // line 7
  43.             yield "    <div class=\"col-12 my-3\">
  44.         <div class=\"card no_shadow\">
  45.             <div class=\"card-header2 p-3\">
  46.                 <span class='fs18'>";
  47.             // line 10
  48.             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"nulltrue);
  49.             yield "</span>&nbsp;";
  50.             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");
  51.             yield "
  52.                 <br><br>
  53.                 <button onclick=\"window.location = '";
  54.             // line 12
  55.             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"nulltrue);
  56.             yield "';\"
  57.                         type=\"button\"
  58.                         class=\"btn button-rond-blanc\" >
  59.                     ";
  60.             // line 15
  61.             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");
  62.             yield "
  63.                 </button>
  64.             </div>
  65.         </div>
  66.     </div>
  67.     ";
  68.             // line 22
  69.             if ((=== 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))) {
  70.                 // line 23
  71.                 yield "        <div class=\"col-12 text-left my-3\">
  72.             <div class=\"card no_shadow\">
  73.                 <div class=\"card-header2\">
  74.                     ";
  75.                 // line 26
  76.                 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");
  77.                 yield "
  78.                 </div>
  79.                 <div class=\"card-body\">
  80.                     ";
  81.                 // line 29
  82.                 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");
  83.                 yield "
  84.                     ";
  85.                 // line 30
  86.                 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");
  87.                 yield "
  88.                 </div>
  89.             </div>
  90.         </div>
  91.     ";
  92.             }
  93.             // line 35
  94.             yield "
  95.     ";
  96.             // line 36
  97.             if ((=== 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))) {
  98.                 // line 37
  99.                 yield "        <div class=\"col-12 text-left my-3\">
  100.             <div class=\"card no_shadow\">
  101.                 <div class=\"card-header2\">
  102.                     ";
  103.                 // line 40
  104.                 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"));
  105.                 yield "
  106.                 </div>
  107.                 <div class=\"card-body no-padding-x no-padding-y\" id=\" \" >
  108.                     <table class=\"table table-striped\">
  109.                         <tbody>
  110.                             ";
  111.                 // line 45
  112.                 $context['_parent'] = $context;
  113.                 $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); })()));
  114.                 foreach ($context['_seq'] as $context["_key"] => $context["prestation"]) {
  115.                     // line 46
  116.                     yield "
  117.                                 <tr>
  118.                                     <td><small>   ";
  119.                     // line 48
  120.                     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"));
  121.                     yield " ";
  122.                     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"falsefalsefalse48), "d/m"), "html"nulltrue);
  123.                     yield "</small><br>
  124.                                         ";
  125.                     // line 49
  126.                     $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"falsefalsefalse49)), "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"falsefalsefalse49)]);
  127.                     // line 50
  128.                     yield "                                        <a href=\"";
  129.                     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"nulltrue);
  130.                     yield "\" class=\"bleu_fusacq fs11\">  ";
  131.                     yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->source$context["prestation"], "nom_commercial_societe", [], "any"falsefalsefalse50), "html"nulltrue);
  132.                     yield "</a><br>
  133.                                         <em>";
  134.                     // line 51
  135.                     yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->source$context["prestation"], "titre_service", [], "any"falsefalsefalse51), "html"nulltrue);
  136.                     yield "</em><br>
  137.                                         <i class=\"fas fa-user\"></i>&nbsp; ";
  138.                     // line 52
  139.                     if (CoreExtension::getAttribute($this->env$this->source$context["prestation"], "nom_contact1", [], "any"truetruefalse52)) {
  140.                         yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->source$context["prestation"], "nom_contact1", [], "any"falsefalsefalse52), "html"nulltrue);
  141.                         yield " -  ";
  142.                     }
  143.                     yield " ";
  144.                     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"falsefalsefalse52)), "html"nulltrue);
  145.                     yield "
  146.                                     </td>
  147.                                 </tr>
  148.                             ";
  149.                 }
  150.                 $_parent $context['_parent'];
  151.                 unset($context['_seq'], $context['_iterated'], $context['_key'], $context['prestation'], $context['_parent'], $context['loop']);
  152.                 $context array_intersect_key($context$_parent) + $_parent;
  153.                 // line 57
  154.                 yield "
  155.                         </tbody>
  156.                     </table>
  157.                 </div>
  158.                 <div class=\"card-footer2\">
  159.                     <a  href=\"";
  160.                 // line 63
  161.                 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"nulltrue);
  162.                 yield "\">
  163.                         ";
  164.                 // line 64
  165.                 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"));
  166.                 yield "
  167.                     </a>
  168.                 </div>
  169.             </div>
  170.         </div>
  171.     ";
  172.             }
  173.             // line 70
  174.             yield "
  175.     ";
  176.             // line 71
  177.             if ((=== 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))) {
  178.                 // line 72
  179.                 yield "        <!--BLOC PUB SKYSCRAPER -->
  180.         ";
  181.                 // line 73
  182.                 yield from                 $this->loadTemplate("includes/bloc/pub_skyscraper.html.twig""includes/colonnes_gauche_expert.html.twig"73)->unwrap()->yield($context);
  183.                 // line 74
  184.                 yield "        <!--FIN BLOC PUB SKYSCRAPER -->
  185.     ";
  186.             }
  187.             // line 76
  188.             yield "
  189. </div>
  190. ";
  191.             return; yield '';
  192.         })())) ? '' : new Markup($tmp$this->env->getCharset());
  193.         // line 1
  194.         yield Twig\Extension\CoreExtension::spaceless($___internal_parse_0_);
  195.         // line 81
  196.         yield "
  197. ";
  198.         
  199.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  200.         
  201.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  202.         return; yield '';
  203.     }
  204.     /**
  205.      * @codeCoverageIgnore
  206.      */
  207.     public function getTemplateName()
  208.     {
  209.         return "includes/colonnes_gauche_expert.html.twig";
  210.     }
  211.     /**
  212.      * @codeCoverageIgnore
  213.      */
  214.     public function isTraitable()
  215.     {
  216.         return false;
  217.     }
  218.     /**
  219.      * @codeCoverageIgnore
  220.      */
  221.     public function getDebugInfo()
  222.     {
  223.         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,);
  224.     }
  225.     public function getSourceContext()
  226.     {
  227.         return new Source("{% apply spaceless %}
  228. <div class=\"d-none d-lg-block col-md-4 col-lg-3 text-center col-gauche\">
  229.     {% set page_accueil_expert = ( twig_vars.currentRoute =='annuaires_experts_index')?true: false %}
  230.     <div class=\"col-12 my-3\">
  231.         <div class=\"card no_shadow\">
  232.             <div class=\"card-header2 p-3\">
  233.                 <span class='fs18'>{{NbDernieresPrestationsReferencees}}</span>&nbsp;{{ translate(\"experts<br>proposent leur services\" ,lang,\"\",\"M\") | raw }}
  234.                 <br><br>
  235.                 <button onclick=\"window.location = '{{ path('annuaires_experts_espace_admin_index',{ 'codePays':codePaysWithUnderScore  }) }}';\"
  236.                         type=\"button\"
  237.                         class=\"btn button-rond-blanc\" >
  238.                     {{ translate(\"referencez-vous !\" ,lang,\"\",\"M\") | raw }}
  239.                 </button>
  240.             </div>
  241.         </div>
  242.     </div>
  243.     {% if page_accueil_expert == true %}
  244.         <div class=\"col-12 text-left my-3\">
  245.             <div class=\"card no_shadow\">
  246.                 <div class=\"card-header2\">
  247.                     {{ translate(\"des metiers reglementees\" ,lang,\"\",\"M\") | raw }}
  248.                 </div>
  249.                 <div class=\"card-body\">
  250.                     {{ translate(\"de nombreux metiers proposes dans cet annuaire sont reglementes.\" ,lang,\"\",\"M\") | raw }}
  251.                     {{ 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 }}
  252.                 </div>
  253.             </div>
  254.         </div>
  255.     {% endif %}
  256.     {% if page_accueil_expert == true %}
  257.         <div class=\"col-12 text-left my-3\">
  258.             <div class=\"card no_shadow\">
  259.                 <div class=\"card-header2\">
  260.                     {{ translate(\"les derniers experts\" ,lang,\"\",\"M\") |capitalize| raw }}
  261.                 </div>
  262.                 <div class=\"card-body no-padding-x no-padding-y\" id=\" \" >
  263.                     <table class=\"table table-striped\">
  264.                         <tbody>
  265.                             {% for prestation in dernieresPrestationsReferencees %}
  266.                                 <tr>
  267.                                     <td><small>   {{ translate(\"le\" ,lang,\"\",\"M\") |capitalize| raw }} {{ prestation.date_mise_en_ligne|date(\"d/m\") }}</small><br>
  268.                                         {% set lien = path('annuaires_experts_activite_expert',{'titreslug':prestation.titre_service|  slugify,'codePays':codePaysWithUnderScore,'idServicePrestataire':prestation.id_service_prestataire })  %}
  269.                                         <a href=\"{{ lien }}\" class=\"bleu_fusacq fs11\">  {{ prestation.nom_commercial_societe }}</a><br>
  270.                                         <em>{{ prestation.titre_service }}</em><br>
  271.                                         <i class=\"fas fa-user\"></i>&nbsp; {% if  prestation.nom_contact1   is defined %}{{ prestation.nom_contact1 }} -  {% endif %} {{ prestation.id_localisation_prestataire|nom_localisation }}
  272.                                     </td>
  273.                                 </tr>
  274.                             {% endfor %}
  275.                         </tbody>
  276.                     </table>
  277.                 </div>
  278.                 <div class=\"card-footer2\">
  279.                     <a  href=\"{{ path('annuaires_experts_dernieres_prestations_referencees_sur_fusacq',{'codePays':codePaysWithUnderScore }  ) }}\">
  280.                         {{ translate(\"tous les derniers experts\" ,lang,\"\",\"M\") |capitalize| raw }}
  281.                     </a>
  282.                 </div>
  283.             </div>
  284.         </div>
  285.     {% endif %}
  286.     {% if page_accueil_expert == false %}
  287.         <!--BLOC PUB SKYSCRAPER -->
  288.         {% include 'includes/bloc/pub_skyscraper.html.twig' %}
  289.         <!--FIN BLOC PUB SKYSCRAPER -->
  290.     {% endif %}
  291. </div>
  292. {% endapply %}
  293. ""includes/colonnes_gauche_expert.html.twig""/home/www/fusacq_symfony_5.4_preprod/templates/includes/colonnes_gauche_expert.html.twig");
  294.     }
  295. }