var/cache/dev/twig/17/17445bad85565faefb4fd42520b9cb73.php line 50

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/Shop/Vendor/index.html.twig */
  14. class __TwigTemplate_e20cde0427058dbe2811e04fa0bdc68b 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->blocks = [
  23.             'title' => [$this'block_title'],
  24.             'breadcrumb' => [$this'block_breadcrumb'],
  25.             'content' => [$this'block_content'],
  26.         ];
  27.     }
  28.     protected function doGetParent(array $context)
  29.     {
  30.         // line 1
  31.         return "@SyliusShop/layout.html.twig";
  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""Context/Shop/Vendor/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""Context/Shop/Vendor/index.html.twig"));
  40.         $this->parent $this->loadTemplate("@SyliusShop/layout.html.twig""Context/Shop/Vendor/index.html.twig"1);
  41.         $this->parent->display($contextarray_merge($this->blocks$blocks));
  42.         
  43.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  44.         
  45.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  46.     }
  47.     // line 3
  48.     public function block_title($context, array $blocks = [])
  49.     {
  50.         $macros $this->macros;
  51.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  52.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""title"));
  53.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  54.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""title"));
  55.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("app.menu.buyer.purchases"), "html"nulltrue);
  56.         echo " | ";
  57.         $this->displayParentBlock("title"$context$blocks);
  58.         
  59.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  60.         
  61.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  62.     }
  63.     // line 5
  64.     public function block_breadcrumb($context, array $blocks = [])
  65.     {
  66.         $macros $this->macros;
  67.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  68.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""breadcrumb"));
  69.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  70.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""breadcrumb"));
  71.         // line 6
  72.         echo "
  73. ";
  74.         
  75.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  76.         
  77.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  78.     }
  79.     // line 8
  80.     public function block_content($context, array $blocks = [])
  81.     {
  82.         $macros $this->macros;
  83.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  84.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""content"));
  85.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  86.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""content"));
  87.         // line 9
  88.         echo "    <div class=\"ui breadcrumb\">
  89.         <a href=\"";
  90.         // line 10
  91.         echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("sylius_shop_homepage");
  92.         echo "\" class=\"section\">";
  93.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("sylius.ui.home"), "html"nulltrue);
  94.         echo "</a>
  95.         <div class=\"divider\"> / </div>
  96.         <div class=\"active section\">";
  97.         // line 12
  98.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("open_marketplace.ui.vendors"), "html"nulltrue);
  99.         echo "</div>
  100.     </div>
  101.     <h1 class=\"ui monster section dividing header\">
  102.         ";
  103.         // line 15
  104.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("open_marketplace.ui.vendors"), "html"nulltrue);
  105.         echo "
  106.     </h1>
  107.     ";
  108.         // line 17
  109.         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.'17$this->source); })()), "Context/Shop/Vendor/Grid/vendorBlocks.html.twig");
  110.         echo "
  111. ";
  112.         
  113.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  114.         
  115.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  116.     }
  117.     public function getTemplateName()
  118.     {
  119.         return "Context/Shop/Vendor/index.html.twig";
  120.     }
  121.     public function isTraitable()
  122.     {
  123.         return false;
  124.     }
  125.     public function getDebugInfo()
  126.     {
  127.         return array (  133 => 17,  128 => 15,  122 => 12,  115 => 10,  112 => 9,  102 => 8,  91 => 6,  81 => 5,  60 => 3,  37 => 1,);
  128.     }
  129.     public function getSourceContext()
  130.     {
  131.         return new Source("{% extends '@SyliusShop/layout.html.twig' %}
  132. {% block title %}{{ 'app.menu.buyer.purchases'|trans }} | {{ parent() }}{% endblock %}
  133. {% block breadcrumb %}
  134. {% endblock %}
  135. {% block content %}
  136.     <div class=\"ui breadcrumb\">
  137.         <a href=\"{{ path('sylius_shop_homepage') }}\" class=\"section\">{{ 'sylius.ui.home'|trans }}</a>
  138.         <div class=\"divider\"> / </div>
  139.         <div class=\"active section\">{{ 'open_marketplace.ui.vendors'|trans }}</div>
  140.     </div>
  141.     <h1 class=\"ui monster section dividing header\">
  142.         {{ 'open_marketplace.ui.vendors'|trans }}
  143.     </h1>
  144.     {{ sylius_grid_render(resources, 'Context/Shop/Vendor/Grid/vendorBlocks.html.twig') }}
  145. {% endblock %}
  146. ""Context/Shop/Vendor/index.html.twig""/srv/open_marketplace/templates/Context/Shop/Vendor/index.html.twig");
  147.     }
  148. }