var/cache/dev/twig/ea/eabdae8332ba94a8d37849f0cf0d28dd.php line 41

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. /* @SyliusShop/layout.html.twig */
  14. class __TwigTemplate_c1d24e82652343cc907e833e1c6328a9 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.             'title' => [$this'block_title'],
  25.             'metatags' => [$this'block_metatags'],
  26.             'stylesheets' => [$this'block_stylesheets'],
  27.             'top' => [$this'block_top'],
  28.             'header' => [$this'block_header'],
  29.             'content' => [$this'block_content'],
  30.             'footer' => [$this'block_footer'],
  31.             'javascripts' => [$this'block_javascripts'],
  32.         ];
  33.     }
  34.     protected function doDisplay(array $context, array $blocks = [])
  35.     {
  36.         $macros $this->macros;
  37.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  38.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""@SyliusShop/layout.html.twig"));
  39.         // line 1
  40.         echo "<!DOCTYPE html>
  41. <html lang=\"";
  42.         // line 3
  43.         echo twig_escape_filter($this->envtwig_slice($this->envtwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, ($context["app"] ?? null), "request", [], "any"falsefalsefalse3), "locale", [], "any"falsefalsefalse3), 02), "html"nulltrue);
  44.         echo "\">
  45. <head>
  46.     <meta charset=\"utf-8\">
  47.     <meta http-equiv=\"X-UA-Compatible\" content=\"IE=edge\">
  48.     <title>";
  49.         // line 8
  50.         $this->displayBlock('title'$context$blocks);
  51.         echo "</title>
  52.     <meta content=\"width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no\" name=\"viewport\">
  53.     <link rel=\"icon\" href=\"/favicon.svg\" type=\"image/svg+xml\">
  54.     ";
  55.         // line 13
  56.         $this->displayBlock('metatags'$context$blocks);
  57.         // line 15
  58.         echo "
  59.     ";
  60.         // line 16
  61.         $this->displayBlock('stylesheets'$context$blocks);
  62.         // line 77
  63.         echo "
  64.     ";
  65.         // line 78
  66.         echo $this->env->getRuntime('Sonata\BlockBundle\Templating\Helper\BlockHelper')->renderEvent("sylius.shop.layout.head");
  67.         echo "
  68. </head>
  69. <body class=\"pushable\">
  70. ";
  71.         // line 82
  72.         echo $this->env->getRuntime('Sonata\BlockBundle\Templating\Helper\BlockHelper')->renderEvent("sylius.shop.layout.before_body");
  73.         echo "
  74. <div class=\"pusher\">
  75.     ";
  76.         // line 84
  77.         $this->displayBlock('top'$context$blocks);
  78.         // line 98
  79.         echo "    <div class=\"ui container\">
  80.         ";
  81.         // line 99
  82.         $this->displayBlock('header'$context$blocks);
  83.         // line 114
  84.         echo "
  85.         ";
  86.         // line 115
  87.         $this->loadTemplate("@SyliusUi/_flashes.html.twig""@SyliusShop/layout.html.twig"115)->display($context);
  88.         // line 116
  89.         echo "
  90.         ";
  91.         // line 117
  92.         echo $this->env->getRuntime('Sonata\BlockBundle\Templating\Helper\BlockHelper')->renderEvent("sylius.shop.layout.before_content");
  93.         echo "
  94.         ";
  95.         // line 119
  96.         $this->displayBlock('content'$context$blocks);
  97.         // line 121
  98.         echo "
  99.         ";
  100.         // line 122
  101.         echo $this->env->getRuntime('Sonata\BlockBundle\Templating\Helper\BlockHelper')->renderEvent("sylius.shop.layout.after_content");
  102.         echo "
  103.     </div>
  104.     ";
  105.         // line 125
  106.         $this->displayBlock('footer'$context$blocks);
  107.         // line 128
  108.         echo "</div>
  109. ";
  110.         // line 130
  111.         $this->displayBlock('javascripts'$context$blocks);
  112.         // line 135
  113.         echo "
  114. ";
  115.         // line 136
  116.         $this->loadTemplate("@SyliusUi/Modal/_confirmation.html.twig""@SyliusShop/layout.html.twig"136)->display($context);
  117.         // line 137
  118.         echo $this->env->getRuntime('Sonata\BlockBundle\Templating\Helper\BlockHelper')->renderEvent("sylius.shop.layout.after_body");
  119.         echo "
  120. </body>
  121. </html>
  122. ";
  123.         
  124.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  125.     }
  126.     // line 8
  127.     public function block_title($context, array $blocks = [])
  128.     {
  129.         $macros $this->macros;
  130.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  131.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""title"));
  132.         echo "BitBag OpenMarketplace";
  133.         
  134.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  135.     }
  136.     // line 13
  137.     public function block_metatags($context, array $blocks = [])
  138.     {
  139.         $macros $this->macros;
  140.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  141.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""metatags"));
  142.         // line 14
  143.         echo "    ";
  144.         
  145.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  146.     }
  147.     // line 16
  148.     public function block_stylesheets($context, array $blocks = [])
  149.     {
  150.         $macros $this->macros;
  151.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  152.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""stylesheets"));
  153.         // line 17
  154.         echo "        <link href=\"https://afeld.github.io/emoji-css/emoji.css\" rel=\"stylesheet\">
  155.         <style>
  156.             .bitbag-page a, .bitbag-page a:hover {
  157.                 color: rgba(0, 0, 0, .87);
  158.                 width: 100%;
  159.             }
  160.             .bitbag-image-block a, .bitbag-image-block a:hover, .bitbag-image-block a:focus {
  161.                 color: #333333;
  162.             }
  163.             .top.one {
  164.                 margin-top: 1rem;
  165.             }
  166.             .bitbag-page, .bitbag-frequently-asked-question {
  167.                 padding-top: 1rem;
  168.                 padding-bottom: 1rem;
  169.                 border-bottom: 1px solid rgba(34, 36, 38, .15);
  170.             }
  171.             .bitbag-page:hover {
  172.                 background: rgba(0, 0, 0, .03);
  173.             }
  174.             .italic {
  175.                 font-style: italic;
  176.             }
  177.             .intro {
  178.                 text-align: center;
  179.                 text-transform: uppercase;
  180.                 font-weight: 900;
  181.             }
  182.             .intro.promo {
  183.                 text-align: center;
  184.                 text-transform: none;
  185.                 font-weight: 900;
  186.                 font-size: 20px;
  187.             }
  188.             .ui.menu .item > .label.credentials {
  189.                 font-size: 14px;
  190.             }
  191.             .cms-logo {
  192.                 margin-top: 20px;
  193.                 margin-bottom: 20px;
  194.             }
  195.             pre {
  196.                 overflow: auto;
  197.             }
  198.         </style>
  199.         ";
  200.         // line 74
  201.         echo $this->env->getRuntime('Sonata\BlockBundle\Templating\Helper\BlockHelper')->renderEvent("sylius.shop.layout.stylesheets");
  202.         echo "
  203.         ";
  204.         // line 75
  205.         echo $this->extensions['Sylius\Bundle\UiBundle\Twig\TemplateEventExtension']->render("sylius.shop.layout.stylesheets");
  206.         echo "
  207.     ";
  208.         
  209.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  210.     }
  211.     // line 84
  212.     public function block_top($context, array $blocks = [])
  213.     {
  214.         $macros $this->macros;
  215.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  216.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""top"));
  217.         // line 85
  218.         echo "        <div id=\"menu\" class=\"ui large sticky inverted stackable menu\">
  219.             ";
  220.         // line 86
  221.         echo $this->env->getRuntime('Sonata\BlockBundle\Templating\Helper\BlockHelper')->renderEvent("sylius.shop.layout.before_currency_switcher");
  222.         echo "
  223.             ";
  224.         // line 88
  225.         echo $this->env->getRuntime('Symfony\Bridge\Twig\Extension\HttpKernelRuntime')->renderFragment(Symfony\Bridge\Twig\Extension\HttpKernelExtension::controller("sylius.controller.shop.currency_switch:renderAction"));
  226.         echo "
  227.             ";
  228.         // line 89
  229.         echo $this->env->getRuntime('Symfony\Bridge\Twig\Extension\HttpKernelRuntime')->renderFragment(Symfony\Bridge\Twig\Extension\HttpKernelExtension::controller("sylius.controller.shop.locale_switch:renderAction"));
  230.         echo "
  231.             ";
  232.         // line 91
  233.         echo $this->env->getRuntime('Sonata\BlockBundle\Templating\Helper\BlockHelper')->renderEvent("sylius.shop.layout.before_security_widget");
  234.         echo "
  235.             ";
  236.         // line 93
  237.         echo $this->env->getRuntime('Symfony\Bridge\Twig\Extension\HttpKernelRuntime')->renderFragment(Symfony\Bridge\Twig\Extension\HttpKernelExtension::controller("sylius.controller.shop.security_widget:renderAction"));
  238.         echo "
  239.             ";
  240.         // line 95
  241.         echo $this->env->getRuntime('Sonata\BlockBundle\Templating\Helper\BlockHelper')->renderEvent("sylius.shop.layout.after_security_widget");
  242.         echo "
  243.         </div>
  244.     ";
  245.         
  246.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  247.     }
  248.     // line 99
  249.     public function block_header($context, array $blocks = [])
  250.     {
  251.         $macros $this->macros;
  252.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  253.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""header"));
  254.         // line 100
  255.         echo "            <header>
  256.                 ";
  257.         // line 101
  258.         $this->loadTemplate("@SyliusShop/_header.html.twig""@SyliusShop/layout.html.twig"101)->display($context);
  259.         // line 102
  260.         echo "
  261.                 ";
  262.         // line 103
  263.         echo $this->env->getRuntime('Sonata\BlockBundle\Templating\Helper\BlockHelper')->renderEvent("sylius.shop.layout.after_header");
  264.         echo "
  265.                 <div class=\"ui large stackable menu borderless bb-flex-taxon-menu\">
  266.                     ";
  267.         // line 106
  268.         echo $this->env->getRuntime('Symfony\Bridge\Twig\Extension\HttpKernelRuntime')->renderFragment($this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getUrl("sylius_shop_partial_taxon_index_by_code", ["code" => "menu_category""template" => "@SyliusShop/Taxon/_horizontalMenu.html.twig"]));
  269.         echo "
  270.                     ";
  271.         // line 107
  272.         echo $this->env->getRuntime('Symfony\Bridge\Twig\Extension\HttpKernelRuntime')->renderFragment($this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("bitbag_sylius_cms_plugin_shop_page_show_link_by_code", ["code" => "about""template" => "@BitBagSyliusCmsPlugin/Shop/Page/Show/_link.html.twig"]));
  273.         echo "
  274.                     <a href=\"";
  275.         // line 108
  276.         echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("sylius_admin_login");
  277.         echo "\" class=\"item\">
  278.                         <span class=\"ui label blue credentials\">Admin credentials: bitbag, password: password</span>
  279.                     </a>
  280.                 </div>
  281.             </header>
  282.         ";
  283.         
  284.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  285.     }
  286.     // line 119
  287.     public function block_content($context, array $blocks = [])
  288.     {
  289.         $macros $this->macros;
  290.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  291.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""content"));
  292.         // line 120
  293.         echo "        ";
  294.         
  295.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  296.     }
  297.     // line 125
  298.     public function block_footer($context, array $blocks = [])
  299.     {
  300.         $macros $this->macros;
  301.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  302.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""footer"));
  303.         // line 126
  304.         echo "        ";
  305.         $this->loadTemplate("@SyliusShop/_footer.html.twig""@SyliusShop/layout.html.twig"126)->display($context);
  306.         // line 127
  307.         echo "    ";
  308.         
  309.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  310.     }
  311.     // line 130
  312.     public function block_javascripts($context, array $blocks = [])
  313.     {
  314.         $macros $this->macros;
  315.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  316.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""javascripts"));
  317.         // line 131
  318.         echo "    ";
  319.         $this->loadTemplate("@SyliusUi/_javascripts.html.twig""@SyliusShop/layout.html.twig"131)->display(twig_array_merge($context, ["path" => "assets/shop/js/app.js"]));
  320.         // line 132
  321.         echo "    ";
  322.         echo $this->extensions['Sylius\Bundle\UiBundle\Twig\TemplateEventExtension']->render("sylius.shop.layout.javascripts");
  323.         echo "
  324.     ";
  325.         // line 133
  326.         echo $this->env->getRuntime('Sonata\BlockBundle\Templating\Helper\BlockHelper')->renderEvent("sylius.shop.layout.javascripts");
  327.         echo "
  328. ";
  329.         
  330.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  331.     }
  332.     public function getTemplateName()
  333.     {
  334.         return "@SyliusShop/layout.html.twig";
  335.     }
  336.     public function isTraitable()
  337.     {
  338.         return false;
  339.     }
  340.     public function getDebugInfo()
  341.     {
  342.         return array (  383 => 133,  378 => 132,  375 => 131,  368 => 130,  361 => 127,  358 => 126,  351 => 125,  344 => 120,  337 => 119,  324 => 108,  320 => 107,  316 => 106,  310 => 103,  307 => 102,  305 => 101,  302 => 100,  295 => 99,  285 => 95,  280 => 93,  275 => 91,  270 => 89,  266 => 88,  261 => 86,  258 => 85,  251 => 84,  242 => 75,  238 => 74,  179 => 17,  172 => 16,  165 => 14,  158 => 13,  145 => 8,  134 => 137,  132 => 136,  129 => 135,  127 => 130,  123 => 128,  121 => 125,  115 => 122,  112 => 121,  110 => 119,  105 => 117,  102 => 116,  100 => 115,  97 => 114,  95 => 99,  92 => 98,  90 => 84,  85 => 82,  78 => 78,  75 => 77,  73 => 16,  70 => 15,  68 => 13,  60 => 8,  52 => 3,  48 => 1,);
  343.     }
  344.     public function getSourceContext()
  345.     {
  346.         return new Source("""@SyliusShop/layout.html.twig""/srv/open_marketplace/templates/bundles/SyliusShopBundle/layout.html.twig");
  347.     }
  348. }