var/cache/dev/twig/e9/e9c14c86ba8522f7979aa8ff0a5632ef.php line 264

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. /* content/default.html.twig */
  14. class __TwigTemplate_1bdb4029200d498bddbacdf4e1741d77 extends 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.             'content' => [$this'block_content'],
  24.         ];
  25.         $this->sandbox $this->env->getExtension('\Twig\Extension\SandboxExtension');
  26.         $this->checkSecurity();
  27.     }
  28.     protected function doGetParent(array $context)
  29.     {
  30.         // line 1
  31.         return "layouts/layout.html.twig";
  32.     }
  33.     protected function doDisplay(array $context, array $blocks = [])
  34.     {
  35.         $macros $this->macros;
  36.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  37.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""content/default.html.twig"));
  38.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  39.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""content/default.html.twig"));
  40.         $this->parent $this->loadTemplate("layouts/layout.html.twig""content/default.html.twig"1);
  41.         $this->parent->display($contextarray_merge($this->blocks$blocks));
  42.         
  43.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  44.         
  45.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  46.     }
  47.     // line 2
  48.     public function block_content($context, array $blocks = [])
  49.     {
  50.         $macros $this->macros;
  51.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  52.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""content"));
  53.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  54.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""content"));
  55.         // line 3
  56.         echo "\t<main class=\"pullc\">
  57. \t\t<div class=\"container-xl\">
  58. \t\t\t<div class=\"row\">
  59. \t\t\t\t<div class=\"col-lg-3 leftpull section-pillar d-none d-lg-block\">
  60. \t\t\t\t\t<div class=\"section-title px-3 px-lg-3 ps-lg-0 d-flex flex-column\">
  61. \t\t\t\t\t\t<h1 class=\"mb-lg-5 pe-lg-4 mt-5 text-lg-end\">";
  62.         // line 11
  63.         echo twig_escape_filter($this->env$this->sandbox->ensureToStringAllowed((isset($context["section_title"]) || array_key_exists("section_title"$context) ? $context["section_title"] : (function () { throw new RuntimeError('Variable "section_title" does not exist.'11$this->source); })()), 11$this->source), "html"nulltrue);
  64.         echo "
  65. \t\t\t\t\t\t</h1>
  66. \t\t\t\t\t</div>
  67. \t\t\t\t\t";
  68.         // line 15
  69.         if ((( !twig_get_attribute($this->env$this->source, (isset($context["document"]) || array_key_exists("document"$context) ? $context["document"] : (function () { throw new RuntimeError('Variable "document" does not exist.'15$this->source); })()), "getProperty", [=> "hide_subnav"], "method"falsefalsetrue15) && twig_get_attribute($this->env$this->source, (isset($context["document"]) || array_key_exists("document"$context) ? $context["document"] : (function () { throw new RuntimeError('Variable "document" does not exist.'15$this->source); })()), "getProperty", [=> "subnav_doc"], "method"falsefalsetrue15)) &&  !(isset($context["editmode"]) || array_key_exists("editmode"$context) ? $context["editmode"] : (function () { throw new RuntimeError('Variable "editmode" does not exist.'15$this->source); })()))) {
  70.             // line 16
  71.             echo "\t\t\t\t\t\t";
  72.             $context["submaxDepth"] = 2;
  73.             // line 17
  74.             echo "\t\t\t\t\t\t";
  75.             if ((twig_get_attribute($this->env$this->source, (isset($context["document"]) || array_key_exists("document"$context) ? $context["document"] : (function () { throw new RuntimeError('Variable "document" does not exist.'17$this->source); })()), "getProperty", [=> "maxdepth"], "method"falsefalsetrue17) == 1)) {
  76.                 // line 18
  77.                 echo "\t\t\t\t\t\t\t";
  78.                 $context["submaxDepth"] = 1;
  79.                 // line 19
  80.                 echo "\t\t\t\t\t\t";
  81.             }
  82.             // line 20
  83.             echo "\t\t\t\t\t\t<div class=\"d-flex justify-content-end\">
  84. \t\t\t\t\t\t\t";
  85.             // line 21
  86.             $context["nav"] = $this->env->getFunction('pimcore_build_nav')->getCallable()(["active" => (isset($context["document"]) || array_key_exists("document"$context) ? $context["document"] : (function () { throw new RuntimeError('Variable "document" does not exist.'21$this->source); })()), "root" => twig_get_attribute($this->env$this->source, (isset($context["document"]) || array_key_exists("document"$context) ? $context["document"] : (function () { throw new RuntimeError('Variable "document" does not exist.'21$this->source); })()), "getProperty", [=> "subnav_doc"], "method"falsefalsetrue21)]);
  87.             // line 22
  88.             echo "\t\t\t\t\t\t\t";
  89.             echo $this->env->getFunction('pimcore_render_nav')->getCallable()($this->sandbox->ensureToStringAllowed((isset($context["nav"]) || array_key_exists("nav"$context) ? $context["nav"] : (function () { throw new RuntimeError('Variable "nav" does not exist.'22$this->source); })()), 22$this->source), "menu""renderMenu", ["maxDepth" =>             // line 23
  90. (isset($context["submaxDepth"]) || array_key_exists("submaxDepth"$context) ? $context["submaxDepth"] : (function () { throw new RuntimeError('Variable "submaxDepth" does not exist.'23$this->source); })()), "ulClass" => [=> "sidenav list-unstyled justify-content-end align-self-end"=> "list-unstyled subnav"=> "list-unstyled subnav"], "expandSiblingNodesOfActiveBranch" => true]);
  91.             // line 30
  92.             echo "
  93. \t\t\t\t\t\t</div>
  94. \t\t\t\t\t";
  95.         }
  96.         // line 35
  97.         echo "
  98. \t\t\t\t\t";
  99.         // line 36
  100.         if (twig_get_attribute($this->env$this->source, (isset($context["document"]) || array_key_exists("document"$context) ? $context["document"] : (function () { throw new RuntimeError('Variable "document" does not exist.'36$this->source); })()), "getProperty", [=> "pillar_background"], "method"falsefalsetrue36)) {
  101.             // line 37
  102.             echo "\t\t\t\t\t\t";
  103.             if (twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["document"]) || array_key_exists("document"$context) ? $context["document"] : (function () { throw new RuntimeError('Variable "document" does not exist.'37$this->source); })()), "getProperty", [=> "pillar_background"], "method"falsefalsetrue37), "getMetadata", [=> "Credit"], "method"falsefalsetrue37)) {
  104.                 // line 38
  105.                 echo "\t\t\t\t\t\t\t<div class=\"pillar-credit\">
  106. \t\t\t\t\t\t\t\tImage:
  107. \t\t\t\t\t\t\t\t";
  108.                 // line 40
  109.                 echo twig_escape_filter($this->env$this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["document"]) || array_key_exists("document"$context) ? $context["document"] : (function () { throw new RuntimeError('Variable "document" does not exist.'40$this->source); })()), "getProperty", [=> "pillar_background"], "method"falsefalsetrue40), "getMetadata", [=> "Credit"], "method"falsefalsetrue40), 40$this->source), "html"nulltrue);
  110.                 echo "
  111. \t\t\t\t\t\t\t</div>
  112. \t\t\t\t\t\t";
  113.             }
  114.             // line 43
  115.             echo "\t\t\t\t\t";
  116.         }
  117.         // line 44
  118.         echo "\t\t\t\t</div>
  119. \t\t\t\t<div class=\"col-lg-9 ps-lg-5 pe-lg-5 pb-4\">
  120. \t\t\t\t\t";
  121.         // line 47
  122.         if ((twig_get_attribute($this->env$this->source, (isset($context["document"]) || array_key_exists("document"$context) ? $context["document"] : (function () { throw new RuntimeError('Variable "document" does not exist.'47$this->source); })()), "path", [], "any"falsefalsetrue47) == "/Development-Impact/Active-Projects/")) {
  123.             // line 48
  124.             echo "\t\t\t\t\t\t<div class=\"breadcrumbs mt-3\">
  125. \t\t\t\t\t\t\t<a href=\"/\">";
  126.             // line 49
  127.             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Home"), "html"nulltrue);
  128.             echo "</a>
  129. \t\t\t\t\t\t\t/
  130. \t\t\t\t\t\t\t<a href=\"/Development-Impact\">Development &amp; Impact</a>
  131. \t\t\t\t\t\t\t/
  132. \t\t\t\t\t\t\t";
  133.             // line 53
  134.             echo twig_escape_filter($this->env$this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env$this->source, (isset($context["document"]) || array_key_exists("document"$context) ? $context["document"] : (function () { throw new RuntimeError('Variable "document" does not exist.'53$this->source); })()), "title", [], "any"falsefalsetrue53), 53$this->source), "html"nulltrue);
  135.             echo "
  136. \t\t\t\t\t\t</div>
  137. \t\t\t\t\t";
  138.         } else {
  139.             // line 57
  140.             echo "
  141. \t\t\t\t\t\t";
  142.             // line 59
  143.             if ((isset($context["showBreadcrumbs"]) || array_key_exists("showBreadcrumbs"$context) ? $context["showBreadcrumbs"] : (function () { throw new RuntimeError('Variable "showBreadcrumbs" does not exist.'59$this->source); })())) {
  144.                 // line 60
  145.                 echo "\t\t\t\t\t\t\t";
  146.                 $context["mainNavStartNode"] = twig_get_attribute($this->env$this->source, (isset($context["document"]) || array_key_exists("document"$context) ? $context["document"] : (function () { throw new RuntimeError('Variable "document" does not exist.'60$this->source); })()), "getProperty", [=> "navigation_root"], "method"falsefalsetrue60);
  147.                 // line 61
  148.                 echo "\t\t\t\t\t\t\t";
  149.                 if (twig_test_empty((isset($context["mainNavStartNode"]) || array_key_exists("mainNavStartNode"$context) ? $context["mainNavStartNode"] : (function () { throw new RuntimeError('Variable "mainNavStartNode" does not exist.'61$this->source); })()))) {
  150.                     // line 62
  151.                     echo "\t\t\t\t\t\t\t\t";
  152.                     $context["mainNavStartNode"] = Pimcore\Model\Document::getById(1);
  153.                     // line 63
  154.                     echo "\t\t\t\t\t\t\t";
  155.                 }
  156.                 // line 64
  157.                 echo "
  158. \t\t\t\t\t\t\t";
  159.                 // line 65
  160.                 $context["breadcrumbs"] = $this->env->getFunction('pimcore_build_nav')->getCallable()(["active" =>                 // line 66
  161. (isset($context["document"]) || array_key_exists("document"$context) ? $context["document"] : (function () { throw new RuntimeError('Variable "document" does not exist.'66$this->source); })()), "root" =>                 // line 67
  162. (isset($context["mainNavStartNode"]) || array_key_exists("mainNavStartNode"$context) ? $context["mainNavStartNode"] : (function () { throw new RuntimeError('Variable "mainNavStartNode" does not exist.'67$this->source); })())]);
  163.                 // line 69
  164.                 echo "\t\t\t\t\t\t\t";
  165.                 $this->extensions['App\Twig\Extension\NavigationExtension']->enrichBreadcrumbs((isset($context["breadcrumbs"]) || array_key_exists("breadcrumbs"$context) ? $context["breadcrumbs"] : (function () { throw new RuntimeError('Variable "breadcrumbs" does not exist.'69$this->source); })()));
  166.                 // line 70
  167.                 echo "\t\t\t\t\t\t\t";
  168.                 twig_get_attribute($this->env$this->source$this->env->getFunction('pimcore_nav_renderer')->getCallable()("breadcrumbs"), "setMinDepth", [=> null], "method"falsefalsetrue70);
  169.                 // line 71
  170.                 echo "
  171. \t\t\t\t\t\t\t<div class=\"breadcrumbs mt-3\">
  172. \t\t\t\t\t\t\t\t<a href=\"/\">";
  173.                 // line 73
  174.                 echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Home"), "html"nulltrue);
  175.                 echo "</a>
  176. \t\t\t\t\t\t\t\t/
  177. \t\t\t\t\t\t\t\t";
  178.                 // line 75
  179.                 if ($this->env->getFunction('pimcore_render_nav')->getCallable()((isset($context["breadcrumbs"]) || array_key_exists("breadcrumbs"$context) ? $context["breadcrumbs"] : (function () { throw new RuntimeError('Variable "breadcrumbs" does not exist.'75$this->source); })()), "breadcrumbs")) {
  180.                     // line 76
  181.                     echo "\t\t\t\t\t\t\t\t\t";
  182.                     echo twig_replace_filter($this->env->getFunction('pimcore_render_nav')->getCallable()($this->sandbox->ensureToStringAllowed((isset($context["breadcrumbs"]) || array_key_exists("breadcrumbs"$context) ? $context["breadcrumbs"] : (function () { throw new RuntimeError('Variable "breadcrumbs" does not exist.'76$this->source); })()), 76$this->source), "breadcrumbs"), ["&gt;" => " / "]);
  183.                     echo "
  184. \t\t\t\t\t\t\t\t";
  185.                 } else {
  186.                     // line 78
  187.                     echo "\t\t\t\t\t\t\t\t\t";
  188.                     echo twig_escape_filter($this->env$this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env$this->source, (isset($context["document"]) || array_key_exists("document"$context) ? $context["document"] : (function () { throw new RuntimeError('Variable "document" does not exist.'78$this->source); })()), "title", [], "any"falsefalsetrue78), 78$this->source), "html"nulltrue);
  189.                     echo "
  190. \t\t\t\t\t\t\t\t";
  191.                 }
  192.                 // line 80
  193.                 echo "\t\t\t\t\t\t\t</div>
  194. \t\t\t\t\t\t";
  195.             }
  196.             // line 83
  197.             echo "\t\t\t\t\t";
  198.         }
  199.         // line 84
  200.         echo "
  201. \t\t\t\t\t<h1 class=\"my-3\">";
  202.         // line 85
  203.         echo $this->extensions['Pimcore\Twig\Extension\DocumentEditableExtension']->renderEditable($context"input""headline", ["placeholder" => "Headline""width" => 600]);
  204.         echo "</h1>
  205. \t\t\t\t\t";
  206.         // line 86
  207.         if ((array_key_exists("document"$context) && ((twig_get_attribute($this->env$this->source, (isset($context["document"]) || array_key_exists("document"$context) ? $context["document"] : (function () { throw new RuntimeError('Variable "document" does not exist.'86$this->source); })()), "id", [], "any"falsefalsetrue86) == 1) || (twig_get_attribute($this->env$this->source, (isset($context["document"]) || array_key_exists("document"$context) ? $context["document"] : (function () { throw new RuntimeError('Variable "document" does not exist.'86$this->source); })()), "id", [], "any"falsefalsetrue86) == 50)))) {
  208.             // line 87
  209.             echo "
  210. \t\t\t\t\t\t<button onclick=\"ml_account('webforms', '5494673', 'r7a5s3', 'show')\" class=\"subscribe-wt d-block mt-auto\">Subscribe to the CESSDA newsletter
  211. \t\t\t\t\t\t\t<svg xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"currentColor\" viewbox=\"0 0 16 16\">
  212. \t\t\t\t\t\t\t\t<path d=\"M8 0a8 8 0 1 1 0 16A8 8 0 0 1 8 0zM4.5 7.5a.5.5 0 0 0 0 1h5.793l-2.147 2.146a.5.5 0 0 0 .708.708l3-3a.5.5 0 0 0 0-.708l-3-3a.5.5 0 1 0-.708.708L10.293 7.5H4.5z\"/>
  213. \t\t\t\t\t\t\t</svg>
  214. \t\t\t\t\t\t</button>
  215. \t\t\t\t\t";
  216.         }
  217.         // line 95
  218.         echo "\t\t\t\t\t<div class=\"content-body\">
  219. \t\t\t\t\t\t";
  220.         // line 96
  221.         $context['_parent'] = $context;
  222.         $context['_seq'] = twig_ensure_traversable($this->extensions['Pimcore\Twig\Extension\DocumentEditableExtension']->getBlockIterator($this->extensions['Pimcore\Twig\Extension\DocumentEditableExtension']->renderEditable($context"block""contentblock")));
  223.         foreach ($context['_seq'] as $context["_key"] => $context["i"]) {
  224.             // line 97
  225.             echo "
  226. \t\t\t\t\t\t\t";
  227.             // line 98
  228.             echo $this->extensions['Pimcore\Twig\Extension\DocumentEditableExtension']->renderEditable($context"wysiwyg""content");
  229.             echo "
  230. \t\t\t\t\t\t";
  231.         }
  232.         $_parent $context['_parent'];
  233.         unset($context['_seq'], $context['_iterated'], $context['_key'], $context['i'], $context['_parent'], $context['loop']);
  234.         $context array_intersect_key($context$_parent) + $_parent;
  235.         // line 100
  236.         echo "
  237. \t\t\t\t\t\t";
  238.         // line 101
  239.         echo $this->extensions['Pimcore\Twig\Extension\DocumentEditableExtension']->renderEditable($context"areablock""main_content", ["allowed" => [=> "video"=> "wysiwyg"=> "resource-collection"=> "map"=> "staff"=> "text-accordion"=> "organigramme"], "sorting" => [=> "wysiwyg"=> "text-accordion"=> "video"=> "resource-collection"=> "map"=> "staff"=> "organigramme"]]);
  240.         // line 104
  241.         echo "
  242. \t\t\t\t\t\t";
  243.         // line 106
  244.         if (twig_length_filter($this->env, (isset($context["newslist"]) || array_key_exists("newslist"$context) ? $context["newslist"] : (function () { throw new RuntimeError('Variable "newslist" does not exist.'106$this->source); })()))) {
  245.             // line 107
  246.             echo "\t\t\t\t\t\t\t<div class=\"moreinfo\">
  247. \t\t\t\t\t\t\t\t<h3>Related news</h3>
  248. \t\t\t\t\t\t\t\t<ul>
  249. \t\t\t\t\t\t\t\t\t";
  250.             // line 113
  251.             $context['_parent'] = $context;
  252.             $context['_seq'] = twig_ensure_traversable((isset($context["newslist"]) || array_key_exists("newslist"$context) ? $context["newslist"] : (function () { throw new RuntimeError('Variable "newslist" does not exist.'113$this->source); })()));
  253.             foreach ($context['_seq'] as $context["_key"] => $context["news"]) {
  254.                 // line 114
  255.                 echo "\t\t\t\t\t\t\t\t\t\t";
  256.                 $context["detailLink"] = $this->extensions['App\Twig\Extension\NewsExtension']->generateLink($this->sandbox->ensureToStringAllowed($context["news"], 114$this->source));
  257.                 // line 115
  258.                 echo "
  259. \t\t\t\t\t\t\t\t\t\t<li>
  260. \t\t\t\t\t\t\t\t\t\t\t<a href=\"";
  261.                 // line 117
  262.                 echo twig_escape_filter($this->env$this->sandbox->ensureToStringAllowed((isset($context["detailLink"]) || array_key_exists("detailLink"$context) ? $context["detailLink"] : (function () { throw new RuntimeError('Variable "detailLink" does not exist.'117$this->source); })()), 117$this->source), "html"nulltrue);
  263.                 echo "\">";
  264.                 echo twig_escape_filter($this->env$this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env$this->source$context["news"], "title", [], "any"falsefalsetrue117), 117$this->source), "html"nulltrue);
  265.                 echo "</a>
  266. \t\t\t\t\t\t\t\t\t\t</li>
  267. \t\t\t\t\t\t\t\t\t";
  268.             }
  269.             $_parent $context['_parent'];
  270.             unset($context['_seq'], $context['_iterated'], $context['_key'], $context['news'], $context['_parent'], $context['loop']);
  271.             $context array_intersect_key($context$_parent) + $_parent;
  272.             // line 122
  273.             echo "\t\t\t\t\t\t\t\t</ul>
  274. \t\t\t\t\t\t\t</div>
  275. \t\t\t\t\t\t";
  276.         }
  277.         // line 125
  278.         echo "\t\t\t\t\t</div>
  279. \t\t\t\t\t";
  280.         // line 127
  281.         if ((( !twig_get_attribute($this->env$this->source, (isset($context["document"]) || array_key_exists("document"$context) ? $context["document"] : (function () { throw new RuntimeError('Variable "document" does not exist.'127$this->source); })()), "getProperty", [=> "hide_subnav"], "method"falsefalsetrue127) && twig_get_attribute($this->env$this->source, (isset($context["document"]) || array_key_exists("document"$context) ? $context["document"] : (function () { throw new RuntimeError('Variable "document" does not exist.'127$this->source); })()), "getProperty", [=> "subnav_doc"], "method"falsefalsetrue127)) &&  !(isset($context["editmode"]) || array_key_exists("editmode"$context) ? $context["editmode"] : (function () { throw new RuntimeError('Variable "editmode" does not exist.'127$this->source); })()))) {
  282.             // line 128
  283.             echo "
  284. \t\t\t\t\t\t<div class=\"d-block d-lg-none mt-3\">
  285. \t\t\t\t\t\t\t<hr>
  286. \t\t\t\t\t\t\t<h3>";
  287.             // line 132
  288.             echo twig_escape_filter($this->env$this->sandbox->ensureToStringAllowed((isset($context["section_title"]) || array_key_exists("section_title"$context) ? $context["section_title"] : (function () { throw new RuntimeError('Variable "section_title" does not exist.'132$this->source); })()), 132$this->source), "html"nulltrue);
  289.             echo "</h3>
  290. \t\t\t\t\t\t\t";
  291.             // line 135
  292.             echo twig_replace_filter($this->env->getFunction('pimcore_render_nav')->getCallable()($this->sandbox->ensureToStringAllowed((isset($context["nav"]) || array_key_exists("nav"$context) ? $context["nav"] : (function () { throw new RuntimeError('Variable "nav" does not exist.'135$this->source); })()), 135$this->source), "menu""renderMenu", ["maxDepth" => 2"ulClass" => [=> "bottomnav list-unstyled"=> "list-unstyled subnav"=> "list-unstyled subnav"], "expandSiblingNodesOfActiveBranch" => true]), ["pimcore-navigation-renderer-menu" => "mobilemenu"]);
  293.             // line 144
  294.             echo "
  295. \t\t\t\t\t\t</div>
  296. \t\t\t\t\t";
  297.         }
  298.         // line 149
  299.         echo "
  300. \t\t\t\t</div>
  301. \t\t\t</div>
  302. \t\t</div>
  303. \t</main>
  304. ";
  305.         
  306.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  307.         
  308.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  309.     }
  310.     public function getTemplateName()
  311.     {
  312.         return "content/default.html.twig";
  313.     }
  314.     public function isTraitable()
  315.     {
  316.         return false;
  317.     }
  318.     public function getDebugInfo()
  319.     {
  320.         return array (  336 => 149,  329 => 144,  327 => 135,  321 => 132,  315 => 128,  313 => 127,  309 => 125,  304 => 122,  291 => 117,  287 => 115,  284 => 114,  280 => 113,  272 => 107,  270 => 106,  266 => 104,  264 => 101,  261 => 100,  253 => 98,  250 => 97,  246 => 96,  243 => 95,  233 => 87,  231 => 86,  227 => 85,  224 => 84,  221 => 83,  216 => 80,  210 => 78,  204 => 76,  202 => 75,  197 => 73,  193 => 71,  190 => 70,  187 => 69,  185 => 67,  184 => 66,  183 => 65,  180 => 64,  177 => 63,  174 => 62,  171 => 61,  168 => 60,  166 => 59,  162 => 57,  155 => 53,  148 => 49,  145 => 48,  143 => 47,  138 => 44,  135 => 43,  129 => 40,  125 => 38,  122 => 37,  120 => 36,  117 => 35,  110 => 30,  108 => 23,  106 => 22,  104 => 21,  101 => 20,  98 => 19,  95 => 18,  92 => 17,  89 => 16,  87 => 15,  80 => 11,  70 => 3,  60 => 2,  37 => 1,);
  321.     }
  322.     public function getSourceContext()
  323.     {
  324.         return new Source("{% extends 'layouts/layout.html.twig' %}
  325. {% block content %}
  326. \t<main class=\"pullc\">
  327. \t\t<div class=\"container-xl\">
  328. \t\t\t<div class=\"row\">
  329. \t\t\t\t<div class=\"col-lg-3 leftpull section-pillar d-none d-lg-block\">
  330. \t\t\t\t\t<div class=\"section-title px-3 px-lg-3 ps-lg-0 d-flex flex-column\">
  331. \t\t\t\t\t\t<h1 class=\"mb-lg-5 pe-lg-4 mt-5 text-lg-end\">{{ section_title }}
  332. \t\t\t\t\t\t</h1>
  333. \t\t\t\t\t</div>
  334. \t\t\t\t\t{% if not document.getProperty('hide_subnav') and document.getProperty('subnav_doc') and not editmode %}
  335. \t\t\t\t\t\t{% set submaxDepth = 2 %}
  336. \t\t\t\t\t\t{% if document.getProperty('maxdepth') == 1 %}
  337. \t\t\t\t\t\t\t{% set submaxDepth = 1 %}
  338. \t\t\t\t\t\t{% endif %}
  339. \t\t\t\t\t\t<div class=\"d-flex justify-content-end\">
  340. \t\t\t\t\t\t\t{% set nav = pimcore_build_nav({active: document, root: document.getProperty('subnav_doc')}) %}
  341. \t\t\t\t\t\t\t{{ pimcore_render_nav(nav, 'menu', 'renderMenu', {
  342.        \t\t\t\t\t     maxDepth: submaxDepth,
  343.           \t\t\t\t\t  ulClass: {
  344.         \t\t\t\t\t        0: 'sidenav list-unstyled justify-content-end align-self-end',
  345. \t\t\t\t\t\t\t\t\t 1: 'list-unstyled subnav',
  346. \t\t\t\t\t\t\t\t\t 2: 'list-unstyled subnav',
  347.      \t\t\t\t\t       },
  348. \t\t\t\t\t\t\t\texpandSiblingNodesOfActiveBranch: true
  349.    \t\t\t\t\t     }) }}
  350. \t\t\t\t\t\t</div>
  351. \t\t\t\t\t{% endif %}
  352. \t\t\t\t\t{% if document.getProperty('pillar_background') %}
  353. \t\t\t\t\t\t{% if document.getProperty('pillar_background').getMetadata('Credit') %}
  354. \t\t\t\t\t\t\t<div class=\"pillar-credit\">
  355. \t\t\t\t\t\t\t\tImage:
  356. \t\t\t\t\t\t\t\t{{ document.getProperty('pillar_background').getMetadata('Credit') }}
  357. \t\t\t\t\t\t\t</div>
  358. \t\t\t\t\t\t{% endif %}
  359. \t\t\t\t\t{% endif %}
  360. \t\t\t\t</div>
  361. \t\t\t\t<div class=\"col-lg-9 ps-lg-5 pe-lg-5 pb-4\">
  362. \t\t\t\t\t{% if document.path == \"/Development-Impact/Active-Projects/\" %}
  363. \t\t\t\t\t\t<div class=\"breadcrumbs mt-3\">
  364. \t\t\t\t\t\t\t<a href=\"/\">{{ \"Home\"|trans }}</a>
  365. \t\t\t\t\t\t\t/
  366. \t\t\t\t\t\t\t<a href=\"/Development-Impact\">Development &amp; Impact</a>
  367. \t\t\t\t\t\t\t/
  368. \t\t\t\t\t\t\t{{ document.title }}
  369. \t\t\t\t\t\t</div>
  370. \t\t\t\t\t{% else %}
  371. \t\t\t\t\t\t{% if showBreadcrumbs %}
  372. \t\t\t\t\t\t\t{% set mainNavStartNode = document.getProperty('navigation_root') %}
  373. \t\t\t\t\t\t\t{% if mainNavStartNode is empty %}
  374. \t\t\t\t\t\t\t\t{% set mainNavStartNode = pimcore_document(1) %}
  375. \t\t\t\t\t\t\t{% endif %}
  376. \t\t\t\t\t\t\t{% set breadcrumbs = pimcore_build_nav({
  377.                                     active: document,
  378.                                     root: mainNavStartNode
  379.                                 }) %}
  380. \t\t\t\t\t\t\t{% do app_navigation_enrich_breadcrumbs(breadcrumbs) %}
  381. \t\t\t\t\t\t\t{% do pimcore_nav_renderer('breadcrumbs').setMinDepth(null) %}
  382. \t\t\t\t\t\t\t<div class=\"breadcrumbs mt-3\">
  383. \t\t\t\t\t\t\t\t<a href=\"/\">{{ \"Home\"|trans }}</a>
  384. \t\t\t\t\t\t\t\t/
  385. \t\t\t\t\t\t\t\t{% if pimcore_render_nav(breadcrumbs, 'breadcrumbs') %}
  386. \t\t\t\t\t\t\t\t\t{{ pimcore_render_nav(breadcrumbs, 'breadcrumbs')|replace({'&gt;':' / '})|raw }}
  387. \t\t\t\t\t\t\t\t{% else %}
  388. \t\t\t\t\t\t\t\t\t{{ document.title }}
  389. \t\t\t\t\t\t\t\t{% endif %}
  390. \t\t\t\t\t\t\t</div>
  391. \t\t\t\t\t\t{% endif %}
  392. \t\t\t\t\t{% endif %}
  393. \t\t\t\t\t<h1 class=\"my-3\">{{ pimcore_input(\"headline\", {\"placeholder\":\"Headline\", \"width\": 600}) }}</h1>
  394. \t\t\t\t\t{% if document is defined and (document.id == 1 or document.id == 50) %}
  395. \t\t\t\t\t\t<button onclick=\"ml_account('webforms', '5494673', 'r7a5s3', 'show')\" class=\"subscribe-wt d-block mt-auto\">Subscribe to the CESSDA newsletter
  396. \t\t\t\t\t\t\t<svg xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"currentColor\" viewbox=\"0 0 16 16\">
  397. \t\t\t\t\t\t\t\t<path d=\"M8 0a8 8 0 1 1 0 16A8 8 0 0 1 8 0zM4.5 7.5a.5.5 0 0 0 0 1h5.793l-2.147 2.146a.5.5 0 0 0 .708.708l3-3a.5.5 0 0 0 0-.708l-3-3a.5.5 0 1 0-.708.708L10.293 7.5H4.5z\"/>
  398. \t\t\t\t\t\t\t</svg>
  399. \t\t\t\t\t\t</button>
  400. \t\t\t\t\t{% endif %}
  401. \t\t\t\t\t<div class=\"content-body\">
  402. \t\t\t\t\t\t{% for i in pimcore_iterate_block(pimcore_block('contentblock')) %}
  403. \t\t\t\t\t\t\t{{ pimcore_wysiwyg('content') }}
  404. \t\t\t\t\t\t{% endfor %}
  405. \t\t\t\t\t\t{{ pimcore_areablock(\"main_content\", {
  406.                            \"allowed\": [\"video\",\"wysiwyg\",\"resource-collection\", \"map\", \"staff\", \"text-accordion\",\"organigramme\"],
  407.                               \"sorting\": [\"wysiwyg\",\"text-accordion\",\"video\",\"resource-collection\",\"map\", \"staff\",\"organigramme\"],
  408.                             }) }}
  409. \t\t\t\t\t\t{% if newslist|length %}
  410. \t\t\t\t\t\t\t<div class=\"moreinfo\">
  411. \t\t\t\t\t\t\t\t<h3>Related news</h3>
  412. \t\t\t\t\t\t\t\t<ul>
  413. \t\t\t\t\t\t\t\t\t{% for news in newslist %}
  414. \t\t\t\t\t\t\t\t\t\t{% set detailLink = app_news_detaillink(news) %}
  415. \t\t\t\t\t\t\t\t\t\t<li>
  416. \t\t\t\t\t\t\t\t\t\t\t<a href=\"{{ detailLink }}\">{{news.title}}</a>
  417. \t\t\t\t\t\t\t\t\t\t</li>
  418. \t\t\t\t\t\t\t\t\t{% endfor %}
  419. \t\t\t\t\t\t\t\t</ul>
  420. \t\t\t\t\t\t\t</div>
  421. \t\t\t\t\t\t{% endif %}
  422. \t\t\t\t\t</div>
  423. \t\t\t\t\t{% if not document.getProperty('hide_subnav') and document.getProperty('subnav_doc') and not editmode %}
  424. \t\t\t\t\t\t<div class=\"d-block d-lg-none mt-3\">
  425. \t\t\t\t\t\t\t<hr>
  426. \t\t\t\t\t\t\t<h3>{{ section_title }}</h3>
  427. \t\t\t\t\t\t\t{{ pimcore_render_nav(nav, 'menu', 'renderMenu', {
  428.             maxDepth: 2,
  429.             ulClass: {
  430.                 0: 'bottomnav list-unstyled',
  431. \t\t\t\t 1: 'list-unstyled subnav',
  432. \t\t\t\t 2: 'list-unstyled subnav',
  433.             },
  434. \t\t\texpandSiblingNodesOfActiveBranch: true
  435.         }) | replace({'pimcore-navigation-renderer-menu': \"mobilemenu\"}) | raw}}
  436. \t\t\t\t\t\t</div>
  437. \t\t\t\t\t{% endif %}
  438. \t\t\t\t</div>
  439. \t\t\t</div>
  440. \t\t</div>
  441. \t</main>
  442. {% endblock %}
  443. ""content/default.html.twig""/sites/pimcore/cessda-dev/templates/content/default.html.twig");
  444.     }
  445.     
  446.     public function checkSecurity()
  447.     {
  448.         static $tags = array("if" => 15"set" => 16"do" => 69"for" => 96);
  449.         static $filters = array("escape" => 11"trans" => 49"raw" => 76"replace" => 76"length" => 106);
  450.         static $functions = array("pimcore_build_nav" => 21"pimcore_render_nav" => 22"pimcore_document" => 62"app_navigation_enrich_breadcrumbs" => 69"pimcore_nav_renderer" => 70"pimcore_input" => 85"pimcore_iterate_block" => 96"pimcore_block" => 96"pimcore_wysiwyg" => 98"pimcore_areablock" => 101"app_news_detaillink" => 114);
  451.         try {
  452.             $this->sandbox->checkSecurity(
  453.                 ['if''set''do''for'],
  454.                 ['escape''trans''raw''replace''length'],
  455.                 ['pimcore_build_nav''pimcore_render_nav''pimcore_document''app_navigation_enrich_breadcrumbs''pimcore_nav_renderer''pimcore_input''pimcore_iterate_block''pimcore_block''pimcore_wysiwyg''pimcore_areablock''app_news_detaillink']
  456.             );
  457.         } catch (SecurityError $e) {
  458.             $e->setSourceContext($this->source);
  459.             if ($e instanceof SecurityNotAllowedTagError && isset($tags[$e->getTagName()])) {
  460.                 $e->setTemplateLine($tags[$e->getTagName()]);
  461.             } elseif ($e instanceof SecurityNotAllowedFilterError && isset($filters[$e->getFilterName()])) {
  462.                 $e->setTemplateLine($filters[$e->getFilterName()]);
  463.             } elseif ($e instanceof SecurityNotAllowedFunctionError && isset($functions[$e->getFunctionName()])) {
  464.                 $e->setTemplateLine($functions[$e->getFunctionName()]);
  465.             }
  466.             throw $e;
  467.         }
  468.     }
  469. }