var/cache/test/twig/13/138ba616767bd4f2bd942baae39f9ecce72e56385bb0d3dcbf78ef9a253f7af3.php line 48

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. /* wh_basic.twig */
  14. class __TwigTemplate_4f372b32a9e826360c49033f68a75492fb203cc07a91587b09e2c3bf3439a0e3 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->blocks = [
  23.             'main_content' => [$this'block_main_content'],
  24.         ];
  25.     }
  26.     protected function doGetParent(array $context)
  27.     {
  28.         // line 1
  29.         return "layout.twig";
  30.     }
  31.     protected function doDisplay(array $context, array $blocks = [])
  32.     {
  33.         $macros $this->macros;
  34.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  35.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""wh_basic.twig"));
  36.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  37.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""wh_basic.twig"));
  38.         $this->parent $this->loadTemplate("layout.twig""wh_basic.twig"1);
  39.         $this->parent->display($contextarray_merge($this->blocks$blocks));
  40.         
  41.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  42.         
  43.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  44.     }
  45.     // line 3
  46.     public function block_main_content($context, array $blocks = [])
  47.     {
  48.         $macros $this->macros;
  49.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  50.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""main_content"));
  51.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  52.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""main_content"));
  53.         // line 4
  54.         echo "    ";
  55.         $context["microtemplate"] = twig_get_attribute($this->env$this->source, ($context["category"] ?? null), "microtemplate", [], "any"falsefalsefalse4);
  56.         // line 5
  57.         echo "
  58.     ";
  59.         // line 6
  60.         $context["timezone"] = "Europe/Vienna";
  61.         // line 7
  62.         echo "    ";
  63.         $context["dateFormat"] = "%B %d, %Y - %R CEST";
  64.         // line 8
  65.         echo "
  66.     ";
  67.         // line 9
  68.         if ((($context["microtemplate"] ?? null) == "service")) {
  69.             // line 10
  70.             echo "        ";
  71.             $context["microtemplate"] = "Service";
  72.             // line 11
  73.             echo "    ";
  74.         }
  75.         // line 12
  76.         echo "
  77.     ";
  78.         // line 13
  79.         if (twig_in_filter("/career/new"twig_get_attribute($this->env$this->source, ($context["category"] ?? null), "family_id", [], "any"falsefalsefalse13))) {
  80.             // line 14
  81.             echo "        ";
  82.             $context["isCareerJobDetailLayout"] = true;
  83.             // line 15
  84.             echo "    ";
  85.         }
  86.         // line 16
  87.         echo "
  88.     ";
  89.         // line 17
  90.         if ($this->extensions['App\Twig\TwigExtension']->isNewsroomRefreshEnabledForLanguage(twig_get_attribute($this->env$this->source, ($context["category"] ?? null), "lang", [], "any"falsefalsefalse17))) {
  91.             // line 18
  92.             echo "        ";
  93.             if ((((twig_get_attribute($this->env$this->source, ($context["category"] ?? null), "microtemplate", [], "any"falsefalsefalse18) == "newsroom_content") || (twig_get_attribute($this->env$this->source, ($context["category"] ?? null), "microtemplate", [], "any"falsefalsefalse18) == "newsroom_refresh_category_overview")) || twig_in_filter("/promotions"twig_get_attribute($this->env$this->source, ($context["category"] ?? null), "family_id", [], "any"falsefalsefalse18)))) {
  94.                 // line 19
  95.                 echo "            ";
  96.                 $context["isNewsroomLayout"] = true;
  97.                 // line 20
  98.                 echo "        ";
  99.             }
  100.             // line 21
  101.             echo "
  102.         ";
  103.             // line 22
  104.             if (twig_get_attribute($this->env$this->source, ($context["category"] ?? null), "teaserOverviewPath", [], "any"falsefalsefalse22)) {
  105.                 // line 23
  106.                 echo "            ";
  107.                 $context["path"] = twig_get_attribute($this->env$this->source, ($context["category"] ?? null), "teaserOverviewPath", [], "any"falsefalsefalse23);
  108.                 // line 24
  109.                 echo "            ";
  110.                 $context["isNewsroomLayout"] = true;
  111.                 // line 25
  112.                 echo "        ";
  113.             }
  114.             // line 26
  115.             echo "
  116.         ";
  117.             // line 27
  118.             if ((twig_get_attribute($this->env$this->source, ($context["category"] ?? null), "is_dynamic", [], "any"falsefalsefalse27) && (twig_get_attribute($this->env$this->source, ($context["category"] ?? null), "microtemplate", [], "any"falsefalsefalse27) == "articledetail"))) {
  119.                 // line 28
  120.                 echo "            ";
  121.                 $context["microtemplate"] = "article";
  122.                 // line 29
  123.                 echo "            ";
  124.                 $context["isNewsroomLayout"] = true;
  125.                 // line 30
  126.                 echo "            ";
  127.                 $context["isNewsroomArticleDetail"] = true;
  128.                 // line 31
  129.                 echo "            ";
  130.                 $context["mainContentContainer"] = ((twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, ($context["story"] ?? null), "content", [], "any"falsefalsefalse31), "content", [], "any"falsefalsefalse31)) ? (twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, ($context["story"] ?? null), "content", [], "any"falsefalsefalse31), "content", [], "any"falsefalsefalse31)) : (twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, ($context["story"] ?? null), "content", [], "any"falsefalsefalse31), "container_151", [], "any"falsefalsefalse31)));
  131.                 // line 32
  132.                 echo "            ";
  133.                 $context["type"] = (((((($__internal_f607aeef2c31a95a7bf963452dff024ffaeb6aafbe4603f9ca3bec57be8633f4 twig_split_filter($this->envtwig_get_attribute($this->env$this->source, ($context["category"] ?? null), "family_id", [], "any"falsefalsefalse32), "/")) && is_array($__internal_f607aeef2c31a95a7bf963452dff024ffaeb6aafbe4603f9ca3bec57be8633f4) || $__internal_f607aeef2c31a95a7bf963452dff024ffaeb6aafbe4603f9ca3bec57be8633f4 instanceof ArrayAccess ? ($__internal_f607aeef2c31a95a7bf963452dff024ffaeb6aafbe4603f9ca3bec57be8633f4[0] ?? null) : null) . "/") . (($__internal_62824350bc4502ee19dbc2e99fc6bdd3bd90e7d8dd6e72f42c35efd048542144 twig_split_filter($this->envtwig_get_attribute($this->env$this->source, ($context["category"] ?? null), "family_id", [], "any"falsefalsefalse32), "/")) && is_array($__internal_62824350bc4502ee19dbc2e99fc6bdd3bd90e7d8dd6e72f42c35efd048542144) || $__internal_62824350bc4502ee19dbc2e99fc6bdd3bd90e7d8dd6e72f42c35efd048542144 instanceof ArrayAccess ? ($__internal_62824350bc4502ee19dbc2e99fc6bdd3bd90e7d8dd6e72f42c35efd048542144[1] ?? null) : null)) . "/") . (($__internal_1cfccaec8dd2e8578ccb026fbe7f2e7e29ac2ed5deb976639c5fc99a6ea8583b twig_split_filter($this->envtwig_get_attribute($this->env$this->source, ($context["category"] ?? null), "family_id", [], "any"falsefalsefalse32), "/")) && is_array($__internal_1cfccaec8dd2e8578ccb026fbe7f2e7e29ac2ed5deb976639c5fc99a6ea8583b) || $__internal_1cfccaec8dd2e8578ccb026fbe7f2e7e29ac2ed5deb976639c5fc99a6ea8583b instanceof ArrayAccess ? ($__internal_1cfccaec8dd2e8578ccb026fbe7f2e7e29ac2ed5deb976639c5fc99a6ea8583b[2] ?? null) : null));
  134.                 // line 33
  135.                 echo "        ";
  136.             }
  137.             // line 34
  138.             echo "
  139.         ";
  140.             // line 35
  141.             if ((twig_get_attribute($this->env$this->source, ($context["category"] ?? null), "family_id", [], "any"falsefalsefalse35) == "/newsroom/newsarticle")) {
  142.                 // line 36
  143.                 echo "            ";
  144.                 $context["type"] = "news";
  145.                 // line 37
  146.                 echo "            ";
  147.                 $context["microtemplate"] = "article";
  148.                 // line 38
  149.                 echo "            ";
  150.                 $context["mainContentContainer"] = ((twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, ($context["story"] ?? null), "content", [], "any"falsefalsefalse38), "content", [], "any"falsefalsefalse38)) ? (twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, ($context["story"] ?? null), "content", [], "any"falsefalsefalse38), "content", [], "any"falsefalsefalse38)) : (twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, ($context["story"] ?? null), "content", [], "any"falsefalsefalse38), "container_151", [], "any"falsefalsefalse38)));
  151.                 // line 39
  152.                 echo "            ";
  153.                 $context["isNewsroomLayout"] = true;
  154.                 // line 40
  155.                 echo "            ";
  156.                 $context["isNewsroomArticleDetail"] = true;
  157.                 // line 41
  158.                 echo "        ";
  159.             }
  160.             // line 42
  161.             echo "
  162.         ";
  163.             // line 43
  164.             if ((twig_get_attribute($this->env$this->source, ($context["category"] ?? null), "family_id", [], "any"falsefalsefalse43) == "/newsroom/webinar/archive")) {
  165.                 // line 44
  166.                 echo "            ";
  167.                 $context["type"] = "webinar";
  168.                 // line 45
  169.                 echo "            ";
  170.                 $context["microtemplate"] = "article";
  171.                 // line 46
  172.                 echo "            ";
  173.                 $context["mainContentContainer"] = ((twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, ($context["story"] ?? null), "content", [], "any"falsefalsefalse46), "content", [], "any"falsefalsefalse46)) ? (twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, ($context["story"] ?? null), "content", [], "any"falsefalsefalse46), "content", [], "any"falsefalsefalse46)) : (twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, ($context["story"] ?? null), "content", [], "any"falsefalsefalse46), "container_151", [], "any"falsefalsefalse46)));
  174.                 // line 47
  175.                 echo "            ";
  176.                 $context["isNewsroomLayout"] = true;
  177.                 // line 48
  178.                 echo "             ";
  179.                 $context["isNewsroomArticleDetail"] = true;
  180.                 // line 49
  181.                 echo "        ";
  182.             }
  183.             // line 50
  184.             echo "
  185.         ";
  186.             // line 51
  187.             if ((twig_get_attribute($this->env$this->source, ($context["category"] ?? null), "family_id", [], "any"falsefalsefalse51) == "/newsroom/kurzmalweg/artikel")) {
  188.                 // line 52
  189.                 echo "            ";
  190.                 $context["type"] = "kurz-mal-weg";
  191.                 // line 53
  192.                 echo "            ";
  193.                 $context["microtemplate"] = "article";
  194.                 // line 54
  195.                 echo "            ";
  196.                 $context["mainContentContainer"] = ((twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, ($context["story"] ?? null), "content", [], "any"falsefalsefalse54), "content", [], "any"falsefalsefalse54)) ? (twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, ($context["story"] ?? null), "content", [], "any"falsefalsefalse54), "content", [], "any"falsefalsefalse54)) : (twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, ($context["story"] ?? null), "content", [], "any"falsefalsefalse54), "container_151", [], "any"falsefalsefalse54)));
  197.                 // line 55
  198.                 echo "            ";
  199.                 $context["isNewsroomLayout"] = true;
  200.                 // line 56
  201.                 echo "            ";
  202.                 $context["isNewsroomArticleDetail"] = true;
  203.                 // line 57
  204.                 echo "        ";
  205.             }
  206.             // line 58
  207.             echo "
  208.         ";
  209.             // line 59
  210.             if ((twig_get_attribute($this->env$this->source, ($context["category"] ?? null), "family_id", [], "any"falsefalsefalse59) == "/newsroom/reportsandstudies/article")) {
  211.                 // line 60
  212.                 echo "            ";
  213.                 $context["type"] = "reports-and-studies";
  214.                 // line 61
  215.                 echo "            ";
  216.                 $context["microtemplate"] = "article";
  217.                 // line 62
  218.                 echo "            ";
  219.                 $context["mainContentContainer"] = ((twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, ($context["story"] ?? null), "content", [], "any"falsefalsefalse62), "content", [], "any"falsefalsefalse62)) ? (twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, ($context["story"] ?? null), "content", [], "any"falsefalsefalse62), "content", [], "any"falsefalsefalse62)) : (twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, ($context["story"] ?? null), "content", [], "any"falsefalsefalse62), "container_151", [], "any"falsefalsefalse62)));
  220.                 // line 63
  221.                 echo "            ";
  222.                 $context["isNewsroomLayout"] = true;
  223.                 // line 64
  224.                 echo "            ";
  225.                 $context["isNewsroomArticleDetail"] = true;
  226.                 // line 65
  227.                 echo "        ";
  228.             }
  229.             // line 66
  230.             echo "    ";
  231.         }
  232.         // line 67
  233.         echo "
  234.     ";
  235.         // line 68
  236.         $this->loadTemplate((("microtemplates/ct_" . ($context["microtemplate"] ?? null)) . ".twig"), "wh_basic.twig"68)->display(twig_array_merge($context, ["story" => ($context["story"] ?? null), "type" => ($context["type"] ?? null), "mainContentContainer" => ($context["mainContentContainer"] ?? null), "path" => ($context["path"] ?? null)]));
  237.         
  238.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  239.         
  240.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  241.     }
  242.     public function getTemplateName()
  243.     {
  244.         return "wh_basic.twig";
  245.     }
  246.     public function isTraitable()
  247.     {
  248.         return false;
  249.     }
  250.     public function getDebugInfo()
  251.     {
  252.         return array (  250 => 68,  247 => 67,  244 => 66,  241 => 65,  238 => 64,  235 => 63,  232 => 62,  229 => 61,  226 => 60,  224 => 59,  221 => 58,  218 => 57,  215 => 56,  212 => 55,  209 => 54,  206 => 53,  203 => 52,  201 => 51,  198 => 50,  195 => 49,  192 => 48,  189 => 47,  186 => 46,  183 => 45,  180 => 44,  178 => 43,  175 => 42,  172 => 41,  169 => 40,  166 => 39,  163 => 38,  160 => 37,  157 => 36,  155 => 35,  152 => 34,  149 => 33,  146 => 32,  143 => 31,  140 => 30,  137 => 29,  134 => 28,  132 => 27,  129 => 26,  126 => 25,  123 => 24,  120 => 23,  118 => 22,  115 => 21,  112 => 20,  109 => 19,  106 => 18,  104 => 17,  101 => 16,  98 => 15,  95 => 14,  93 => 13,  90 => 12,  87 => 11,  84 => 10,  82 => 9,  79 => 8,  76 => 7,  74 => 6,  71 => 5,  68 => 4,  58 => 3,  35 => 1,);
  253.     }
  254.     public function getSourceContext()
  255.     {
  256.         return new Source("{% extends 'layout.twig' %}
  257. {% block main_content %}
  258.     {% set microtemplate = category.microtemplate %}
  259.     {% set timezone = 'Europe/Vienna' %}
  260.     {% set dateFormat = '%B %d, %Y - %R CEST' %}
  261.     {% if microtemplate == 'service' %}
  262.         {% set microtemplate = 'Service' %}
  263.     {% endif %}
  264.     {% if '/career/new' in category.family_id %}
  265.         {% set isCareerJobDetailLayout = true %}
  266.     {% endif %}
  267.     {% if isNewsroomRefreshEnabledForLanguage(category.lang) %}
  268.         {% if category.microtemplate == 'newsroom_content' or category.microtemplate == 'newsroom_refresh_category_overview' or '/promotions' in category.family_id %}
  269.             {% set isNewsroomLayout = true %}
  270.         {% endif %}
  271.         {% if category.teaserOverviewPath %}
  272.             {% set path = category.teaserOverviewPath %}
  273.             {% set isNewsroomLayout = true %}
  274.         {% endif %}
  275.         {% if category.is_dynamic and category.microtemplate == 'articledetail' %}
  276.             {% set microtemplate = 'article' %}
  277.             {% set isNewsroomLayout = true %}
  278.             {% set isNewsroomArticleDetail = true %}
  279.             {% set mainContentContainer = story.content.content ? story.content.content : story.content.container_151 %}
  280.             {% set type = category.family_id|split('/')[0] ~ '/' ~ category.family_id|split('/')[1] ~ '/' ~ category.family_id|split('/')[2] %}
  281.         {% endif %}
  282.         {% if category.family_id == '/newsroom/newsarticle' %}
  283.             {% set type = 'news' %}
  284.             {% set microtemplate = 'article' %}
  285.             {% set mainContentContainer = story.content.content ? story.content.content : story.content.container_151 %}
  286.             {% set isNewsroomLayout = true %}
  287.             {% set isNewsroomArticleDetail = true %}
  288.         {% endif %}
  289.         {% if category.family_id == '/newsroom/webinar/archive' %}
  290.             {% set type = 'webinar' %}
  291.             {% set microtemplate = 'article' %}
  292.             {% set mainContentContainer = story.content.content ? story.content.content : story.content.container_151 %}
  293.             {% set isNewsroomLayout = true %}
  294.              {% set isNewsroomArticleDetail = true %}
  295.         {% endif %}
  296.         {% if category.family_id == '/newsroom/kurzmalweg/artikel' %}
  297.             {% set type = 'kurz-mal-weg' %}
  298.             {% set microtemplate = 'article' %}
  299.             {% set mainContentContainer = story.content.content ? story.content.content : story.content.container_151 %}
  300.             {% set isNewsroomLayout = true %}
  301.             {% set isNewsroomArticleDetail = true %}
  302.         {% endif %}
  303.         {% if category.family_id == '/newsroom/reportsandstudies/article' %}
  304.             {% set type = 'reports-and-studies' %}
  305.             {% set microtemplate = 'article' %}
  306.             {% set mainContentContainer = story.content.content ? story.content.content : story.content.container_151 %}
  307.             {% set isNewsroomLayout = true %}
  308.             {% set isNewsroomArticleDetail = true %}
  309.         {% endif %}
  310.     {% endif %}
  311.     {% include \"microtemplates/ct_\" ~ microtemplate ~ '.twig' with {'story': story, type, mainContentContainer, path } %}
  312. {% endblock %}
  313. ""wh_basic.twig""/var/app/current/templates/wh_basic.twig");
  314.     }
  315. }