var/cache/dev_h90dfaab4b9218db9f54295f5d696836f/twig/b2/b2e00025e166c9b50e9bc6372e59457ccd4701ca2a58674ff5ab66d4cbbbb210.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. /* @TdsOrlob/storefront/component/product/listing.html.twig */
  16. class __TwigTemplate_0184da811154ba9de0757e3cbd5da1a155644db4bb90c3f6b34ffe7b9f7e2cb1 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.             'element_product_listing_wrapper_content' => [$this'block_element_product_listing_wrapper_content'],
  26.         ];
  27.     }
  28.     protected function doGetParent(array $context)
  29.     {
  30.         // line 2
  31.         return "@Storefront/storefront/component/product/listing.html.twig";
  32.     }
  33.     protected function doDisplay(array $context, array $blocks = [])
  34.     {
  35.         $macros $this->macros;
  36.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  37.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""@TdsOrlob/storefront/component/product/listing.html.twig"));
  38.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  39.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""@TdsOrlob/storefront/component/product/listing.html.twig"));
  40.         $this->parent $this->loadTemplate("@Storefront/storefront/component/product/listing.html.twig""@TdsOrlob/storefront/component/product/listing.html.twig"2);
  41.         $this->parent->display($contextarray_merge($this->blocks$blocks));
  42.         
  43.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  44.         
  45.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  46.     }
  47.     // line 3
  48.     public function block_element_product_listing_wrapper_content($context, array $blocks = [])
  49.     {
  50.         $macros $this->macros;
  51.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  52.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""element_product_listing_wrapper_content"));
  53.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  54.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""element_product_listing_wrapper_content"));
  55.         // line 5
  56.         echo "
  57. \t";
  58.         // line 6
  59.         if (((=== twig_compare(sw_get_attribute($this->env$this->sourcesw_get_attribute($this->env$this->source, ($context["page"] ?? null), "cmsPage", [], "any"falsefalsefalse6), "name", [], "any"falsefalsefalse6), "Admin Kategorie")) && (=== twig_compare(sw_get_attribute($this->env$this->sourcesw_get_attribute($this->env$this->source, ($context["context"] ?? null), "currentCustomerGroup", [], "any"falsefalsefalse6), "name", [], "any"falsefalsefalse6), "Admin")))) {
  60.             // line 7
  61.             echo "\t
  62. \t\t\t";
  63.             // line 8
  64.             $this->loadTemplate("@TdsOrlob/storefront/component/product/listing-admin.html.twig""@TdsOrlob/storefront/component/product/listing.html.twig"8)->display($context);
  65.             // line 9
  66.             echo "
  67. \t";
  68.         } elseif (((=== twig_compare(sw_get_attribute($this->env$this->sourcesw_get_attribute($this->env$this->source,         // line 10
  69. ($context["page"] ?? null), "cmsPage", [], "any"falsefalsefalse10), "name", [], "any"falsefalsefalse10), "Admin Kategorie")) && (!== twig_compare(sw_get_attribute($this->env$this->sourcesw_get_attribute($this->env$this->source, ($context["context"] ?? null), "currentCustomerGroup", [], "any"falsefalsefalse10), "name", [], "any"falsefalsefalse10), "Admin")))) {
  70.             // line 11
  71.             echo "\t
  72. \t\t\t<div style=\"text-align: center;\">
  73. \t\t\t\t<b style=\"font-size: 24px\">Hinweis:</b><br><br>Das ist unser Adminbereich. Btte log dich als Admin User im Frontend an. Falls du noch keine Admin User hast, dann erstelle einen Kunden und setze die Kundengruppe auf Admin.<br><br>
  74. \t\t\t\t<div>
  75. \t\t\t\t\t<a class=\"btn btn-primary\" href=\"/account/login\" target=\"_self\">Anmeldung/Registrierung</a><br>
  76. \t\t\t\t</div>
  77. \t\t\t</div>
  78. \t";
  79.         } elseif ((=== twig_compare(sw_get_attribute($this->env$this->sourcesw_get_attribute($this->env$this->source,         // line 19
  80. ($context["context"] ?? null), "currentCustomerGroup", [], "any"falsefalsefalse19), "id", [], "any"falsefalsefalse19), "cfbd5018d38d41d8adca10d94fc8bdd6"))) {
  81.             // line 20
  82.             echo "\t
  83. \t\t<div style=\"text-align: center;\"></b>
  84. \t\t<br>
  85. \t\t<br>
  86. \t\t\t<b style=\"font-size: 24px\">Hinweis:</b>
  87. \t\t<br>
  88. \t\t<br>Für eine komplette Einsicht unserer Artikel ist eine Registrierung als Händler erforderlich! Zur Anmeldung und Registrierung gelangen Sie über folgenden Link:<br>
  89. \t\t<br>
  90. \t\t<div>
  91. \t\t\t<a class=\"btn btn-primary\" href=\"/account/login\" target=\"_self\">Anmeldung/Registrierung</a>
  92. \t\t\t<br></div>
  93. \t\t</div>
  94. \t\t\t\t
  95. \t";
  96.         } else {
  97.             // line 34
  98.             echo "\t
  99. \t\t";
  100.             // line 35
  101.             $this->displayParentBlock("element_product_listing_wrapper_content"$context$blocks);
  102.             echo "
  103. \t\t
  104. \t";
  105.         }
  106.         // line 38
  107.         echo "\t
  108. \t
  109. ";
  110.         
  111.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  112.         
  113.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  114.     }
  115.     public function getTemplateName()
  116.     {
  117.         return "@TdsOrlob/storefront/component/product/listing.html.twig";
  118.     }
  119.     public function isTraitable()
  120.     {
  121.         return false;
  122.     }
  123.     public function getDebugInfo()
  124.     {
  125.         return array (  120 => 38,  114 => 35,  111 => 34,  95 => 20,  93 => 19,  83 => 11,  81 => 10,  78 => 9,  76 => 8,  73 => 7,  71 => 6,  68 => 5,  58 => 3,  35 => 2,);
  126.     }
  127.     public function getSourceContext()
  128.     {
  129.         return new Source("{% sw_extends '@Storefront/storefront/component/product/listing.html.twig' %}
  130. {% block element_product_listing_wrapper_content %}
  131. {# \t{{dump(page.cmsPage.name, context.currentCustomerGroup.name)}} #}
  132. \t{% if page.cmsPage.name == 'Admin Kategorie' && context.currentCustomerGroup.name == 'Admin' %}
  133. \t
  134. \t\t\t{% sw_include '@Storefront/storefront/component/product/listing-admin.html.twig' %}
  135. \t{% elseif page.cmsPage.name == 'Admin Kategorie' && context.currentCustomerGroup.name != 'Admin' %}
  136. \t
  137. \t\t\t<div style=\"text-align: center;\">
  138. \t\t\t\t<b style=\"font-size: 24px\">Hinweis:</b><br><br>Das ist unser Adminbereich. Btte log dich als Admin User im Frontend an. Falls du noch keine Admin User hast, dann erstelle einen Kunden und setze die Kundengruppe auf Admin.<br><br>
  139. \t\t\t\t<div>
  140. \t\t\t\t\t<a class=\"btn btn-primary\" href=\"/account/login\" target=\"_self\">Anmeldung/Registrierung</a><br>
  141. \t\t\t\t</div>
  142. \t\t\t</div>
  143. \t{% elseif context.currentCustomerGroup.id =='cfbd5018d38d41d8adca10d94fc8bdd6' %}
  144. \t
  145. \t\t<div style=\"text-align: center;\"></b>
  146. \t\t<br>
  147. \t\t<br>
  148. \t\t\t<b style=\"font-size: 24px\">Hinweis:</b>
  149. \t\t<br>
  150. \t\t<br>Für eine komplette Einsicht unserer Artikel ist eine Registrierung als Händler erforderlich! Zur Anmeldung und Registrierung gelangen Sie über folgenden Link:<br>
  151. \t\t<br>
  152. \t\t<div>
  153. \t\t\t<a class=\"btn btn-primary\" href=\"/account/login\" target=\"_self\">Anmeldung/Registrierung</a>
  154. \t\t\t<br></div>
  155. \t\t</div>
  156. \t\t\t\t
  157. \t{% else %}
  158. \t
  159. \t\t{{ parent() }}
  160. \t\t
  161. \t{% endif %}
  162. \t
  163. \t
  164. {% endblock %}
  165. ""@TdsOrlob/storefront/component/product/listing.html.twig""/home/fasflpog/shopware/custom/plugins/TdsOrlob/src/Resources/views/storefront/component/product/listing.html.twig");
  166.     }
  167. }