var/cache/dev_h35c9e4fa64367e5a564f83803cfdec08/twig/dc/dcb8fd2c0200ffe2c5a69ff3a563e84b50796e3dd5b7cd895ddea303843ca4b4.php line 40

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. /* @NimbitsArticleQuestionsNext/storefront/page/product-detail/index.html.twig */
  16. class __TwigTemplate_506a135207580ce7d3c2d39abcfc5661 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.             'page_product_detail_headline' => [$this'block_page_product_detail_headline'],
  26.         ];
  27.     }
  28.     protected function doGetParent(array $context)
  29.     {
  30.         // line 2
  31.         return "@CbaxModulManufacturers/storefront/page/product-detail/index.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""@NimbitsArticleQuestionsNext/storefront/page/product-detail/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""@NimbitsArticleQuestionsNext/storefront/page/product-detail/index.html.twig"));
  40.         $this->parent $this->loadTemplate("@CbaxModulManufacturers/storefront/page/product-detail/index.html.twig""@NimbitsArticleQuestionsNext/storefront/page/product-detail/index.html.twig"2);
  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_page_product_detail_headline($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""page_product_detail_headline"));
  53.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  54.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""page_product_detail_headline"));
  55.         // line 4
  56.         echo "
  57.     ";
  58.         // line 5
  59.         if ((sw_get_attribute($this->env$this->sourcesw_get_attribute($this->env$this->source, ($context["app"] ?? null), "request", [], "any"falsefalsefalse5), "get", [=> "nb_aq_success"], "method"falsefalsefalse5) == 1)) {
  60.             // line 6
  61.             echo "        <div class=\"alert alert-success\" role=\"alert\" style=\"padding: .75rem 1.25rem;\">
  62.             ";
  63.             // line 7
  64.             echo sw_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("nimbits-articlequestions.finish.alert"), "html"nulltrue);
  65.             echo "
  66.         </div>
  67.     ";
  68.         }
  69.         // line 10
  70.         echo "
  71.     ";
  72.         // line 11
  73.         if ((sw_get_attribute($this->env$this->sourcesw_get_attribute($this->env$this->source, ($context["app"] ?? null), "request", [], "any"falsefalsefalse11), "get", [=> "nb_aq_success"], "method"falsefalsefalse11) == 2)) {
  74.             // line 12
  75.             echo "        <div class=\"alert alert-warning\" role=\"alert\" style=\"padding: .75rem 1.25rem;\">
  76.             ";
  77.             // line 13
  78.             echo sw_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("nimbits-articlequestions.finish.alerterror"), "html"nulltrue);
  79.             echo "
  80.         </div>
  81.     ";
  82.         }
  83.         // line 16
  84.         echo "
  85.     ";
  86.         // line 17
  87.         $this->displayParentBlock("page_product_detail_headline"$context$blocks);
  88.         echo "
  89. ";
  90.         
  91.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  92.         
  93.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  94.     }
  95.     public function getTemplateName()
  96.     {
  97.         return "@NimbitsArticleQuestionsNext/storefront/page/product-detail/index.html.twig";
  98.     }
  99.     public function isTraitable()
  100.     {
  101.         return false;
  102.     }
  103.     public function getDebugInfo()
  104.     {
  105.         return array (  99 => 17,  96 => 16,  90 => 13,  87 => 12,  85 => 11,  82 => 10,  76 => 7,  73 => 6,  71 => 5,  68 => 4,  58 => 3,  35 => 2,);
  106.     }
  107.     public function getSourceContext()
  108.     {
  109.         return new Source("{% sw_extends '@parent/storefront/page/product-detail/index.html.twig' %}
  110. {% block page_product_detail_headline %}
  111.     {% if app.request.get('nb_aq_success') == 1 %}
  112.         <div class=\"alert alert-success\" role=\"alert\" style=\"padding: .75rem 1.25rem;\">
  113.             {{ 'nimbits-articlequestions.finish.alert'|trans }}
  114.         </div>
  115.     {% endif %}
  116.     {% if app.request.get('nb_aq_success') == 2 %}
  117.         <div class=\"alert alert-warning\" role=\"alert\" style=\"padding: .75rem 1.25rem;\">
  118.             {{ 'nimbits-articlequestions.finish.alerterror'|trans }}
  119.         </div>
  120.     {% endif %}
  121.     {{ parent() }}
  122. {% endblock %}""@NimbitsArticleQuestionsNext/storefront/page/product-detail/index.html.twig""/var/customers/webs/kew/htdocs6/vendor/store.shopware.com/nimbitsarticlequestionsnext/src/Resources/views/storefront/page/product-detail/index.html.twig");
  123.     }
  124. }