var/cache/dev_h61dab171fcb3dd073fc68bfbeb4d9256/twig/a7/a7898f9faec022a4e12802be439a69cd4372def3116f2551f332fc6d047f90e1.php line 41

Open in your IDE?
  1. <?php
  2. use Twig\Environment;
  3. use function Shopware\Core\Framework\Adapter\Twig\sw_get_attribute;
  4. use function Shopware\Core\Framework\Adapter\Twig\sw_escape_filter;
  5. use Twig\Error\LoaderError;
  6. use Twig\Error\RuntimeError;
  7. use Twig\Extension\SandboxExtension;
  8. use Twig\Markup;
  9. use Twig\Sandbox\SecurityError;
  10. use Twig\Sandbox\SecurityNotAllowedTagError;
  11. use Twig\Sandbox\SecurityNotAllowedFilterError;
  12. use Twig\Sandbox\SecurityNotAllowedFunctionError;
  13. use Twig\Source;
  14. use Twig\Template;
  15. /* @zenitPlatformSalesCountdownBar/storefront/base.html.twig */
  16. class __TwigTemplate_d6fab633419b7a31ea3ed671ca6503b5 extends Template
  17. {
  18.     private $source;
  19.     private $macros = [];
  20.     public function __construct(Environment $env)
  21.     {
  22.         parent::__construct($env);
  23.         $this->source $this->getSourceContext();
  24.         $this->blocks = [
  25.             'base_body_inner' => [$this'block_base_body_inner'],
  26.             'zenit_sales_countdown_bar_extends' => [$this'block_zenit_sales_countdown_bar_extends'],
  27.         ];
  28.     }
  29.     protected function doGetParent(array $context)
  30.     {
  31.         // line 2
  32.         return "@ZweiPunktStageWare/storefront/base.html.twig";
  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""@zenitPlatformSalesCountdownBar/storefront/base.html.twig"));
  39.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  40.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""@zenitPlatformSalesCountdownBar/storefront/base.html.twig"));
  41.         $this->parent $this->loadTemplate("@ZweiPunktStageWare/storefront/base.html.twig""@zenitPlatformSalesCountdownBar/storefront/base.html.twig"2);
  42.         $this->parent->display($contextarray_merge($this->blocks$blocks));
  43.         
  44.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  45.         
  46.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  47.     }
  48.     // line 4
  49.     public function block_base_body_inner($context, array $blocks = [])
  50.     {
  51.         $macros $this->macros;
  52.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  53.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""base_body_inner"));
  54.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  55.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""base_body_inner"));
  56.         // line 5
  57.         echo "
  58.     ";
  59.         // line 6
  60.         $this->displayBlock('zenit_sales_countdown_bar_extends'$context$blocks);
  61.         // line 17
  62.         echo "
  63.     ";
  64.         // line 18
  65.         $this->displayParentBlock("base_body_inner"$context$blocks);
  66.         echo "
  67. ";
  68.         
  69.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  70.         
  71.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  72.     }
  73.     // line 6
  74.     public function block_zenit_sales_countdown_bar_extends($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""zenit_sales_countdown_bar_extends"));
  79.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  80.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""zenit_sales_countdown_bar_extends"));
  81.         // line 7
  82.         echo "        ";
  83.         $context["zenSalesCountdownBar"] = sw_get_attribute($this->env$this->source, (($__internal_compile_0 sw_get_attribute($this->env$this->sourcesw_get_attribute($this->env$this->source, ($context["context"] ?? null), "context", [], "any"falsefalsefalse7), "extensions", [], "any"falsefalsefalse7)) && is_array($__internal_compile_0) || $__internal_compile_0 instanceof ArrayAccess ? ($__internal_compile_0["zenitPlatformSalesCountdownBar"] ?? null) : null), "config", [], "any"falsefalsefalse7);
  84.         // line 8
  85.         echo "
  86.         ";
  87.         // line 9
  88.         if (sw_get_attribute($this->env$this->source, ($context["zenSalesCountdownBar"] ?? null), "active", [], "any"falsefalsefalse9)) {
  89.             // line 10
  90.             echo "            ";
  91.             $this->loadTemplate("@zenitPlatformSalesCountdownBar/storefront/sales-countdown-bar/sales-countdown-bar.html.twig""@zenitPlatformSalesCountdownBar/storefront/base.html.twig"10)->display(twig_array_merge($context, ["position" => sw_get_attribute($this->env$this->source,             // line 11
  92. ($context["zenSalesCountdownBar"] ?? null), "position", [], "any"falsefalsefalse11), "hidden" => true]));
  93.             // line 14
  94.             echo "        ";
  95.         }
  96.         // line 15
  97.         echo "
  98.     ";
  99.         
  100.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  101.         
  102.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  103.     }
  104.     public function getTemplateName()
  105.     {
  106.         return "@zenitPlatformSalesCountdownBar/storefront/base.html.twig";
  107.     }
  108.     public function isTraitable()
  109.     {
  110.         return false;
  111.     }
  112.     public function getDebugInfo()
  113.     {
  114.         return array (  115 => 15,  112 => 14,  110 => 11,  108 => 10,  106 => 9,  103 => 8,  100 => 7,  90 => 6,  77 => 18,  74 => 17,  72 => 6,  69 => 5,  59 => 4,  36 => 2,);
  115.     }
  116.     public function getSourceContext()
  117.     {
  118.         return new Source("{% sw_extends '@Storefront/storefront/base.html.twig' %}
  119. {# Include the sales countdown bar #}
  120. {% block base_body_inner %}
  121.     {% block zenit_sales_countdown_bar_extends %}
  122.         {% set zenSalesCountdownBar = context.context.extensions['zenitPlatformSalesCountdownBar'].config %}
  123.         {% if zenSalesCountdownBar.active %}
  124.             {% sw_include '@Storefront/storefront/sales-countdown-bar/sales-countdown-bar.html.twig' with {
  125.                 position: zenSalesCountdownBar.position,
  126.                 hidden: true
  127.             } %}
  128.         {% endif %}
  129.     {% endblock %}
  130.     {{ parent() }}
  131. {% endblock %}
  132. ""@zenitPlatformSalesCountdownBar/storefront/base.html.twig""/usr/www/users/betten/betten-abc-alt-und-tot.de/custom/plugins/zenitPlatformSalesCountdownBar/src/Resources/views/storefront/base.html.twig");
  133.     }
  134. }