var/cache/dev_h35c9e4fa64367e5a564f83803cfdec08/twig/7a/7ab476bf586ec31f9f7b5d0389d1fa7586e6e6dfef156228ec2df4e299eddb4d.php line 50

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