var/cache/dev_h24eaf6979abf10b67456256024eb9e5e/twig/60/602a2adaf26ac60c46114d6faa7c74caae72c213a42c97a5061bf6ca034332b6.php line 52

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. /* @SwagB2bPlatform/storefront/base.html.twig */
  16. class __TwigTemplate_3af783514c67a1db7b91bcd4e41df3bc 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_header' => [$this'block_base_header'],
  26.             'base_navigation' => [$this'block_base_navigation'],
  27.             'base_body_script' => [$this'block_base_body_script'],
  28.         ];
  29.     }
  30.     protected function doGetParent(array $context)
  31.     {
  32.         // line 2
  33.         return "@ProclaneWegmannTheme/storefront/base.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""@SwagB2bPlatform/storefront/base.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""@SwagB2bPlatform/storefront/base.html.twig"));
  42.         $this->parent $this->loadTemplate("@ProclaneWegmannTheme/storefront/base.html.twig""@SwagB2bPlatform/storefront/base.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_base_header($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""base_header"));
  55.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  56.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""base_header"));
  57.         // line 4
  58.         echo "    ";
  59.         if ((($context["isSalesRep"] ?? null) &&  !($context["isSalesRepRemoteControl"] ?? null))) {
  60.             // line 5
  61.             echo "        <div class=\"container\">
  62.             ";
  63.             // line 6
  64.             $this->loadTemplate("@ProcDisableCheckout/storefront/layout/header/header.html.twig""@SwagB2bPlatform/storefront/base.html.twig"6)->display($context);
  65.             // line 7
  66.             echo "        </div>
  67.     ";
  68.         } else {
  69.             // line 9
  70.             echo "        ";
  71.             $this->displayParentBlock("base_header"$context$blocks);
  72.             echo "
  73.     ";
  74.         }
  75.         
  76.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  77.         
  78.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  79.     }
  80.     // line 13
  81.     public function block_base_navigation($context, array $blocks = [])
  82.     {
  83.         $macros $this->macros;
  84.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  85.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""base_navigation"));
  86.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  87.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""base_navigation"));
  88.         // line 14
  89.         echo "    ";
  90.         if ((($context["isSalesRepRemoteControl"] ?? null) ||  !($context["isSalesRep"] ?? null))) {
  91.             // line 15
  92.             echo "        ";
  93.             $this->displayParentBlock("base_navigation"$context$blocks);
  94.             echo "
  95.     ";
  96.         }
  97.         
  98.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  99.         
  100.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  101.     }
  102.     // line 19
  103.     public function block_base_body_script($context, array $blocks = [])
  104.     {
  105.         $macros $this->macros;
  106.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  107.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""base_body_script"));
  108.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  109.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""base_body_script"));
  110.         // line 20
  111.         echo "    ";
  112.         $this->displayParentBlock("base_body_script"$context$blocks);
  113.         echo "
  114.     ";
  115.         // line 22
  116.         $__internal_compile_0 null;
  117.         try {
  118.             $__internal_compile_0 =             $this->loadTemplate("storefront/bundles/BundleLoader.html.twig""@SwagB2bPlatform/storefront/base.html.twig"22);
  119.         } catch (LoaderError $e) {
  120.             // ignore missing template
  121.         }
  122.         if ($__internal_compile_0) {
  123.             $__internal_compile_0->display($context);
  124.         }
  125.         
  126.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  127.         
  128.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  129.     }
  130.     public function getTemplateName()
  131.     {
  132.         return "@SwagB2bPlatform/storefront/base.html.twig";
  133.     }
  134.     public function isTraitable()
  135.     {
  136.         return false;
  137.     }
  138.     public function getDebugInfo()
  139.     {
  140.         return array (  139 => 22,  133 => 20,  123 => 19,  109 => 15,  106 => 14,  96 => 13,  82 => 9,  78 => 7,  76 => 6,  73 => 5,  70 => 4,  60 => 3,  37 => 2,);
  141.     }
  142.     public function getSourceContext()
  143.     {
  144.         return new Source("{% sw_extends '@Storefront/storefront/base.html.twig' %}
  145. {% block base_header %}
  146.     {% if isSalesRep and not isSalesRepRemoteControl %}
  147.         <div class=\"container\">
  148.             {% sw_include '@SwagB2bPlatform/storefront/layout/header/header.html.twig' %}
  149.         </div>
  150.     {% else %}
  151.         {{ parent() }}
  152.     {% endif %}
  153. {% endblock %}
  154. {% block base_navigation %}
  155.     {% if isSalesRepRemoteControl or not isSalesRep %}
  156.         {{ parent() }}
  157.     {% endif %}
  158. {% endblock %}
  159. {% block base_body_script %}
  160.     {{ parent() }}
  161.     {% sw_include
  162.         '@SwagB2bPlatform/storefront/bundles/BundleLoader.html.twig'
  163.         ignore missing
  164.     %}
  165. {% endblock %}
  166. ""@SwagB2bPlatform/storefront/base.html.twig""/var/www/html/htdocs/custom/plugins/SwagB2bPlatform/SwagB2bPlatform/Resources/views/storefront/base.html.twig");
  167.     }
  168. }