var/cache/dev/fr/vpauto/twig/78/789667e1f1528aaa685d70f1d3671c3c.php line 284

Open in your IDE?
  1. <?php
  2. use Twig\Environment;
  3. use Twig\Error\LoaderError;
  4. use Twig\Error\RuntimeError;
  5. use Twig\Extension\SandboxExtension;
  6. use Twig\Markup;
  7. use Twig\Sandbox\SecurityError;
  8. use Twig\Sandbox\SecurityNotAllowedTagError;
  9. use Twig\Sandbox\SecurityNotAllowedFilterError;
  10. use Twig\Sandbox\SecurityNotAllowedFunctionError;
  11. use Twig\Source;
  12. use Twig\Template;
  13. /* frontend/header.html.twig */
  14. class __TwigTemplate_be3eeeb441b127cd519c7cc6684bf7a4 extends \Twig\Template
  15. {
  16.     private $source;
  17.     private $macros = [];
  18.     public function __construct(Environment $env)
  19.     {
  20.         parent::__construct($env);
  21.         $this->source $this->getSourceContext();
  22.         $this->parent false;
  23.         $this->blocks = [
  24.         ];
  25.     }
  26.     protected function doDisplay(array $context, array $blocks = [])
  27.     {
  28.         $macros $this->macros;
  29.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  30.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""frontend/header.html.twig"));
  31.         $__internal_b91a4435ea3baf1e2b6bfda56133dace $this->extensions["Sentry\\SentryBundle\\Tracing\\Twig\\TwigTracingExtension"];
  32.         $__internal_b91a4435ea3baf1e2b6bfda56133dace->enter($__internal_b91a4435ea3baf1e2b6bfda56133dace_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""frontend/header.html.twig"));
  33.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  34.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""frontend/header.html.twig"));
  35.         // line 1
  36.         echo "<header id=\"header\" class=\"header\" role=\"banner\">
  37.     ";
  38.         // line 2
  39.         $this->loadTemplate("frontend/header_change_country.html.twig""frontend/header.html.twig"2)->display($context);
  40.         // line 3
  41.         echo "
  42.     ";
  43.         // line 4
  44.         ob_start();
  45.         // line 5
  46.         echo "        ";
  47.         $this->loadTemplate("frontend/countries.html.twig""frontend/header.html.twig"5)->display($context);
  48.         // line 6
  49.         echo "    ";
  50.         $context["country_switcher"] = ('' === $tmp ob_get_clean()) ? '' : new Markup($tmp$this->env->getCharset());
  51.         // line 7
  52.         echo "
  53.     <div class=\"header-container-top header-menu-mobile clearfix\" data-size=\"big\">
  54.         <div class=\"left\"><a href=\"";
  55.         // line 9
  56.         echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("homepage");
  57.         echo "\"><img src=\"";
  58.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("bundles/vpauto/frontend/images/logo-vpauto.webp"), "html"nulltrue);
  59.         echo "\" alt=\"Achat/Vente de voitures d'occasion aux enchères\" class=\"logo-vpauto\" /></a></div>
  60.         <nav class=\"left navigation nav m-hide\" role=\"navigation\">
  61.             <ul class=\"clearfix\">
  62.                 <li>
  63.                     <a href=\"javascript:void(0)\" class=\"bt-menu tab-l-hide tab-p-hide m-hide\">
  64.                         <span class=\"lignes\">
  65.                           <span class=\"ligne1\"></span>
  66.                           <span class=\"ligne2\"></span>
  67.                           <span class=\"ligne3\"></span>
  68.                         </span>
  69.                         <span>";
  70.         // line 20
  71.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("frontend.header.navigation.menu"), "html"nulltrue);
  72.         echo "</span>
  73.                     </a>
  74.                     <a href=\"#\" class=\"tab-bt-menu grid-hide tab-l-visible tab-p-visible m-hide\">
  75.                         <span class=\"lignes\">
  76.                           <span class=\"ligne1\"></span>
  77.                           <span class=\"ligne2\"></span>
  78.                           <span class=\"ligne3\"></span>
  79.                         </span>
  80.                         <span>";
  81.         // line 28
  82.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("frontend.header.navigation.menu"), "html"nulltrue);
  83.         echo "</span>
  84.                     </a>
  85.                 </li>
  86.                 <li class=\"tab-l-hide tab-p-hide m-hide\"><a href=\"";
  87.         // line 31
  88.         echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("frontend_vehicle_list");
  89.         echo "\">";
  90.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("frontend.header.link.buy"), "html"nulltrue);
  91.         echo "</a></li>
  92.                 ";
  93.         // line 32
  94.         if ($this->extensions['App\Twig\Extension\CountryExtension']->isCurrentCountry(twig_constant("App\\Twig\\Extension\\CountryExtension::COUNTRY_FRANCE"))) {
  95.             // line 33
  96.             echo "                    <li class=\"tab-l-hide tab-p-hide m-hide\"><a href=\"";
  97.             echo twig_escape_filter($this->env, (isset($context["sell_my_auto_url"]) || array_key_exists("sell_my_auto_url"$context) ? $context["sell_my_auto_url"] : (function () { throw new RuntimeError('Variable "sell_my_auto_url" does not exist.'33$this->source); })()), "html"nulltrue);
  98.             echo "\" target=\"_blank\" title=\"\">";
  99.             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("frontend.header.link.sell"), "html"nulltrue);
  100.             echo "</a></li>
  101.                 ";
  102.         }
  103.         // line 35
  104.         echo "                ";
  105.         if ($this->extensions['App\Twig\Extension\CountryExtension']->isCurrentCountry(twig_constant("App\\Twig\\Extension\\CountryExtension::COUNTRY_FRANCE"))) {
  106.             // line 36
  107.             echo "                    <li class=\"grid-xl-visible grid-l-visible grid-hide\">
  108.                         <a href=\"";
  109.             // line 37
  110.             echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("frontend_wiki_list_fr", ["limit" => 10]);
  111.             echo "\" title=\"\">
  112.                             ";
  113.             // line 38
  114.             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("frontend.france.blog.link01"), "html"nulltrue);
  115.             echo "
  116.                         </a>
  117.                     </li>
  118.                 ";
  119.         }
  120.         // line 42
  121.         echo "                ";
  122.         if ($this->extensions['App\Twig\Extension\CountryExtension']->isCurrentCountry(twig_constant("App\\Twig\\Extension\\CountryExtension::COUNTRY_PORTUGAL"))) {
  123.             // line 43
  124.             echo "                    <li class=\"grid-xl-visible grid-l-visible grid-hide\">
  125.                         <a href=\"";
  126.             // line 44
  127.             echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("frontend_wiki_list_pt");
  128.             echo "\">
  129.                             ";
  130.             // line 45
  131.             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("frontend.portugal.blog.title"), "html"nulltrue);
  132.             echo "
  133.                         </a>
  134.                     </li>
  135.                 ";
  136.         }
  137.         // line 49
  138.         echo "            </ul>
  139.         </nav>
  140.         <div class=\"menuhaut d-menuhaut right prelative tab-p-hide m-hide\">
  141.             <ul class=\"left\">
  142.                 <li class=\"tel\"><i class=\"icon-menu-tel\"></i><span>";
  143.         // line 54
  144.         $this->loadTemplate("Frontend/user/_tel_customer_service.html.twig""frontend/header.html.twig"54)->display($context);
  145.         echo "</span></li>
  146.                 ";
  147.         // line 55
  148.         if (( !(null === twig_get_attribute($this->env$this->source, (isset($context["app"]) || array_key_exists("app"$context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.'55$this->source); })()), "user", [], "any"falsefalsefalse55)) && $this->extensions['Symfony\Bridge\Twig\Extension\SecurityExtension']->isGranted("IS_AUTHENTICATED_REMEMBERED"))) {
  149.             // line 56
  150.             echo "                    <li class=\"connexion\"><a href=\"";
  151.             echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("fos_user_profile_edit");
  152.             echo "\" title=\"\" class=\"mon-compte\">";
  153.             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("frontend.profile.account"), "html"nulltrue);
  154.             echo "</a></li>
  155.                     ";
  156.             // line 57
  157.             if ($this->extensions['Symfony\Bridge\Twig\Extension\SecurityExtension']->isGranted("ROLE_PREVIOUS_ADMIN")) {
  158.                 // line 58
  159.                 echo "                        <li class=\"inscription\"><a href=\"";
  160.                 echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("backend_user_view", ["id" => twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["app"]) || array_key_exists("app"$context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.'58$this->source); })()), "user", [], "any"falsefalsefalse58), "id", [], "any"falsefalsefalse58), "_switch_user" => "_exit"]), "html"nulltrue);
  161.                 echo "\" title=\"\">";
  162.                 echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("frontend.switch.user.exit"), "html"nulltrue);
  163.                 echo "</a></li>
  164.                     ";
  165.             } else {
  166.                 // line 60
  167.                 echo "                        <li class=\"deconnexion\"><a href=\"";
  168.                 echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("fos_user_security_logout");
  169.                 echo "\" title=\"\" class=\"deconnexion\">";
  170.                 echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("frontend.profile.logout"), "html"nulltrue);
  171.                 echo "</a></li>
  172.                     ";
  173.             }
  174.             // line 62
  175.             echo "                ";
  176.         } else {
  177.             // line 63
  178.             echo "                    <li class=\"connexion u-login u-modal\"><a href=\"#\" title=\"\" class=\"\">";
  179.             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("frontend.header.profile.login"), "html"nulltrue);
  180.             echo "</a></li>
  181.                     <li class=\"inscription header_menu_dropdown\">
  182.                         ";
  183.             // line 65
  184.             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("frontend.header.profile.create"), "html"nulltrue);
  185.             echo "
  186.                         <svg xmlns=\"http://www.w3.org/2000/svg\" width=\"8\" height=\"8\" fill=\"#383b3e\" class=\"bi bi-chevron-down\" viewBox=\"0 0 16 16\">
  187.                             <path fill-rule=\"evenodd\" d=\"M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z\"></path>
  188.                         </svg>
  189.                         <ul class=\"header_menu_dropdown_ul\">
  190.                             <li class=\"header_menu_link_pro\"><a href=\"";
  191.             // line 70
  192.             echo twig_escape_filter($this->env$this->extensions['App\Twig\Extension\ADExtension']->generateADUrl(), "html"nulltrue);
  193.             echo "\" title=\"";
  194.             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("frontend.header.link.pro"), "html"nulltrue);
  195.             echo "\">";
  196.             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("frontend.header.link.pro"), "html"nulltrue);
  197.             echo "</a></li>
  198.                             <li class=\"header_menu_link_private\"><a href=\"";
  199.             // line 71
  200.             echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("registration_step", ["step" => 2]);
  201.             echo "\" title=\"";
  202.             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("frontend.header.link.private"), "html"nulltrue);
  203.             echo "\">";
  204.             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("frontend.header.link.private"), "html"nulltrue);
  205.             echo "</a></li>
  206.                             <li class=\"header_menu_link_society\"><a href=\"";
  207.             // line 72
  208.             echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("registration_step", ["step" => 2]);
  209.             echo "\" title=\"";
  210.             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("frontend.header.link.society"), "html"nulltrue);
  211.             echo "\">";
  212.             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("frontend.header.link.society"), "html"nulltrue);
  213.             echo "</a></li>
  214.                         </ul>
  215.                     </li>
  216.                 ";
  217.         }
  218.         // line 76
  219.         echo "                ";
  220.         if (((null === twig_get_attribute($this->env$this->source, (isset($context["app"]) || array_key_exists("app"$context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.'76$this->source); })()), "user", [], "any"falsefalsefalse76)) || $this->env->getTest('pro')->getCallable()(twig_get_attribute($this->env$this->source, (isset($context["app"]) || array_key_exists("app"$context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.'76$this->source); })()), "user", [], "any"falsefalsefalse76)))) {
  221.             // line 77
  222.             echo "                    <li class=\"btn-pro\"><a href=\"";
  223.             echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("homepage_pro");
  224.             echo "\" title=\"\" rel=\"nofollow\">";
  225.             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("frontend.header.button.pro"), "html"nulltrue);
  226.             echo "</a></li>
  227.                 ";
  228.         }
  229.         // line 79
  230.         echo "                ";
  231.         if ( !$this->extensions['App\Twig\Extension\WebsiteExtension']->isCurrentWebsite("showvroom")) {
  232.             // line 80
  233.             echo "                    <li class=\"langue cursor\">
  234.                         <span class=\"d-txt-langue\">
  235.                             <i class=\"icon-flag-";
  236.             // line 82
  237.             echo twig_escape_filter($this->env, (isset($context["current_country"]) || array_key_exists("current_country"$context) ? $context["current_country"] : (function () { throw new RuntimeError('Variable "current_country" does not exist.'82$this->source); })()), "html"nulltrue);
  238.             echo "\"></i>
  239.                             <span class=\"fleche\">
  240.                                 <span class=\"ligne1\"></span>
  241.                                 <span class=\"ligne2\"></span>
  242.                             </span>
  243.                         </span>
  244.                         ";
  245.             // line 89
  246.             echo twig_escape_filter($this->env, (isset($context["country_switcher"]) || array_key_exists("country_switcher"$context) ? $context["country_switcher"] : (function () { throw new RuntimeError('Variable "country_switcher" does not exist.'89$this->source); })()), "html"nulltrue);
  247.             echo "
  248.                     </li>
  249.                 ";
  250.         }
  251.         // line 92
  252.         echo "            </ul>
  253.         </div>
  254.         <div class=\"menuhaut-mobile right grid-hide tab-l-hide tab-p-hide m-visible\">
  255.             <a href=\"#\" class=\"m-bt-menu\">
  256.                 <span class=\"lignes\">
  257.                   <span class=\"ligne1\"></span>
  258.                   <span class=\"ligne2\"></span>
  259.                   <span class=\"ligne3\"></span>
  260.                 </span>
  261.                 <span>";
  262.         // line 101
  263.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("frontend.navigation.menu"), "html"nulltrue);
  264.         echo "</span>
  265.             </a>
  266.         </div>
  267.     </div>
  268. </header>
  269. ";
  270.         // line 106
  271.         $this->loadTemplate("frontend/main_menu.html.twig""frontend/header.html.twig"106)->display(twig_array_merge($context, ["type" => "private""country_switcher" =>         // line 108
  272. (isset($context["country_switcher"]) || array_key_exists("country_switcher"$context) ? $context["country_switcher"] : (function () { throw new RuntimeError('Variable "country_switcher" does not exist.'108$this->source); })())]));
  273.         
  274.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  275.         
  276.         $__internal_b91a4435ea3baf1e2b6bfda56133dace->leave($__internal_b91a4435ea3baf1e2b6bfda56133dace_prof);
  277.         
  278.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  279.     }
  280.     public function getTemplateName()
  281.     {
  282.         return "frontend/header.html.twig";
  283.     }
  284.     public function isTraitable()
  285.     {
  286.         return false;
  287.     }
  288.     public function getDebugInfo()
  289.     {
  290.         return array (  285 => 108,  284 => 106,  276 => 101,  265 => 92,  259 => 89,  249 => 82,  245 => 80,  242 => 79,  234 => 77,  231 => 76,  220 => 72,  212 => 71,  204 => 70,  196 => 65,  190 => 63,  187 => 62,  179 => 60,  171 => 58,  169 => 57,  162 => 56,  160 => 55,  156 => 54,  149 => 49,  142 => 45,  138 => 44,  135 => 43,  132 => 42,  125 => 38,  121 => 37,  118 => 36,  115 => 35,  107 => 33,  105 => 32,  99 => 31,  93 => 28,  82 => 20,  66 => 9,  62 => 7,  59 => 6,  56 => 5,  54 => 4,  51 => 3,  49 => 2,  46 => 1,);
  291.     }
  292.     public function getSourceContext()
  293.     {
  294.         return new Source("<header id=\"header\" class=\"header\" role=\"banner\">
  295.     {% include 'frontend/header_change_country.html.twig' %}
  296.     {% set country_switcher %}
  297.         {% include 'frontend/countries.html.twig' %}
  298.     {% endset %}
  299.     <div class=\"header-container-top header-menu-mobile clearfix\" data-size=\"big\">
  300.         <div class=\"left\"><a href=\"{{ path('homepage') }}\"><img src=\"{{ asset('bundles/vpauto/frontend/images/logo-vpauto.webp') }}\" alt=\"Achat/Vente de voitures d'occasion aux enchères\" class=\"logo-vpauto\" /></a></div>
  301.         <nav class=\"left navigation nav m-hide\" role=\"navigation\">
  302.             <ul class=\"clearfix\">
  303.                 <li>
  304.                     <a href=\"javascript:void(0)\" class=\"bt-menu tab-l-hide tab-p-hide m-hide\">
  305.                         <span class=\"lignes\">
  306.                           <span class=\"ligne1\"></span>
  307.                           <span class=\"ligne2\"></span>
  308.                           <span class=\"ligne3\"></span>
  309.                         </span>
  310.                         <span>{{ 'frontend.header.navigation.menu'|trans }}</span>
  311.                     </a>
  312.                     <a href=\"#\" class=\"tab-bt-menu grid-hide tab-l-visible tab-p-visible m-hide\">
  313.                         <span class=\"lignes\">
  314.                           <span class=\"ligne1\"></span>
  315.                           <span class=\"ligne2\"></span>
  316.                           <span class=\"ligne3\"></span>
  317.                         </span>
  318.                         <span>{{ 'frontend.header.navigation.menu'|trans }}</span>
  319.                     </a>
  320.                 </li>
  321.                 <li class=\"tab-l-hide tab-p-hide m-hide\"><a href=\"{{ path('frontend_vehicle_list') }}\">{{ 'frontend.header.link.buy'|trans }}</a></li>
  322.                 {% if is_current_country(constant('App\\\\Twig\\\\Extension\\\\CountryExtension::COUNTRY_FRANCE')) %}
  323.                     <li class=\"tab-l-hide tab-p-hide m-hide\"><a href=\"{{ sell_my_auto_url }}\" target=\"_blank\" title=\"\">{{ 'frontend.header.link.sell'|trans }}</a></li>
  324.                 {% endif %}
  325.                 {% if is_current_country(constant('App\\\\Twig\\\\Extension\\\\CountryExtension::COUNTRY_FRANCE')) %}
  326.                     <li class=\"grid-xl-visible grid-l-visible grid-hide\">
  327.                         <a href=\"{{ path('frontend_wiki_list_fr', {'limit': 10}) }}\" title=\"\">
  328.                             {{ 'frontend.france.blog.link01'|trans }}
  329.                         </a>
  330.                     </li>
  331.                 {% endif %}
  332.                 {% if is_current_country(constant('App\\\\Twig\\\\Extension\\\\CountryExtension::COUNTRY_PORTUGAL')) %}
  333.                     <li class=\"grid-xl-visible grid-l-visible grid-hide\">
  334.                         <a href=\"{{ path('frontend_wiki_list_pt') }}\">
  335.                             {{ 'frontend.portugal.blog.title'|trans }}
  336.                         </a>
  337.                     </li>
  338.                 {% endif %}
  339.             </ul>
  340.         </nav>
  341.         <div class=\"menuhaut d-menuhaut right prelative tab-p-hide m-hide\">
  342.             <ul class=\"left\">
  343.                 <li class=\"tel\"><i class=\"icon-menu-tel\"></i><span>{% include 'Frontend/user/_tel_customer_service.html.twig' %}</span></li>
  344.                 {% if app.user is not null and is_granted('IS_AUTHENTICATED_REMEMBERED') %}
  345.                     <li class=\"connexion\"><a href=\"{{ path('fos_user_profile_edit') }}\" title=\"\" class=\"mon-compte\">{{ \"frontend.profile.account\"|trans }}</a></li>
  346.                     {% if is_granted('ROLE_PREVIOUS_ADMIN') %}
  347.                         <li class=\"inscription\"><a href=\"{{ path('backend_user_view', {'id': app.user.id, '_switch_user': '_exit'})}}\" title=\"\">{{ \"frontend.switch.user.exit\"|trans }}</a></li>
  348.                     {% else %}
  349.                         <li class=\"deconnexion\"><a href=\"{{ path('fos_user_security_logout') }}\" title=\"\" class=\"deconnexion\">{{ \"frontend.profile.logout\"|trans }}</a></li>
  350.                     {% endif %}
  351.                 {% else %}
  352.                     <li class=\"connexion u-login u-modal\"><a href=\"#\" title=\"\" class=\"\">{{ \"frontend.header.profile.login\"|trans }}</a></li>
  353.                     <li class=\"inscription header_menu_dropdown\">
  354.                         {{ \"frontend.header.profile.create\"|trans }}
  355.                         <svg xmlns=\"http://www.w3.org/2000/svg\" width=\"8\" height=\"8\" fill=\"#383b3e\" class=\"bi bi-chevron-down\" viewBox=\"0 0 16 16\">
  356.                             <path fill-rule=\"evenodd\" d=\"M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z\"></path>
  357.                         </svg>
  358.                         <ul class=\"header_menu_dropdown_ul\">
  359.                             <li class=\"header_menu_link_pro\"><a href=\"{{ getADUrl() }}\" title=\"{{ \"frontend.header.link.pro\"|trans }}\">{{ \"frontend.header.link.pro\"|trans }}</a></li>
  360.                             <li class=\"header_menu_link_private\"><a href=\"{{ path('registration_step', {step: 2}) }}\" title=\"{{ \"frontend.header.link.private\"|trans }}\">{{ \"frontend.header.link.private\"|trans }}</a></li>
  361.                             <li class=\"header_menu_link_society\"><a href=\"{{ path('registration_step', {step: 2}) }}\" title=\"{{ \"frontend.header.link.society\"|trans }}\">{{ \"frontend.header.link.society\"|trans }}</a></li>
  362.                         </ul>
  363.                     </li>
  364.                 {% endif %}
  365.                 {% if app.user is null or app.user is pro %}
  366.                     <li class=\"btn-pro\"><a href=\"{{ path('homepage_pro') }}\" title=\"\" rel=\"nofollow\">{{ \"frontend.header.button.pro\"|trans }}</a></li>
  367.                 {% endif %}
  368.                 {% if not (is_current_website('showvroom')) %}
  369.                     <li class=\"langue cursor\">
  370.                         <span class=\"d-txt-langue\">
  371.                             <i class=\"icon-flag-{{ current_country }}\"></i>
  372.                             <span class=\"fleche\">
  373.                                 <span class=\"ligne1\"></span>
  374.                                 <span class=\"ligne2\"></span>
  375.                             </span>
  376.                         </span>
  377.                         {{ country_switcher }}
  378.                     </li>
  379.                 {% endif %}
  380.             </ul>
  381.         </div>
  382.         <div class=\"menuhaut-mobile right grid-hide tab-l-hide tab-p-hide m-visible\">
  383.             <a href=\"#\" class=\"m-bt-menu\">
  384.                 <span class=\"lignes\">
  385.                   <span class=\"ligne1\"></span>
  386.                   <span class=\"ligne2\"></span>
  387.                   <span class=\"ligne3\"></span>
  388.                 </span>
  389.                 <span>{{ 'frontend.navigation.menu'|trans }}</span>
  390.             </a>
  391.         </div>
  392.     </div>
  393. </header>
  394. {% include 'frontend/main_menu.html.twig' with {
  395.     'type': 'private',
  396.     country_switcher: country_switcher
  397. } %}
  398. ""frontend/header.html.twig""/srv/templates/frontend/header.html.twig");
  399.     }
  400. }