var/cache/dev/twig/84/84c920f807f93c86a237ddcd07f79e382660e784faad801b102552d29f5214ea.php line 33

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. /* SyliusShopBundle::_header.html.twig */
  14. class __TwigTemplate_3bee6c85a60e30b332f0328d16c2dc8ebf1dd91da53bef3b950dbc3ab7498fe9 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_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  30.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""SyliusShopBundle::_header.html.twig"));
  31.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  32.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""SyliusShopBundle::_header.html.twig"));
  33.         // line 1
  34.         echo "        ";
  35.         $context["block"] = $this->extensions['App\Twig\Extensions\Cms\BlockExtension']->getBlock("texteperso_header"twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["sylius"]) || array_key_exists("sylius"$context) ? $context["sylius"] : (function () { throw new RuntimeError('Variable "sylius" does not exist.'1$this->source); })()), "channel", [], "any"falsefalsefalse1), "code", [], "any"falsefalsefalse1));
  36.         // line 2
  37.         echo "        <div class=\"top-header\">
  38.         \t<div class=\"container p-lg-0 position-relative\">
  39.               <div class=\"row no-gutters\">
  40.                 <div class=\"col-12 \">
  41.                     <div class=\"phrase-admin\">
  42.                         <p>&nbsp;</p>
  43.                     </div>
  44.                 </div>
  45.                 <a class=\"devis-btn\" title=\"\">
  46.                     ";
  47.         // line 11
  48.         if (twig_get_attribute($this->env$this->source, ($context["block"] ?? null), "content", [], "any"truetruefalse11)) {
  49.             // line 12
  50.             echo "                        ";
  51.             echo twig_get_attribute($this->env$this->source, (isset($context["block"]) || array_key_exists("block"$context) ? $context["block"] : (function () { throw new RuntimeError('Variable "block" does not exist.'12$this->source); })()), "content", [], "any"falsefalsefalse12);
  52.             echo "
  53.                     ";
  54.         }
  55.         // line 14
  56.         echo "                </a>
  57.               </div>
  58.             </div>
  59.         </div>
  60.         <div class=\"header-sticky\">
  61.             <div class=\"container p-lg-0\">
  62.                 <div id=\"header\">
  63.                     <div class=\"row align-items-center\">
  64.                         <div class=\"menu-mobile-bloc\"><a href=\"#\" class=\"toggle-menu\" title=\"MENU\"><img src=\"";
  65.         // line 23
  66.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("images/ico_menu_m.svg"), "html"nulltrue);
  67.         echo "\" alt=\"\" class=\"hidden-640\"><img src=\"";
  68.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("images/ico_menu_m2.svg"), "html"nulltrue);
  69.         echo "\" alt=\"\" class=\"visible-640\"><span>";
  70.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("app.header.menu"), "html"nulltrue);
  71.         echo "</span></a></div>
  72.                         ";
  73.         // line 24
  74.         echo $this->extensions['Sylius\Bundle\UiBundle\Twig\TemplateEventExtension']->render("sylius.shop.layout.header.grid");
  75.         echo "
  76.                     </div>
  77.                 </div>
  78.             </div>
  79.         </div>
  80. ";
  81.         
  82.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  83.         
  84.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  85.     }
  86.     public function getTemplateName()
  87.     {
  88.         return "SyliusShopBundle::_header.html.twig";
  89.     }
  90.     public function isTraitable()
  91.     {
  92.         return false;
  93.     }
  94.     public function getDebugInfo()
  95.     {
  96.         return array (  84 => 24,  76 => 23,  65 => 14,  59 => 12,  57 => 11,  46 => 2,  43 => 1,);
  97.     }
  98.     public function getSourceContext()
  99.     {
  100.         return new Source("        {% set block = app_get_blocks('texteperso_header', sylius.channel.code )  %}
  101.         <div class=\"top-header\">
  102.         \t<div class=\"container p-lg-0 position-relative\">
  103.               <div class=\"row no-gutters\">
  104.                 <div class=\"col-12 \">
  105.                     <div class=\"phrase-admin\">
  106.                         <p>&nbsp;</p>
  107.                     </div>
  108.                 </div>
  109.                 <a class=\"devis-btn\" title=\"\">
  110.                     {%  if block.content is defined %}
  111.                         {{ block.content|raw }}
  112.                     {%  endif  %}
  113.                 </a>
  114.               </div>
  115.             </div>
  116.         </div>
  117.         <div class=\"header-sticky\">
  118.             <div class=\"container p-lg-0\">
  119.                 <div id=\"header\">
  120.                     <div class=\"row align-items-center\">
  121.                         <div class=\"menu-mobile-bloc\"><a href=\"#\" class=\"toggle-menu\" title=\"MENU\"><img src=\"{{ asset('images/ico_menu_m.svg') }}\" alt=\"\" class=\"hidden-640\"><img src=\"{{ asset('images/ico_menu_m2.svg') }}\" alt=\"\" class=\"visible-640\"><span>{{'app.header.menu' |trans}}</span></a></div>
  122.                         {{ sylius_template_event('sylius.shop.layout.header.grid') }}
  123.                     </div>
  124.                 </div>
  125.             </div>
  126.         </div>
  127. ""SyliusShopBundle::_header.html.twig""/home/rayonnage/preprod/sylius/themes/BootstrapTheme/SyliusShopBundle/views/_header.html.twig");
  128.     }
  129. }