var/cache/dev_h5b02c48344407d68d61eb74a0cdcd8b0/twig/c4/c488dd6234e1bdf84e9327dd1e2f7cf57f6046b9a676c1e3dfae9c8d6579c631.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. /* @RpayPayments/storefront/base.html.twig */
  16. class __TwigTemplate_488edb0dfec2d15b3793f938bdfe21ea 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_main' => [$this'block_base_main'],
  26.         ];
  27.     }
  28.     protected function doGetParent(array $context)
  29.     {
  30.         // line 2
  31.         return "@S360DeviceDetection/storefront/base.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""@RpayPayments/storefront/base.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""@RpayPayments/storefront/base.html.twig"));
  40.         $this->parent $this->loadTemplate("@S360DeviceDetection/storefront/base.html.twig""@RpayPayments/storefront/base.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_base_main($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""base_main"));
  53.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  54.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""base_main"));
  55.         // line 4
  56.         echo "    ";
  57.         $this->displayParentBlock("base_main"$context$blocks);
  58.         echo "
  59.     ";
  60.         // line 6
  61.         if (($context["ratepayAdminOrderSession"] ?? null)) {
  62.             // line 7
  63.             echo "        <div class=\"ratepay-admin-session-notice\">
  64.             <div class=\"inner\">
  65.                 <div class=\"close\" onClick=\"this.parentElement.parentElement.remove()\">";
  66.             // line 9
  67.             ((function () use ($context$blocks) {
  68.                 $finder $this->env->getExtension('Shopware\Core\Framework\Adapter\Twig\Extension\NodeExtension')->getFinder();
  69.                 $includeTemplate $finder->find("@Storefront/storefront/utilities/icon.html.twig");
  70.                 return $this->loadTemplate($includeTemplate ?? null"@RpayPayments/storefront/base.html.twig"9);
  71.             })())->display(twig_array_merge($context, ["name" => "x"]));
  72.             echo "</div>
  73.                 <span>";
  74.             // line 10
  75.             echo sw_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("ratepay.storefront.admin-order.notice"), "html"nulltrue);
  76.             echo "</span>
  77.             </div>
  78.             <div class=\"actions\">
  79.                 <a href=\"";
  80.             // line 13
  81.             echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getUrl("ratepay.frontend.admin-logout");
  82.             echo "\">";
  83.             echo sw_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("ratepay.storefront.admin-order.close-session"), "html"nulltrue);
  84.             echo "</a>
  85.             </div>
  86.         </div>
  87.     ";
  88.         }
  89.         
  90.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  91.         
  92.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  93.     }
  94.     public function getTemplateName()
  95.     {
  96.         return "@RpayPayments/storefront/base.html.twig";
  97.     }
  98.     public function isTraitable()
  99.     {
  100.         return false;
  101.     }
  102.     public function getDebugInfo()
  103.     {
  104.         return array (  96 => 13,  90 => 10,  80 => 9,  76 => 7,  74 => 6,  68 => 4,  58 => 3,  35 => 2,);
  105.     }
  106.     public function getSourceContext()
  107.     {
  108.         return new Source("{% sw_extends '@Storefront/storefront/base.html.twig' %}
  109. {% block base_main %}
  110.     {{ parent() }}
  111.     {% if ratepayAdminOrderSession %}
  112.         <div class=\"ratepay-admin-session-notice\">
  113.             <div class=\"inner\">
  114.                 <div class=\"close\" onClick=\"this.parentElement.parentElement.remove()\">{% sw_icon 'x' %}</div>
  115.                 <span>{{ \"ratepay.storefront.admin-order.notice\"|trans }}</span>
  116.             </div>
  117.             <div class=\"actions\">
  118.                 <a href=\"{{ url('ratepay.frontend.admin-logout') }}\">{{ \"ratepay.storefront.admin-order.close-session\"|trans }}</a>
  119.             </div>
  120.         </div>
  121.     {% endif %}
  122. {% endblock %}
  123. ""@RpayPayments/storefront/base.html.twig""/var/www/staging1.grimm-gastrobedarf.de/custom/plugins/RpayPayments/src/Resources/views/storefront/base.html.twig");
  124.     }
  125. }