var/cache/dev_h7302b6dbeb5b1ab0a68ccd87e6c236f4/twig/52/5245a9a43dce9ea4536309db25721867229973c8e78ed84d498a719c11aaffb6.php line 42

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. /* @SwagAmazonPay/storefront/page/account/register/index.html.twig */
  16. class __TwigTemplate_2c55b286552eab2e7de5cda607099496 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_account_register_advantages' => [$this'block_page_account_register_advantages'],
  26.             'page_checkout_address_login_swag_amazon_pay_card_body' => [$this'block_page_checkout_address_login_swag_amazon_pay_card_body'],
  27.             'component_account_login_swag_amazon_pay_button' => [$this'block_component_account_login_swag_amazon_pay_button'],
  28.         ];
  29.     }
  30.     protected function doGetParent(array $context)
  31.     {
  32.         // line 2
  33.         return "@Storefront/storefront/page/account/register/index.html.twig";
  34.     }
  35.     protected function doDisplay(array $context, array $blocks = [])
  36.     {
  37.         $macros $this->macros;
  38.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  39.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""@SwagAmazonPay/storefront/page/account/register/index.html.twig"));
  40.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  41.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""@SwagAmazonPay/storefront/page/account/register/index.html.twig"));
  42.         $this->parent $this->loadTemplate("@Storefront/storefront/page/account/register/index.html.twig""@SwagAmazonPay/storefront/page/account/register/index.html.twig"2);
  43.         $this->parent->display($contextarray_merge($this->blocks$blocks));
  44.         
  45.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  46.         
  47.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  48.     }
  49.     // line 3
  50.     public function block_page_account_register_advantages($context, array $blocks = [])
  51.     {
  52.         $macros $this->macros;
  53.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  54.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""page_account_register_advantages"));
  55.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  56.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""page_account_register_advantages"));
  57.         // line 4
  58.         echo "    ";
  59.         $context["amazonPayButton"] = sw_get_attribute($this->env$this->sourcesw_get_attribute($this->env$this->source, ($context["page"] ?? null), "extensions", [], "any"falsefalsefalse4), "SwagAmazonPayButton", [], "any"falsefalsefalse4);
  60.         // line 5
  61.         echo "    ";
  62.         if ((($context["amazonPayButton"] ?? null) &&  !sw_get_attribute($this->env$this->source, ($context["amazonPayButton"] ?? null), "hideButton", [], "any"falsefalsefalse5))) {
  63.             // line 6
  64.             echo "        <div class=\"card swag-amazon-pay-card\">
  65.             <div class=\"card-body\">
  66.                 ";
  67.             // line 8
  68.             $this->displayBlock('page_checkout_address_login_swag_amazon_pay_card_body'$context$blocks);
  69.             // line 18
  70.             echo "            </div>
  71.         </div>
  72.     ";
  73.         }
  74.         // line 21
  75.         echo "
  76.     ";
  77.         // line 22
  78.         $this->displayParentBlock("page_account_register_advantages"$context$blocks);
  79.         echo "
  80. ";
  81.         
  82.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  83.         
  84.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  85.     }
  86.     // line 8
  87.     public function block_page_checkout_address_login_swag_amazon_pay_card_body($context, array $blocks = [])
  88.     {
  89.         $macros $this->macros;
  90.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  91.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""page_checkout_address_login_swag_amazon_pay_card_body"));
  92.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  93.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""page_checkout_address_login_swag_amazon_pay_card_body"));
  94.         // line 9
  95.         echo "                    <div class=\"card-title\">";
  96.         echo sw_escape_filter($this->envtwig_striptags($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("SwagAmazonPay.register.headline")), "html"nulltrue);
  97.         echo "</div>
  98.                     <p class=\"card-text\">";
  99.         // line 10
  100.         echo sw_escape_filter($this->envtwig_striptags($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("SwagAmazonPay.register.text")), "html"nulltrue);
  101.         echo "</p>
  102.                     ";
  103.         // line 12
  104.         $this->displayBlock('component_account_login_swag_amazon_pay_button'$context$blocks);
  105.         // line 17
  106.         echo "                ";
  107.         
  108.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  109.         
  110.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  111.     }
  112.     // line 12
  113.     public function block_component_account_login_swag_amazon_pay_button($context, array $blocks = [])
  114.     {
  115.         $macros $this->macros;
  116.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  117.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""component_account_login_swag_amazon_pay_button"));
  118.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  119.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""component_account_login_swag_amazon_pay_button"));
  120.         // line 13
  121.         echo "                        ";
  122.         $this->loadTemplate("@SwagAmazonPay/storefront/component/swag-amazon-pay/amazon-login-button.html.twig""@SwagAmazonPay/storefront/page/account/register/index.html.twig"13)->display(twig_array_merge($context, ["identifier" => "account-login"]));
  123.         // line 16
  124.         echo "                    ";
  125.         
  126.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  127.         
  128.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  129.     }
  130.     public function getTemplateName()
  131.     {
  132.         return "@SwagAmazonPay/storefront/page/account/register/index.html.twig";
  133.     }
  134.     public function isTraitable()
  135.     {
  136.         return false;
  137.     }
  138.     public function getDebugInfo()
  139.     {
  140.         return array (  147 => 16,  144 => 13,  134 => 12,  124 => 17,  122 => 12,  117 => 10,  112 => 9,  102 => 8,  90 => 22,  87 => 21,  82 => 18,  80 => 8,  76 => 6,  73 => 5,  70 => 4,  60 => 3,  37 => 2,);
  141.     }
  142.     public function getSourceContext()
  143.     {
  144.         return new Source("{% sw_extends '@Storefront/storefront/page/account/register/index.html.twig' %}
  145. {% block page_account_register_advantages %}
  146.     {% set amazonPayButton = page.extensions.SwagAmazonPayButton %}
  147.     {% if amazonPayButton and not amazonPayButton.hideButton %}
  148.         <div class=\"card swag-amazon-pay-card\">
  149.             <div class=\"card-body\">
  150.                 {% block page_checkout_address_login_swag_amazon_pay_card_body %}
  151.                     <div class=\"card-title\">{{ \"SwagAmazonPay.register.headline\"|trans|striptags }}</div>
  152.                     <p class=\"card-text\">{{ \"SwagAmazonPay.register.text\"|trans|striptags }}</p>
  153.                     {% block component_account_login_swag_amazon_pay_button %}
  154.                         {% sw_include '@Storefront/storefront/component/swag-amazon-pay/amazon-login-button.html.twig' with {
  155.                             'identifier': 'account-login'
  156.                         } %}
  157.                     {% endblock %}
  158.                 {% endblock %}
  159.             </div>
  160.         </div>
  161.     {% endif %}
  162.     {{ parent() }}
  163. {% endblock %}
  164. ""@SwagAmazonPay/storefront/page/account/register/index.html.twig""/var/www/geuther_staging/custom/plugins/SwagAmazonPay/src/Resources/views/storefront/page/account/register/index.html.twig");
  165.     }
  166. }