var/cache/test/twig/7d/7da5a134f93b49372aafb0aa046eee889982ad6bcdd7a5383193369fceb88509.php line 138

Open in your IDE?
  1. <?php
  2. use Twig\Environment;
  3. use Twig\Error\LoaderError;
  4. use Twig\Error\RuntimeError;
  5. use Twig\Extension\SandboxExtension;
  6. use Twig\Markup;
  7. use Twig\Sandbox\SecurityError;
  8. use Twig\Sandbox\SecurityNotAllowedTagError;
  9. use Twig\Sandbox\SecurityNotAllowedFilterError;
  10. use Twig\Sandbox\SecurityNotAllowedFunctionError;
  11. use Twig\Source;
  12. use Twig\Template;
  13. /* microtemplates/main.twig */
  14. class __TwigTemplate_0e426f0c1a56a64d03eb4e335eca9f390fb08658bad44e11a1f46e3dae648cbd extends \Twig\Template
  15. {
  16.     private $source;
  17.     private $macros = [];
  18.     public function __construct(Environment $env)
  19.     {
  20.         parent::__construct($env);
  21.         $this->source $this->getSourceContext();
  22.         $this->parent false;
  23.         $this->blocks = [
  24.             'breadcrumb' => [$this'block_breadcrumb'],
  25.             'content' => [$this'block_content'],
  26.         ];
  27.     }
  28.     protected function doDisplay(array $context, array $blocks = [])
  29.     {
  30.         $macros $this->macros;
  31.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  32.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""microtemplates/main.twig"));
  33.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  34.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""microtemplates/main.twig"));
  35.         // line 1
  36.         echo twig_get_attribute($this->env$this->source, ($context["blok"] ?? null), "_editable", [], "any"falsefalsefalse1);
  37.         echo "
  38. <div id=\"main\" role=\"main\" class=\"wrapper\">
  39.     <!-- no index start -->
  40.     ";
  41.         // line 4
  42.         if ((($context["isNewsroomLayout"] ?? null) && !twig_in_filter("/promotions"twig_get_attribute($this->env$this->source, ($context["category"] ?? null), "family_id", [], "any"falsefalsefalse4)))) {
  43.             // line 5
  44.             echo "        <div class=\"uk-container uk-hidden@s\">
  45.             ";
  46.             // line 6
  47.             $context["navigationSlug"] = twig_replace_filter((($__internal_f607aeef2c31a95a7bf963452dff024ffaeb6aafbe4603f9ca3bec57be8633f4 twig_split_filter($this->envtwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, ($context["app"] ?? null), "request", [], "any"falsefalsefalse6), "pathinfo", [], "any"falsefalsefalse6), "/")) && is_array($__internal_f607aeef2c31a95a7bf963452dff024ffaeb6aafbe4603f9ca3bec57be8633f4) || $__internal_f607aeef2c31a95a7bf963452dff024ffaeb6aafbe4603f9ca3bec57be8633f4 instanceof ArrayAccess ? ($__internal_f607aeef2c31a95a7bf963452dff024ffaeb6aafbe4603f9ca3bec57be8633f4[2] ?? null) : null), ["/refresh" => ""]);
  48.             // line 7
  49.             echo "            ";
  50.             $context["navigation"] = $this->extensions['App\Twig\TwigExtension']->getLeftNavigation(twig_get_attribute($this->env$this->source, ($context["category"] ?? null), "lang", [], "any"falsefalsefalse7), ($context["navigationSlug"] ?? null));
  51.             // line 8
  52.             echo "            ";
  53.             $this->loadTemplate("includes/left_navigation_dropdown.twig""microtemplates/main.twig"8)->display(twig_array_merge($context, ["navigation" => ($context["navigation"] ?? null)]));
  54.             // line 9
  55.             echo "        </div>
  56.     ";
  57.         }
  58.         // line 11
  59.         echo "    <div class=\"uk-container\">
  60.         <div class=\"uk-flex uk-flex-right uk-flex-between@s
  61.             ";
  62.         // line 13
  63.         if ((($context["isNewsroomLayout"] ?? null) || ($context["isCareerJobDetailLayout"] ?? null))) {
  64.             // line 14
  65.             echo "                uk-flex-between
  66.                 uk-flex-middle
  67.                 ";
  68.             // line 16
  69.             if ((twig_get_attribute($this->env$this->source, ($context["category"] ?? null), "globaluser", [], "any"falsefalsefalse16) || twig_get_attribute($this->env$this->source, ($context["category"] ?? null), "studentuser", [], "any"falsefalsefalse16))) {
  70.                 // line 17
  71.                 echo "                    uk-margin-top
  72.                 ";
  73.             } else {
  74.                 // line 19
  75.                 echo "                    uk-margin-top
  76.                     uk-margin-small-bottom@s
  77.                 ";
  78.             }
  79.             // line 22
  80.             echo "                ";
  81.             if ( !($context["isNewsroomArticleDetail"] ?? null)) {
  82.                 // line 23
  83.                 echo "                    uk-margin-remove@s
  84.                 ";
  85.             }
  86.             // line 25
  87.             echo "            ";
  88.         } else {
  89.             // line 26
  90.             echo "                uk-flex-top
  91.             ";
  92.         }
  93.         // line 27
  94.         echo "\">
  95.             ";
  96.         // line 28
  97.         if ((($context["isNewsroomLayout"] ?? null) && ($context["isNewsroomArticleDetail"] ?? null))) {
  98.             // line 29
  99.             echo "                <div class=\"news-article__back uk-hidden@s\">
  100.                     <a href=\"";
  101.             // line 30
  102.             echo twig_escape_filter($this->env$this->extensions['App\Twig\TwigExtension']->familyUrl(twig_get_attribute($this->env$this->source, ($context["category"] ?? null), "lang", [], "any"falsefalsefalse30), "/newsroom"), "html"nulltrue);
  103.             echo "\">
  104.                     ";
  105.             // line 31
  106.             ob_start();
  107.             // line 32
  108.             echo "                        <span class=\"uk-margin-small-right news-article__back-arrow\">
  109.                             ";
  110.             // line 33
  111.             echo $this->extensions['App\Twig\TwigExtension']->includeFile("/images/icons/arrow.svg");
  112.             echo "
  113.                         </span>
  114.                         <span>";
  115.             // line 35
  116.             echo twig_escape_filter($this->envtwig_trim_filter($this->extensions['App\Twig\TwigExtension']->label("studentsBackToOverview")), "html"nulltrue);
  117.             echo "</span>
  118.                     ";
  119.             echo trim(preg_replace('/>\s+</''><'ob_get_clean()));
  120.             // line 37
  121.             echo "                    </a>
  122.                 </div>
  123.             ";
  124.         }
  125.         // line 40
  126.         echo "            <div class=\"uk-visible@s\">
  127.                 ";
  128.         // line 41
  129.         $this->displayBlock('breadcrumb'$context$blocks);
  130.         // line 47
  131.         echo "            </div>
  132.             ";
  133.         // line 48
  134.         $this->loadTemplate("includes/globallogin.twig""microtemplates/main.twig"48)->display($context);
  135.         // line 49
  136.         echo "        </div>
  137.     </div>
  138.     <!-- no index end -->
  139.     ";
  140.         // line 52
  141.         $this->displayBlock('content'$context$blocks);
  142.         // line 53
  143.         echo "</div>
  144. ";
  145.         
  146.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  147.         
  148.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  149.     }
  150.     // line 41
  151.     public function block_breadcrumb($context, array $blocks = [])
  152.     {
  153.         $macros $this->macros;
  154.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  155.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""breadcrumb"));
  156.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  157.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""breadcrumb"));
  158.         // line 42
  159.         echo "                    ";
  160.         if (((((twig_get_attribute($this->env$this->source, ($context["category"] ?? null), "family_id", [], "any"falsefalsefalse42) != "/service/virtualshowroom") && (twig_get_attribute($this->env$this->source, ($context["category"] ?? null), "family_id", [], "any"falsefalsefalse42) != "/newsroom/whexperience-center")) && (twig_get_attribute($this->env$this->source,         // line 43
  161. ($context["category"] ?? null), "microtemplate", [], "any"falsefalsefalse43) != "newsroom_refresh")) && (twig_get_attribute($this->env$this->source, ($context["category"] ?? null), "family_id", [], "any"falsefalsefalse43) != "/service/downloadcenter-oem"))) {
  162.             // line 44
  163.             echo "                        ";
  164.             $this->loadTemplate("includes/breadcrumb.twig""microtemplates/main.twig"44)->display(twig_array_merge($context, ["isNewsroomLayout" => ((($context["isNewsroomLayout"] ?? null)) ? (($context["isNewsroomLayout"] ?? null)) : (twig_in_filter("newsroom_refresh"twig_get_attribute($this->env$this->source, ($context["category"] ?? null), "microtemplate", [], "any"falsefalsefalse44))))]));
  165.             // line 45
  166.             echo "                    ";
  167.         }
  168.         // line 46
  169.         echo "                ";
  170.         
  171.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  172.         
  173.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  174.     }
  175.     // line 52
  176.     public function block_content($context, array $blocks = [])
  177.     {
  178.         $macros $this->macros;
  179.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  180.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""content"));
  181.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  182.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""content"));
  183.         
  184.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  185.         
  186.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  187.     }
  188.     public function getTemplateName()
  189.     {
  190.         return "microtemplates/main.twig";
  191.     }
  192.     public function isTraitable()
  193.     {
  194.         return false;
  195.     }
  196.     public function getDebugInfo()
  197.     {
  198.         return array (  193 => 52,  183 => 46,  180 => 45,  177 => 44,  175 => 43,  173 => 42,  163 => 41,  152 => 53,  150 => 52,  145 => 49,  143 => 48,  140 => 47,  138 => 41,  135 => 40,  130 => 37,  125 => 35,  120 => 33,  117 => 32,  115 => 31,  111 => 30,  108 => 29,  106 => 28,  103 => 27,  99 => 26,  96 => 25,  92 => 23,  89 => 22,  84 => 19,  80 => 17,  78 => 16,  74 => 14,  72 => 13,  68 => 11,  64 => 9,  61 => 8,  58 => 7,  56 => 6,  53 => 5,  51 => 4,  45 => 1,);
  199.     }
  200.     public function getSourceContext()
  201.     {
  202.         return new Source("{{ blok._editable | raw }}
  203. <div id=\"main\" role=\"main\" class=\"wrapper\">
  204.     <!-- no index start -->
  205.     {% if isNewsroomLayout and ('/promotions' not in category.family_id) %}
  206.         <div class=\"uk-container uk-hidden@s\">
  207.             {% set navigationSlug = (app.request.pathinfo | split('/'))[2]|replace({'/refresh':''}) %}
  208.             {% set navigation = getLeftNavigation(category.lang, navigationSlug) %}
  209.             {% include 'includes/left_navigation_dropdown.twig' with { navigation: navigation } %}
  210.         </div>
  211.     {% endif %}
  212.     <div class=\"uk-container\">
  213.         <div class=\"uk-flex uk-flex-right uk-flex-between@s
  214.             {% if isNewsroomLayout or isCareerJobDetailLayout %}
  215.                 uk-flex-between
  216.                 uk-flex-middle
  217.                 {% if category.globaluser or category.studentuser %}
  218.                     uk-margin-top
  219.                 {% else %}
  220.                     uk-margin-top
  221.                     uk-margin-small-bottom@s
  222.                 {% endif %}
  223.                 {% if not isNewsroomArticleDetail %}
  224.                     uk-margin-remove@s
  225.                 {% endif %}
  226.             {% else %}
  227.                 uk-flex-top
  228.             {% endif %}\">
  229.             {% if isNewsroomLayout and isNewsroomArticleDetail %}
  230.                 <div class=\"news-article__back uk-hidden@s\">
  231.                     <a href=\"{{familyUrl(category.lang, '/newsroom')}}\">
  232.                     {% spaceless %}
  233.                         <span class=\"uk-margin-small-right news-article__back-arrow\">
  234.                             {{ include_file('/images/icons/arrow.svg')|raw }}
  235.                         </span>
  236.                         <span>{{label('studentsBackToOverview') | trim }}</span>
  237.                     {% endspaceless %}
  238.                     </a>
  239.                 </div>
  240.             {% endif %}
  241.             <div class=\"uk-visible@s\">
  242.                 {% block breadcrumb %}
  243.                     {% if category.family_id != '/service/virtualshowroom' and category.family_id != '/newsroom/whexperience-center' and
  244.                         category.microtemplate != 'newsroom_refresh' and category.family_id != '/service/downloadcenter-oem' %}
  245.                         {% include 'includes/breadcrumb.twig' with {isNewsroomLayout: isNewsroomLayout ?: 'newsroom_refresh' in category.microtemplate } %}
  246.                     {% endif %}
  247.                 {% endblock %}
  248.             </div>
  249.             {% include 'includes/globallogin.twig' %}
  250.         </div>
  251.     </div>
  252.     <!-- no index end -->
  253.     {% block content %}{% endblock %}
  254. </div>
  255. ""microtemplates/main.twig""/var/app/current/templates/microtemplates/main.twig");
  256.     }
  257. }