var/cache/dev_hc6cdc9610738405191fd126071c0c922/twig/c7/c714a62a448d1b26a6bfb36f787e7343c58766a802b742222a0610e9a9adeeef.php line 52

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. /* @NimbitsPriceOnRequestNext/storefront/base.html.twig */
  16. class __TwigTemplate_21da3636c2f9c02577467620d081f551 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' => [$this'block_base_body'],
  26.             'nb_priceonrequest_toasts' => [$this'block_nb_priceonrequest_toasts'],
  27.             'nb_priceonrequest_toasts_success' => [$this'block_nb_priceonrequest_toasts_success'],
  28.         ];
  29.     }
  30.     protected function doGetParent(array $context)
  31.     {
  32.         // line 2
  33.         return "@WbmTagManagerEcomm/storefront/base.html.twig";
  34.     }
  35.     protected function doDisplay(array $context, array $blocks = [])
  36.     {
  37.         $macros $this->macros;
  38.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  39.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""@NimbitsPriceOnRequestNext/storefront/base.html.twig"));
  40.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  41.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""@NimbitsPriceOnRequestNext/storefront/base.html.twig"));
  42.         $this->parent $this->loadTemplate("@WbmTagManagerEcomm/storefront/base.html.twig""@NimbitsPriceOnRequestNext/storefront/base.html.twig"2);
  43.         $this->parent->display($contextarray_merge($this->blocks$blocks));
  44.         
  45.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  46.         
  47.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  48.     }
  49.     // line 3
  50.     public function block_base_body($context, array $blocks = [])
  51.     {
  52.         $macros $this->macros;
  53.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  54.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""base_body"));
  55.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  56.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""base_body"));
  57.         // line 4
  58.         echo "    ";
  59.         $this->displayParentBlock("base_body"$context$blocks);
  60.         echo "
  61.     ";
  62.         // line 6
  63.         $this->displayBlock('nb_priceonrequest_toasts'$context$blocks);
  64.         
  65.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  66.         
  67.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  68.     }
  69.     public function block_nb_priceonrequest_toasts($context, array $blocks = [])
  70.     {
  71.         $macros $this->macros;
  72.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  73.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""nb_priceonrequest_toasts"));
  74.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  75.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""nb_priceonrequest_toasts"));
  76.         // line 7
  77.         echo "        ";
  78.         $this->displayBlock('nb_priceonrequest_toasts_success'$context$blocks);
  79.         // line 19
  80.         echo "    ";
  81.         
  82.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  83.         
  84.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  85.     }
  86.     // line 7
  87.     public function block_nb_priceonrequest_toasts_success($context, array $blocks = [])
  88.     {
  89.         $macros $this->macros;
  90.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  91.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""nb_priceonrequest_toasts_success"));
  92.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  93.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""nb_priceonrequest_toasts_success"));
  94.         // line 8
  95.         echo "
  96.             <div class=\"\" id=\"toast\">
  97.                 <div class=\"container-1 alert nb-alert-success\" role=\"alert\">
  98.                     ";
  99.         // line 11
  100.         echo sw_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("nimbits-pricerequests.finish.alert"), "html"nulltrue);
  101.         echo "
  102.                 </div>
  103.                 <div class=\"container-2 alert nb-alert-failure\" role=\"alert\">
  104.                     ";
  105.         // line 14
  106.         echo sw_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("nimbits-pricerequests.fail.alert"), "html"nulltrue);
  107.         echo "
  108.                 </div>
  109.             </div>
  110.         ";
  111.         
  112.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  113.         
  114.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  115.     }
  116.     public function getTemplateName()
  117.     {
  118.         return "@NimbitsPriceOnRequestNext/storefront/base.html.twig";
  119.     }
  120.     public function isTraitable()
  121.     {
  122.         return false;
  123.     }
  124.     public function getDebugInfo()
  125.     {
  126.         return array (  129 => 14,  123 => 11,  118 => 8,  108 => 7,  98 => 19,  95 => 7,  76 => 6,  70 => 4,  60 => 3,  37 => 2,);
  127.     }
  128.     public function getSourceContext()
  129.     {
  130.         return new Source("{% sw_extends '@parent/storefront/base.html.twig' %}
  131. {% block base_body %}
  132.     {{ parent() }}
  133.     {% block nb_priceonrequest_toasts %}
  134.         {% block nb_priceonrequest_toasts_success %}
  135.             <div class=\"\" id=\"toast\">
  136.                 <div class=\"container-1 alert nb-alert-success\" role=\"alert\">
  137.                     {{ 'nimbits-pricerequests.finish.alert'|trans }}
  138.                 </div>
  139.                 <div class=\"container-2 alert nb-alert-failure\" role=\"alert\">
  140.                     {{ 'nimbits-pricerequests.fail.alert'|trans }}
  141.                 </div>
  142.             </div>
  143.         {% endblock %}
  144.     {% endblock %}
  145. {% endblock %}
  146. ""@NimbitsPriceOnRequestNext/storefront/base.html.twig""/home/bardahls/shopware/custom/plugins/NimbitsPriceOnRequestNext/src/Resources/views/storefront/base.html.twig");
  147.     }
  148. }