<?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;
/* @RpayPayments/storefront/base.html.twig */
class __TwigTemplate_488edb0dfec2d15b3793f938bdfe21ea extends Template
{
private $source;
private $macros = [];
public function __construct(Environment $env)
{
parent::__construct($env);
$this->source = $this->getSourceContext();
$this->blocks = [
'base_main' => [$this, 'block_base_main'],
];
}
protected function doGetParent(array $context)
{
// line 2
return "@S360DeviceDetection/storefront/base.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", "@RpayPayments/storefront/base.html.twig"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "@RpayPayments/storefront/base.html.twig"));
$this->parent = $this->loadTemplate("@S360DeviceDetection/storefront/base.html.twig", "@RpayPayments/storefront/base.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_base_main($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", "base_main"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "base_main"));
// line 4
echo " ";
$this->displayParentBlock("base_main", $context, $blocks);
echo "
";
// line 6
if (($context["ratepayAdminOrderSession"] ?? null)) {
// line 7
echo " <div class=\"ratepay-admin-session-notice\">
<div class=\"inner\">
<div class=\"close\" onClick=\"this.parentElement.parentElement.remove()\">";
// line 9
((function () use ($context, $blocks) {
$finder = $this->env->getExtension('Shopware\Core\Framework\Adapter\Twig\Extension\NodeExtension')->getFinder();
$includeTemplate = $finder->find("@Storefront/storefront/utilities/icon.html.twig");
return $this->loadTemplate($includeTemplate ?? null, "@RpayPayments/storefront/base.html.twig", 9);
})())->display(twig_array_merge($context, ["name" => "x"]));
echo "</div>
<span>";
// line 10
echo sw_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("ratepay.storefront.admin-order.notice"), "html", null, true);
echo "</span>
</div>
<div class=\"actions\">
<a href=\"";
// line 13
echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getUrl("ratepay.frontend.admin-logout");
echo "\">";
echo sw_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("ratepay.storefront.admin-order.close-session"), "html", null, true);
echo "</a>
</div>
</div>
";
}
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
}
public function getTemplateName()
{
return "@RpayPayments/storefront/base.html.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 96 => 13, 90 => 10, 80 => 9, 76 => 7, 74 => 6, 68 => 4, 58 => 3, 35 => 2,);
}
public function getSourceContext()
{
return new Source("{% sw_extends '@Storefront/storefront/base.html.twig' %}
{% block base_main %}
{{ parent() }}
{% if ratepayAdminOrderSession %}
<div class=\"ratepay-admin-session-notice\">
<div class=\"inner\">
<div class=\"close\" onClick=\"this.parentElement.parentElement.remove()\">{% sw_icon 'x' %}</div>
<span>{{ \"ratepay.storefront.admin-order.notice\"|trans }}</span>
</div>
<div class=\"actions\">
<a href=\"{{ url('ratepay.frontend.admin-logout') }}\">{{ \"ratepay.storefront.admin-order.close-session\"|trans }}</a>
</div>
</div>
{% endif %}
{% endblock %}
", "@RpayPayments/storefront/base.html.twig", "/var/www/staging1.grimm-gastrobedarf.de/custom/plugins/RpayPayments/src/Resources/views/storefront/base.html.twig");
}
}