var/cache/dev/twig/2a/2a37166f7f7e1213f819f953ccf12531.php line 49

  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/Product/index.html.twig */
  14. class __TwigTemplate_d4f78d1ea38f721dc57a733d586a460d extends 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->blocks = [
  23.             'title' => [$this'block_title'],
  24.             'post_header' => [$this'block_post_header'],
  25.             'body' => [$this'block_body'],
  26.         ];
  27.     }
  28.     protected function doGetParent(array $context)
  29.     {
  30.         // line 1
  31.         return $this->loadTemplate(twig_get_attribute($this->env$this->source, (isset($context["nglayouts"]) || array_key_exists("nglayouts"$context) ? $context["nglayouts"] : (function () { throw new RuntimeError('Variable "nglayouts" does not exist.'1$this->source); })()), "layoutTemplate", [], "any"falsefalsefalse1), "@SyliusShop/Product/index.html.twig"1);
  32.     }
  33.     protected function doDisplay(array $context, array $blocks = [])
  34.     {
  35.         $macros $this->macros;
  36.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  37.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""@SyliusShop/Product/index.html.twig"));
  38.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  39.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""@SyliusShop/Product/index.html.twig"));
  40.         $this->getParent($context)->display($contextarray_merge($this->blocks$blocks));
  41.         
  42.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  43.         
  44.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  45.     }
  46.     // line 3
  47.     public function block_title($context, array $blocks = [])
  48.     {
  49.         $macros $this->macros;
  50.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  51.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""title"));
  52.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  53.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""title"));
  54.         // line 4
  55.         echo "\t";
  56.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("app.ui.shop"), "html"nulltrue);
  57.         echo "
  58. ";
  59.         
  60.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  61.         
  62.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  63.     }
  64.     // line 6
  65.     public function block_post_header($context, array $blocks = [])
  66.     {
  67.         $macros $this->macros;
  68.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  69.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""post_header"));
  70.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  71.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""post_header"));
  72.         // line 7
  73.         echo "\t";
  74.         echo $this->env->getRuntime('Symfony\Bridge\Twig\Extension\HttpKernelRuntime')->renderFragment($this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("bitbag_sylius_cms_plugin_shop_media_render", ["code" => "shop_post_header""template" => "frontend/cms/common/media/_header.html.twig"]));
  75.         echo "
  76. ";
  77.         
  78.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  79.         
  80.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  81.     }
  82.     // line 9
  83.     public function block_body($context, array $blocks = [])
  84.     {
  85.         $macros $this->macros;
  86.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  87.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""body"));
  88.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  89.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""body"));
  90.         // line 10
  91.         echo "\t<section class=\"featured-products\">
  92. \t<div class=\"auto-container\">
  93. \t\t<div class=\"row clearfix\">
  94. \t\t\t<div class=\"col-lg-3 col-md-12 col-sm-12\">
  95. \t\t\t\t";
  96.         // line 14
  97.         $this->loadTemplate("@SyliusShop/Product/Index/_sidebar.html.twig""@SyliusShop/Product/index.html.twig"14)->display($context);
  98.         // line 15
  99.         echo "\t\t\t</div>
  100. \t\t\t<div class=\"col-lg-9 col-md-12 col-sm-12 content-side\">
  101. \t\t\t\t";
  102.         // line 17
  103.         $this->loadTemplate("@SyliusShop/Product/Index/_main.html.twig""@SyliusShop/Product/index.html.twig"17)->display($context);
  104.         // line 18
  105.         echo "\t\t\t</div>
  106. \t\t</div>
  107. \t</div>
  108. </section> 
  109. ";
  110.         
  111.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  112.         
  113.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  114.     }
  115.     public function getTemplateName()
  116.     {
  117.         return "@SyliusShop/Product/index.html.twig";
  118.     }
  119.     public function isTraitable()
  120.     {
  121.         return false;
  122.     }
  123.     public function getDebugInfo()
  124.     {
  125.         return array (  129 => 18,  127 => 17,  123 => 15,  121 => 14,  115 => 10,  105 => 9,  92 => 7,  82 => 6,  69 => 4,  59 => 3,  37 => 1,);
  126.     }
  127.     public function getSourceContext()
  128.     {
  129.         return new Source("{% extends nglayouts.layoutTemplate %}
  130. {% block title %}
  131. \t{{'app.ui.shop'|trans}}
  132. {% endblock %}
  133. {% block post_header %}
  134. \t{{ render(path('bitbag_sylius_cms_plugin_shop_media_render', {'code' : 'shop_post_header', 'template' : 'frontend/cms/common/media/_header.html.twig'})) }}
  135. {% endblock %}
  136. {% block body %}
  137. \t<section class=\"featured-products\">
  138. \t<div class=\"auto-container\">
  139. \t\t<div class=\"row clearfix\">
  140. \t\t\t<div class=\"col-lg-3 col-md-12 col-sm-12\">
  141. \t\t\t\t{% include '@SyliusShop/Product/Index/_sidebar.html.twig' %}
  142. \t\t\t</div>
  143. \t\t\t<div class=\"col-lg-9 col-md-12 col-sm-12 content-side\">
  144. \t\t\t\t{% include '@SyliusShop/Product/Index/_main.html.twig' %}
  145. \t\t\t</div>
  146. \t\t</div>
  147. \t</div>
  148. </section> 
  149. {% endblock %}
  150. ""@SyliusShop/Product/index.html.twig""/srv/sylius/templates/bundles/SyliusShopBundle/Product/index.html.twig");
  151.     }
  152. }