<?php
use Twig\Environment;
use function Shopware\Core\Framework\Adapter\Twig\sw_get_attribute;
use function Shopware\Core\Framework\Adapter\Twig\sw_escape_filter;
use Twig\Error\LoaderError;
use Twig\Error\RuntimeError;
use Twig\Extension\SandboxExtension;
use Twig\Markup;
use Twig\Sandbox\SecurityError;
use Twig\Sandbox\SecurityNotAllowedTagError;
use Twig\Sandbox\SecurityNotAllowedFilterError;
use Twig\Sandbox\SecurityNotAllowedFunctionError;
use Twig\Source;
use Twig\Template;
/* @NimbitsArticleQuestionsNext/storefront/page/content/product-detail.html.twig */
class __TwigTemplate_2cd7832f84221821c76805eeb4232ba5 extends Template
{
private $source;
private $macros = [];
public function __construct(Environment $env)
{
parent::__construct($env);
$this->source = $this->getSourceContext();
$this->blocks = [
'cms_breadcrumb' => [$this, 'block_cms_breadcrumb'],
];
}
protected function doGetParent(array $context)
{
// line 2
return "@Storefront/storefront/page/content/product-detail.html.twig";
}
protected function doDisplay(array $context, array $blocks = [])
{
$macros = $this->macros;
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "@NimbitsArticleQuestionsNext/storefront/page/content/product-detail.html.twig"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "@NimbitsArticleQuestionsNext/storefront/page/content/product-detail.html.twig"));
$this->parent = $this->loadTemplate("@Storefront/storefront/page/content/product-detail.html.twig", "@NimbitsArticleQuestionsNext/storefront/page/content/product-detail.html.twig", 2);
$this->parent->display($context, array_merge($this->blocks, $blocks));
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
}
// line 3
public function block_cms_breadcrumb($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "cms_breadcrumb"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "cms_breadcrumb"));
// line 4
echo "
";
// line 5
$this->displayParentBlock("cms_breadcrumb", $context, $blocks);
echo "
<div class=\"container\">
";
// line 9
if ((sw_get_attribute($this->env, $this->source, sw_get_attribute($this->env, $this->source, ($context["app"] ?? null), "request", [], "any", false, false, false, 9), "get", [0 => "nb_aq_success"], "method", false, false, false, 9) == 1)) {
// line 10
echo " <div class=\"alert alert-success\" role=\"alert\" style=\"padding: .75rem 1.25rem;\">
";
// line 11
echo sw_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("nimbits-articlequestions.finish.alert"), "html", null, true);
echo "
</div>
";
}
// line 14
echo "
";
// line 15
if ((sw_get_attribute($this->env, $this->source, sw_get_attribute($this->env, $this->source, ($context["app"] ?? null), "request", [], "any", false, false, false, 15), "get", [0 => "nb_aq_success"], "method", false, false, false, 15) == 2)) {
// line 16
echo " <div class=\"alert alert-warning\" role=\"alert\" style=\"padding: .75rem 1.25rem;\">
";
// line 17
echo sw_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("nimbits-articlequestions.finish.alerterror"), "html", null, true);
echo "
</div>
";
}
// line 20
echo "
</div>
";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
}
public function getTemplateName()
{
return "@NimbitsArticleQuestionsNext/storefront/page/content/product-detail.html.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
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,);
}
public function getSourceContext()
{
return new Source("{% sw_extends '@parent/storefront/page/content/product-detail.html.twig' %}
{% block cms_breadcrumb %}
{{ parent() }}
<div class=\"container\">
{% if app.request.get('nb_aq_success') == 1 %}
<div class=\"alert alert-success\" role=\"alert\" style=\"padding: .75rem 1.25rem;\">
{{ 'nimbits-articlequestions.finish.alert'|trans }}
</div>
{% endif %}
{% if app.request.get('nb_aq_success') == 2 %}
<div class=\"alert alert-warning\" role=\"alert\" style=\"padding: .75rem 1.25rem;\">
{{ 'nimbits-articlequestions.finish.alerterror'|trans }}
</div>
{% endif %}
</div>
{% 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");
}
}