var/cache/dev/twig/46/463d123501368cdea9aefecfbfd00f19.php line 52

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. /* Context/Vendor/ProductListing/index.html.twig */
  14. class __TwigTemplate_8dde442df8f6dbbbac975fde3237c611 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.         // line 2
  23.         $_trait_0 $this->loadTemplate("Context/Vendor/Common/_breadcrumb.html.twig""Context/Vendor/ProductListing/index.html.twig"2);
  24.         if (!$_trait_0->isTraitable()) {
  25.             throw new RuntimeError('Template "'."Context/Vendor/Common/_breadcrumb.html.twig".'" cannot be used as a trait.'2$this->source);
  26.         }
  27.         $_trait_0_blocks $_trait_0->getBlocks();
  28.         $this->traits $_trait_0_blocks;
  29.         $this->blocks array_merge(
  30.             $this->traits,
  31.             [
  32.                 'title' => [$this'block_title'],
  33.                 'breadcrumb_page' => [$this'block_breadcrumb_page'],
  34.                 'subcontent' => [$this'block_subcontent'],
  35.             ]
  36.         );
  37.     }
  38.     protected function doGetParent(array $context)
  39.     {
  40.         // line 1
  41.         return "@SyliusShop/Account/layout.html.twig";
  42.     }
  43.     protected function doDisplay(array $context, array $blocks = [])
  44.     {
  45.         $macros $this->macros;
  46.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  47.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""Context/Vendor/ProductListing/index.html.twig"));
  48.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  49.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""Context/Vendor/ProductListing/index.html.twig"));
  50.         $this->parent $this->loadTemplate("@SyliusShop/Account/layout.html.twig""Context/Vendor/ProductListing/index.html.twig"1);
  51.         $this->parent->display($contextarray_merge($this->blocks$blocks));
  52.         
  53.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  54.         
  55.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  56.     }
  57.     // line 4
  58.     public function block_title($context, array $blocks = [])
  59.     {
  60.         $macros $this->macros;
  61.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  62.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""title"));
  63.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  64.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""title"));
  65.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("app.menu.vendor.products"), "html"nulltrue);
  66.         echo " | ";
  67.         $this->displayParentBlock("title"$context$blocks);
  68.         
  69.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  70.         
  71.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  72.     }
  73.     // line 6
  74.     public function block_breadcrumb_page($context, array $blocks = [])
  75.     {
  76.         $macros $this->macros;
  77.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  78.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""breadcrumb_page"));
  79.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  80.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""breadcrumb_page"));
  81.         // line 7
  82.         echo "    <div class=\"active section\">";
  83.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("app.menu.vendor.products"), "html"nulltrue);
  84.         echo "</div>
  85. ";
  86.         
  87.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  88.         
  89.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  90.     }
  91.     // line 10
  92.     public function block_subcontent($context, array $blocks = [])
  93.     {
  94.         $macros $this->macros;
  95.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  96.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""subcontent"));
  97.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  98.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""subcontent"));
  99.         // line 11
  100.         echo "    ";
  101.         echo $this->env->getFunction('sylius_grid_render')->getCallable()((isset($context["resources"]) || array_key_exists("resources"$context) ? $context["resources"] : (function () { throw new RuntimeError('Variable "resources" does not exist.'11$this->source); })()), "Context/Vendor/ProductListing/_productListings.html.twig");
  102.         echo "
  103. ";
  104.         
  105.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  106.         
  107.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  108.     }
  109.     public function getTemplateName()
  110.     {
  111.         return "Context/Vendor/ProductListing/index.html.twig";
  112.     }
  113.     public function isTraitable()
  114.     {
  115.         return false;
  116.     }
  117.     public function getDebugInfo()
  118.     {
  119.         return array (  126 => 11,  116 => 10,  103 => 7,  93 => 6,  72 => 4,  49 => 1,  28 => 2,);
  120.     }
  121.     public function getSourceContext()
  122.     {
  123.         return new Source("{% extends '@SyliusShop/Account/layout.html.twig' %}
  124. {% use 'Context/Vendor/Common/_breadcrumb.html.twig' %}
  125. {% block title %}{{ 'app.menu.vendor.products'|trans }} | {{ parent() }}{% endblock %}
  126. {% block breadcrumb_page %}
  127.     <div class=\"active section\">{{ 'app.menu.vendor.products'|trans }}</div>
  128. {% endblock %}
  129. {% block subcontent %}
  130.     {{ sylius_grid_render(resources, 'Context/Vendor/ProductListing/_productListings.html.twig') }}
  131. {% endblock %}
  132. ""Context/Vendor/ProductListing/index.html.twig""/srv/open_marketplace/templates/Context/Vendor/ProductListing/index.html.twig");
  133.     }
  134. }