var/cache/dev/twig/6b/6b636fdb5d0e57ed705052883b3aeef5.php line 67

Open in your IDE?
  1. <?php
  2. use Twig\Environment;
  3. use Twig\Error\LoaderError;
  4. use Twig\Error\RuntimeError;
  5. use Twig\Extension\CoreExtension;
  6. use Twig\Extension\SandboxExtension;
  7. use Twig\Markup;
  8. use Twig\Sandbox\SecurityError;
  9. use Twig\Sandbox\SecurityNotAllowedTagError;
  10. use Twig\Sandbox\SecurityNotAllowedFilterError;
  11. use Twig\Sandbox\SecurityNotAllowedFunctionError;
  12. use Twig\Source;
  13. use Twig\Template;
  14. /* @FactorySupport/document/sub_category_page/default.html.twig */
  15. class __TwigTemplate_cb8dda4c747c9f84c63607c908a9dac5 extends Template
  16. {
  17.     private $source;
  18.     private $macros = [];
  19.     public function __construct(Environment $env)
  20.     {
  21.         parent::__construct($env);
  22.         $this->source $this->getSourceContext();
  23.         $this->blocks = [
  24.             'contentBlock' => [$this'block_contentBlock'],
  25.         ];
  26.         $this->sandbox $this->env->getExtension(SandboxExtension::class);
  27.         $this->checkSecurity();
  28.     }
  29.     protected function doGetParent(array $context)
  30.     {
  31.         // line 1
  32.         return "layout/default.html.twig";
  33.     }
  34.     protected function doDisplay(array $context, array $blocks = [])
  35.     {
  36.         $macros $this->macros;
  37.         $__internal_b91a4435ea3baf1e2b6bfda56133dace $this->extensions["Sentry\\SentryBundle\\Tracing\\Twig\\TwigTracingExtension"];
  38.         $__internal_b91a4435ea3baf1e2b6bfda56133dace->enter($__internal_b91a4435ea3baf1e2b6bfda56133dace_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""@FactorySupport/document/sub_category_page/default.html.twig"));
  39.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  40.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""@FactorySupport/document/sub_category_page/default.html.twig"));
  41.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  42.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""@FactorySupport/document/sub_category_page/default.html.twig"));
  43.         $this->parent $this->loadTemplate("layout/default.html.twig""@FactorySupport/document/sub_category_page/default.html.twig"1);
  44.         yield from $this->parent->unwrap()->yield($contextarray_merge($this->blocks$blocks));
  45.         
  46.         $__internal_b91a4435ea3baf1e2b6bfda56133dace->leave($__internal_b91a4435ea3baf1e2b6bfda56133dace_prof);
  47.         
  48.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  49.         
  50.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  51.     }
  52.     // line 3
  53.     public function block_contentBlock($context, array $blocks = [])
  54.     {
  55.         $macros $this->macros;
  56.         $__internal_b91a4435ea3baf1e2b6bfda56133dace $this->extensions["Sentry\\SentryBundle\\Tracing\\Twig\\TwigTracingExtension"];
  57.         $__internal_b91a4435ea3baf1e2b6bfda56133dace->enter($__internal_b91a4435ea3baf1e2b6bfda56133dace_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""contentBlock"));
  58.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  59.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""contentBlock"));
  60.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  61.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""contentBlock"));
  62.         // line 4
  63.         yield "<main class=\"stereotaxicCategoryPage\" style=\"background-attachment: fixed;background-image: url(";
  64.         ((CoreExtension::getAttribute($this->env$this->source, (isset($context["document"]) || array_key_exists("document"$context) ? $context["document"] : (function () { throw new RuntimeError('Variable "document" does not exist.'4$this->source); })()), "getProperty", ["template_background_image"], "method"falsefalsetrue4)) ? (yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->source, (isset($context["document"]) || array_key_exists("document"$context) ? $context["document"] : (function () { throw new RuntimeError('Variable "document" does not exist.'4$this->source); })()), "getProperty", ["template_background_image"], "method"falsefalsetrue4), "getThumbnail", ["Stoelting_division_bg"], "method"falsefalsetrue4), "html"nulltrue)) : (yield ""));
  65.         yield ") ;\">
  66.         <div class=\"container mt-5 mt-lg-5 mt-md-5\">
  67.             <div class=\"row\">
  68.                 <div class=\"col-xl-10 offset-xl-1 offset-lg-0 col-lg-12 pb-3 pb-lg-3 pb-md-3\">
  69.                     <div class=\"d-flex align-items-center\">
  70.                         ";
  71.         // line 9
  72.         $context["anyMaze"] = CoreExtension::inFilter("any-maze"Twig\Extension\CoreExtension::lower($this->env->getCharset(), $this->sandbox->ensureToStringAllowed(CoreExtension::getAttribute($this->env$this->source, (isset($context["document"]) || array_key_exists("document"$context) ? $context["document"] : (function () { throw new RuntimeError('Variable "document" does not exist.'9$this->source); })()), "getProperty", ["navigation_title"], "method"falsefalsetrue9), 9$this->source)));
  73.         // line 10
  74.         yield "                        <div class=\"category-breadcrumb-image ";
  75.         yield (((CoreExtension::getAttribute($this->env$this->source$this->extensions['Pimcore\Twig\Extension\DocumentEditableExtension']->renderEditable($context"image""categoryBreadcrumbImage"), "isEmpty", [], "method"falsefalsetrue10) &&  !(isset($context["editmode"]) || array_key_exists("editmode"$context) ? $context["editmode"] : (function () { throw new RuntimeError('Variable "editmode" does not exist.'10$this->source); })()))) ? ("d-none") : ("mr-3 mr-lg-3 mr-md-3"));
  76.         yield "\">
  77.                             ";
  78.         // line 11
  79.         if ((isset($context["editmode"]) || array_key_exists("editmode"$context) ? $context["editmode"] : (function () { throw new RuntimeError('Variable "editmode" does not exist.'11$this->source); })())) {
  80.             // line 12
  81.             yield "                                ";
  82.             yield $this->extensions['Pimcore\Twig\Extension\DocumentEditableExtension']->renderEditable($context"image""categoryBreadcrumbImage");
  83.             yield "
  84.                             ";
  85.         } else {
  86.             // line 14
  87.             yield "                                <img style=\"width:80px;\" src=\"";
  88.             yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->sandbox->ensureToStringAllowed(CoreExtension::getAttribute($this->env$this->source$this->extensions['Pimcore\Twig\Extension\DocumentEditableExtension']->renderEditable($context"image""categoryBreadcrumbImage"), "getThumbnail", ["Stoelting_category_breadcrumb"], "method"falsefalsetrue14), 14$this->source), "html"nulltrue);
  89.             yield "\" alt=\"";
  90.             yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->sandbox->ensureToStringAllowed(CoreExtension::getAttribute($this->env$this->source$this->extensions['Pimcore\Twig\Extension\DocumentEditableExtension']->renderEditable($context"image""categoryBreadcrumbImage"), "getAlt", [], "method"falsefalsetrue14), 14$this->source), "html"nulltrue);
  91.             yield "\">
  92.                             ";
  93.         }
  94.         // line 16
  95.         yield "                        </div>
  96.                         <!-- * Desktop version-->
  97.                         <div class=\"sub-category-nav--desktop align-items-center border-2 border-bottom border-indigo w-100 pb-3 pb-lg-3 pb-md-3\" style=\"margin-bottom: 8px;\">
  98.                             <h2 class=\"font-weight-bold mb-0\">
  99.                                 ";
  100.         // line 21
  101.         if ((isset($context["editmode"]) || array_key_exists("editmode"$context) ? $context["editmode"] : (function () { throw new RuntimeError('Variable "editmode" does not exist.'21$this->source); })())) {
  102.             // line 22
  103.             yield "                                    ";
  104.             yield $this->extensions['Pimcore\Twig\Extension\DocumentEditableExtension']->renderEditable($context"input""categoryBreadcrumbHeading", ["placeholder" => CoreExtension::getAttribute($this->env$this->source,             // line 23
  105. (isset($context["document"]) || array_key_exists("document"$context) ? $context["document"] : (function () { throw new RuntimeError('Variable "document" does not exist.'23$this->source); })()), "getProperty", ["navigation_title"], "method"falsefalsetrue23)]);
  106.             // line 24
  107.             yield "
  108.                                 ";
  109.         } elseif ( !CoreExtension::getAttribute($this->env$this->source$this->extensions['Pimcore\Twig\Extension\DocumentEditableExtension']->renderEditable($context"input""categoryBreadcrumbHeading"), "isEmpty", [], "method"falsefalsetrue25)) {
  110.             // line 26
  111.             yield "                                    ";
  112.             yield $this->extensions['Pimcore\Twig\Extension\DocumentEditableExtension']->renderEditable($context"input""categoryBreadcrumbHeading");
  113.             yield "
  114.                                 ";
  115.         } else {
  116.             // line 28
  117.             yield "                                    ";
  118.             yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->sandbox->ensureToStringAllowed(CoreExtension::getAttribute($this->env$this->source, (isset($context["document"]) || array_key_exists("document"$context) ? $context["document"] : (function () { throw new RuntimeError('Variable "document" does not exist.'28$this->source); })()), "getProperty", ["navigation_title"], "method"falsefalsetrue28), 28$this->source), "html"nulltrue);
  119.             yield "
  120.                                 ";
  121.         }
  122.         // line 30
  123.         yield "
  124.                             </h2>
  125.                             <div class=\"d-flex ml-auto\">
  126.                                 <h4 class=\"font-weight-bold text-uppercase mb-0\">
  127.                                     <a href=\"";
  128.         // line 34
  129.         yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->sandbox->ensureToStringAllowed(CoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->source, (isset($context["document"]) || array_key_exists("document"$context) ? $context["document"] : (function () { throw new RuntimeError('Variable "document" does not exist.'34$this->source); })()), "parent", [], "any"falsefalsetrue34), "href", [], "any"falsefalsetrue34), 34$this->source), "html"nulltrue);
  130.         yield "\" class=\"text-navyBlue hover-mediumBlue\">
  131.                                         <span class=\"text-indigo\">&lt; </span> ";
  132.         // line 35
  133.         yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->sandbox->ensureToStringAllowed(CoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->source, (isset($context["document"]) || array_key_exists("document"$context) ? $context["document"] : (function () { throw new RuntimeError('Variable "document" does not exist.'35$this->source); })()), "parent", [], "any"falsefalsetrue35), "property", ["navigation_title"], "method"falsefalsetrue35), 35$this->source), "html"nulltrue);
  134.         yield "
  135.                                     </a>
  136.                                 </h4>
  137.                             </div>
  138.                         </div>
  139.                         <!-- * Mobile version-->
  140.                         <div class=\"sub-category-nav--mobile\">
  141.                             <div class=\"border-2 border-bottom border-indigo w-100 pb-2 pb-lg-2 pb-md-2\">
  142.                                 <h3 class=\"font-weight-bold\">
  143.                                     ";
  144.         // line 46
  145.         if ((isset($context["editmode"]) || array_key_exists("editmode"$context) ? $context["editmode"] : (function () { throw new RuntimeError('Variable "editmode" does not exist.'46$this->source); })())) {
  146.             // line 47
  147.             yield "                                        ";
  148.             yield $this->extensions['Pimcore\Twig\Extension\DocumentEditableExtension']->renderEditable($context"input""categoryBreadcrumbHeading--mobile", ["placeholder" => CoreExtension::getAttribute($this->env$this->source,             // line 48
  149. (isset($context["document"]) || array_key_exists("document"$context) ? $context["document"] : (function () { throw new RuntimeError('Variable "document" does not exist.'48$this->source); })()), "getProperty", ["navigation_title"], "method"falsefalsetrue48)]);
  150.             // line 49
  151.             yield "
  152.                                     ";
  153.         } elseif ( !CoreExtension::getAttribute($this->env$this->source$this->extensions['Pimcore\Twig\Extension\DocumentEditableExtension']->renderEditable($context"input""categoryBreadcrumbHeading--mobile"), "isEmpty", [], "method"falsefalsetrue50)) {
  154.             // line 51
  155.             yield "                                        ";
  156.             yield $this->extensions['Pimcore\Twig\Extension\DocumentEditableExtension']->renderEditable($context"input""categoryBreadcrumbHeading--mobile");
  157.             yield "
  158.                                     ";
  159.         } else {
  160.             // line 53
  161.             yield "                                        ";
  162.             yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->sandbox->ensureToStringAllowed(CoreExtension::getAttribute($this->env$this->source, (isset($context["document"]) || array_key_exists("document"$context) ? $context["document"] : (function () { throw new RuntimeError('Variable "document" does not exist.'53$this->source); })()), "getProperty", ["navigation_title"], "method"falsefalsetrue53), 53$this->source), "html"nulltrue);
  163.             yield "
  164.                                     ";
  165.         }
  166.         // line 55
  167.         yield "                                </h3>
  168.                             </div>
  169.                             <div class=\"d-flex pt-2 pt-lg-2 pt-md-2\">
  170.                                 <h4 class=\"font-weight-bold text-uppercase\">
  171.                                     <a href=\"";
  172.         // line 59
  173.         yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->sandbox->ensureToStringAllowed(CoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->source, (isset($context["document"]) || array_key_exists("document"$context) ? $context["document"] : (function () { throw new RuntimeError('Variable "document" does not exist.'59$this->source); })()), "parent", [], "any"falsefalsetrue59), "href", [], "any"falsefalsetrue59), 59$this->source), "html"nulltrue);
  174.         yield "\" class=\"d-flex align-items-center text-navyBlue hover-mediumBlue\">
  175.                                         <span class=\"text-indigo\">&lt; </span><small class=\"ml-1 ml-lg-1 ml-md-1\">";
  176.         // line 60
  177.         yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->sandbox->ensureToStringAllowed(CoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->source, (isset($context["document"]) || array_key_exists("document"$context) ? $context["document"] : (function () { throw new RuntimeError('Variable "document" does not exist.'60$this->source); })()), "parent", [], "any"falsefalsetrue60), "property", ["navigation_title"], "method"falsefalsetrue60), 60$this->source), "html"nulltrue);
  178.         yield "</small>
  179.                                     </a>
  180.                                 </h4>
  181.                             </div>
  182.                         </div>
  183.                     </div>
  184.                 </div>
  185.             </div>
  186.                 <div class=\"row mt-5 mt-lg-5 mt-md-5 stereotaxicCategoryPage-products align-items-start\">
  187.                     <div class=\"col-xl-8 offset-xl-2\">
  188.                         <div class=\"row align-items-start\">
  189.                             ";
  190.         // line 73
  191.         $context["fallbackImage"] = $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("static/images/admin/empty_image.png");
  192.         // line 74
  193.         yield "                            ";
  194.         $context['_parent'] = $context;
  195.         $context['_seq'] = CoreExtension::ensureTraversable((isset($context["paginator"]) || array_key_exists("paginator"$context) ? $context["paginator"] : (function () { throw new RuntimeError('Variable "paginator" does not exist.'74$this->source); })()));
  196.         $context['loop'] = [
  197.           'parent' => $context['_parent'],
  198.           'index0' => 0,
  199.           'index'  => 1,
  200.           'first'  => true,
  201.         ];
  202.         if (is_array($context['_seq']) || (is_object($context['_seq']) && $context['_seq'] instanceof \Countable)) {
  203.             $length count($context['_seq']);
  204.             $context['loop']['revindex0'] = $length 1;
  205.             $context['loop']['revindex'] = $length;
  206.             $context['loop']['length'] = $length;
  207.             $context['loop']['last'] = === $length;
  208.         }
  209.         foreach ($context['_seq'] as $context["index"] => $context["product"]) {
  210.             // line 75
  211.             yield "                                ";
  212.             $context["image"] = ((CoreExtension::getAttribute($this->env$this->source$context["product"], "image", [], "any"truetruetrue75)) ? (CoreExtension::getAttribute($this->env$this->source$context["product"], "image", [], "any"falsefalsetrue75)) : (null));
  213.             // line 76
  214.             yield "
  215.                                 <!-- include subtemplate 'category-item.html.twig' -->
  216.                                 ";
  217.             // line 78
  218.             yield from             $this->loadTemplate("Components/product-item.html.twig""@FactorySupport/document/sub_category_page/default.html.twig"78)->unwrap()->yield(CoreExtension::merge($context, ["product" => $context["product"]]));
  219.             // line 79
  220.             yield "                            ";
  221.             ++$context['loop']['index0'];
  222.             ++$context['loop']['index'];
  223.             $context['loop']['first'] = false;
  224.             if (isset($context['loop']['length'])) {
  225.                 --$context['loop']['revindex0'];
  226.                 --$context['loop']['revindex'];
  227.                 $context['loop']['last'] = === $context['loop']['revindex0'];
  228.             }
  229.         }
  230.         $_parent $context['_parent'];
  231.         unset($context['_seq'], $context['_iterated'], $context['index'], $context['product'], $context['_parent'], $context['loop']);
  232.         $context array_intersect_key($context$_parent) + $_parent;
  233.         // line 80
  234.         yield "                        </div>
  235.                         <div class=\"row ";
  236.         // line 81
  237.         yield (((CoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->source, (isset($context["paginator"]) || array_key_exists("paginator"$context) ? $context["paginator"] : (function () { throw new RuntimeError('Variable "paginator" does not exist.'81$this->source); })()), "paginationData", [], "any"falsefalsetrue81), "pageCount", [], "any"falsefalsetrue81) == 1)) ? ("d-none") : (""));
  238.         yield "\">
  239.                             <div class=\"col-lg-6 offset-lg-3\">
  240.                                 ";
  241.         // line 83
  242.         yield from         $this->loadTemplate("Components/pagination.html.twig""@FactorySupport/document/sub_category_page/default.html.twig"83)->unwrap()->yield(CoreExtension::merge($context, (isset($context["paginator"]) || array_key_exists("paginator"$context) ? $context["paginator"] : (function () { throw new RuntimeError('Variable "paginator" does not exist.'83$this->source); })())));
  243.         // line 84
  244.         yield "                            </div>
  245.                         </div>
  246.                     </div>
  247.                 </div>
  248.         </div>
  249.     </main>
  250. ";
  251.         
  252.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  253.         
  254.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  255.         
  256.         $__internal_b91a4435ea3baf1e2b6bfda56133dace->leave($__internal_b91a4435ea3baf1e2b6bfda56133dace_prof);
  257.         return; yield '';
  258.     }
  259.     /**
  260.      * @codeCoverageIgnore
  261.      */
  262.     public function getTemplateName()
  263.     {
  264.         return "@FactorySupport/document/sub_category_page/default.html.twig";
  265.     }
  266.     /**
  267.      * @codeCoverageIgnore
  268.      */
  269.     public function isTraitable()
  270.     {
  271.         return false;
  272.     }
  273.     /**
  274.      * @codeCoverageIgnore
  275.      */
  276.     public function getDebugInfo()
  277.     {
  278.         return array (  266 => 84,  264 => 83,  259 => 81,  256 => 80,  242 => 79,  240 => 78,  236 => 76,  233 => 75,  215 => 74,  213 => 73,  197 => 60,  193 => 59,  187 => 55,  181 => 53,  175 => 51,  171 => 49,  169 => 48,  167 => 47,  165 => 46,  151 => 35,  147 => 34,  141 => 30,  135 => 28,  129 => 26,  125 => 24,  123 => 23,  121 => 22,  119 => 21,  112 => 16,  104 => 14,  98 => 12,  96 => 11,  91 => 10,  89 => 9,  80 => 4,  67 => 3,  38 => 1,);
  279.     }
  280.     public function getSourceContext()
  281.     {
  282.         return new Source("{% extends 'layout/default.html.twig' %}
  283. {% block contentBlock %}
  284. <main class=\"stereotaxicCategoryPage\" style=\"background-attachment: fixed;background-image: url({{ document.getProperty('template_background_image') ? document.getProperty('template_background_image').getThumbnail('Stoelting_division_bg') }}) ;\">
  285.         <div class=\"container mt-5 mt-lg-5 mt-md-5\">
  286.             <div class=\"row\">
  287.                 <div class=\"col-xl-10 offset-xl-1 offset-lg-0 col-lg-12 pb-3 pb-lg-3 pb-md-3\">
  288.                     <div class=\"d-flex align-items-center\">
  289.                         {% set anyMaze = 'any-maze' in document.getProperty('navigation_title') | lower %}
  290.                         <div class=\"category-breadcrumb-image {{ pimcore_image('categoryBreadcrumbImage').isEmpty() and not editmode ? 'd-none' : 'mr-3 mr-lg-3 mr-md-3' }}\">
  291.                             {% if editmode %}
  292.                                 {{ pimcore_image('categoryBreadcrumbImage') }}
  293.                             {% else %}
  294.                                 <img style=\"width:80px;\" src=\"{{ pimcore_image('categoryBreadcrumbImage').getThumbnail('Stoelting_category_breadcrumb') }}\" alt=\"{{ pimcore_image('categoryBreadcrumbImage').getAlt() }}\">
  295.                             {% endif %}
  296.                         </div>
  297.                         <!-- * Desktop version-->
  298.                         <div class=\"sub-category-nav--desktop align-items-center border-2 border-bottom border-indigo w-100 pb-3 pb-lg-3 pb-md-3\" style=\"margin-bottom: 8px;\">
  299.                             <h2 class=\"font-weight-bold mb-0\">
  300.                                 {% if editmode %}
  301.                                     {{ pimcore_input('categoryBreadcrumbHeading', {
  302.                                         placeholder: document.getProperty('navigation_title')
  303.                                     }) }}
  304.                                 {% elseif not pimcore_input('categoryBreadcrumbHeading').isEmpty() %}
  305.                                     {{ pimcore_input('categoryBreadcrumbHeading') }}
  306.                                 {% else %}
  307.                                     {{ document.getProperty('navigation_title') }}
  308.                                 {% endif %}
  309.                             </h2>
  310.                             <div class=\"d-flex ml-auto\">
  311.                                 <h4 class=\"font-weight-bold text-uppercase mb-0\">
  312.                                     <a href=\"{{ document.parent.href }}\" class=\"text-navyBlue hover-mediumBlue\">
  313.                                         <span class=\"text-indigo\">&lt; </span> {{ document.parent.property('navigation_title') }}
  314.                                     </a>
  315.                                 </h4>
  316.                             </div>
  317.                         </div>
  318.                         <!-- * Mobile version-->
  319.                         <div class=\"sub-category-nav--mobile\">
  320.                             <div class=\"border-2 border-bottom border-indigo w-100 pb-2 pb-lg-2 pb-md-2\">
  321.                                 <h3 class=\"font-weight-bold\">
  322.                                     {% if editmode %}
  323.                                         {{ pimcore_input('categoryBreadcrumbHeading--mobile', {
  324.                                             placeholder: document.getProperty('navigation_title')
  325.                                         }) }}
  326.                                     {% elseif not pimcore_input('categoryBreadcrumbHeading--mobile').isEmpty() %}
  327.                                         {{ pimcore_input('categoryBreadcrumbHeading--mobile') }}
  328.                                     {% else %}
  329.                                         {{ document.getProperty('navigation_title') }}
  330.                                     {% endif %}
  331.                                 </h3>
  332.                             </div>
  333.                             <div class=\"d-flex pt-2 pt-lg-2 pt-md-2\">
  334.                                 <h4 class=\"font-weight-bold text-uppercase\">
  335.                                     <a href=\"{{ document.parent.href }}\" class=\"d-flex align-items-center text-navyBlue hover-mediumBlue\">
  336.                                         <span class=\"text-indigo\">&lt; </span><small class=\"ml-1 ml-lg-1 ml-md-1\">{{ document.parent.property('navigation_title') }}</small>
  337.                                     </a>
  338.                                 </h4>
  339.                             </div>
  340.                         </div>
  341.                     </div>
  342.                 </div>
  343.             </div>
  344.                 <div class=\"row mt-5 mt-lg-5 mt-md-5 stereotaxicCategoryPage-products align-items-start\">
  345.                     <div class=\"col-xl-8 offset-xl-2\">
  346.                         <div class=\"row align-items-start\">
  347.                             {% set fallbackImage = asset('static/images/admin/empty_image.png') %}
  348.                             {% for index, product in paginator %}
  349.                                 {% set image = product.image is defined ? product.image : null %}
  350.                                 <!-- include subtemplate 'category-item.html.twig' -->
  351.                                 {% include \"Components/product-item.html.twig\" with {'product': product} %}
  352.                             {% endfor %}
  353.                         </div>
  354.                         <div class=\"row {{ paginator.paginationData.pageCount == 1 ? 'd-none' }}\">
  355.                             <div class=\"col-lg-6 offset-lg-3\">
  356.                                 {% include 'Components/pagination.html.twig' with paginator %}
  357.                             </div>
  358.                         </div>
  359.                     </div>
  360.                 </div>
  361.         </div>
  362.     </main>
  363. {% endblock %}""@FactorySupport/document/sub_category_page/default.html.twig""/var/www/webovi/stoelting/pimcore/templates/document/sub_category_page/default.html.twig");
  364.     }
  365.     
  366.     public function checkSecurity()
  367.     {
  368.         static $tags = array("set" => 9"if" => 11"for" => 74"include" => 78);
  369.         static $filters = array("escape" => 4"lower" => 9);
  370.         static $functions = array("pimcore_image" => 10"pimcore_input" => 22"asset" => 73);
  371.         try {
  372.             $this->sandbox->checkSecurity(
  373.                 ['set''if''for''include'],
  374.                 ['escape''lower'],
  375.                 ['pimcore_image''pimcore_input''asset'],
  376.                 $this->source
  377.             );
  378.         } catch (SecurityError $e) {
  379.             $e->setSourceContext($this->source);
  380.             if ($e instanceof SecurityNotAllowedTagError && isset($tags[$e->getTagName()])) {
  381.                 $e->setTemplateLine($tags[$e->getTagName()]);
  382.             } elseif ($e instanceof SecurityNotAllowedFilterError && isset($filters[$e->getFilterName()])) {
  383.                 $e->setTemplateLine($filters[$e->getFilterName()]);
  384.             } elseif ($e instanceof SecurityNotAllowedFunctionError && isset($functions[$e->getFunctionName()])) {
  385.                 $e->setTemplateLine($functions[$e->getFunctionName()]);
  386.             }
  387.             throw $e;
  388.         }
  389.     }
  390. }