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

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