<?php
use Twig\Environment;
use Twig\Error\LoaderError;
use Twig\Error\RuntimeError;
use Twig\Extension\SandboxExtension;
use Twig\Markup;
use Twig\Sandbox\SecurityError;
use Twig\Sandbox\SecurityNotAllowedTagError;
use Twig\Sandbox\SecurityNotAllowedFilterError;
use Twig\Sandbox\SecurityNotAllowedFunctionError;
use Twig\Source;
use Twig\Template;
/* @NotarisFrontend/glossary/index.html.twig */
class __TwigTemplate_9290bc53ab90efa6ab8eab558a4c7a26 extends \Twig\Template
{
private $source;
private $macros = [];
public function __construct(Environment $env)
{
parent::__construct($env);
$this->source = $this->getSourceContext();
$this->blocks = [
'title' => [$this, 'block_title'],
'extralinks' => [$this, 'block_extralinks'],
'body' => [$this, 'block_body'],
'footer' => [$this, 'block_footer'],
'extrajs' => [$this, 'block_extrajs'],
];
}
protected function doGetParent(array $context)
{
// line 1
return "@NotarisFrontend/layout2017.html.twig";
}
protected function doDisplay(array $context, array $blocks = [])
{
$macros = $this->macros;
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "@NotarisFrontend/glossary/index.html.twig"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "@NotarisFrontend/glossary/index.html.twig"));
// line 3
$context["linked_url_nl"] = ((isset($context["url_nl"]) || array_key_exists("url_nl", $context) ? $context["url_nl"] : (function () { throw new RuntimeError('Variable "url_nl" does not exist.', 3, $this->source); })()) . $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("notaris_frontend_glossary.nl"));
// line 4
$context["linked_url_fr"] = ((isset($context["url_fr"]) || array_key_exists("url_fr", $context) ? $context["url_fr"] : (function () { throw new RuntimeError('Variable "url_fr" does not exist.', 4, $this->source); })()) . $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("notaris_frontend_glossary.fr"));
// line 1
$this->parent = $this->loadTemplate("@NotarisFrontend/layout2017.html.twig", "@NotarisFrontend/glossary/index.html.twig", 1);
$this->parent->display($context, array_merge($this->blocks, $blocks));
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
}
// line 6
public function block_title($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "title"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "title"));
// line 7
echo " ";
if (array_key_exists("notaryId", $context)) {
// line 8
echo " <title>";
echo twig_escape_filter($this->env, twig_replace_filter(twig_get_attribute($this->env, $this->source, (isset($context["info"]) || array_key_exists("info", $context) ? $context["info"] : (function () { throw new RuntimeError('Variable "info" does not exist.', 8, $this->source); })()), "header1", [], "any", false, false, false, 8), ["<BR />" => " "]), "html", null, true);
echo " - ";
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("p_woordenboek"), "html", null, true);
echo "</title>
";
} else {
// line 10
echo " <title>";
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("p_woordenboek"), "html", null, true);
echo " ";
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("alg_basetitle"), "html", null, true);
echo "</title>
";
}
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
}
// line 14
public function block_extralinks($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "extralinks"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "extralinks"));
// line 15
echo " ";
$context["hreflang_start_nl"] = (((isset($context["url_scheme"]) || array_key_exists("url_scheme", $context) ? $context["url_scheme"] : (function () { throw new RuntimeError('Variable "url_scheme" does not exist.', 15, $this->source); })()) . "://www.") . (isset($context["url_nl"]) || array_key_exists("url_nl", $context) ? $context["url_nl"] : (function () { throw new RuntimeError('Variable "url_nl" does not exist.', 15, $this->source); })()));
// line 16
echo " ";
$context["hreflang_start_x"] = (((isset($context["url_scheme"]) || array_key_exists("url_scheme", $context) ? $context["url_scheme"] : (function () { throw new RuntimeError('Variable "url_scheme" does not exist.', 16, $this->source); })()) . "://www.") . (isset($context["url_nl"]) || array_key_exists("url_nl", $context) ? $context["url_nl"] : (function () { throw new RuntimeError('Variable "url_nl" does not exist.', 16, $this->source); })()));
// line 17
echo " ";
$context["hreflang_start_fr"] = (((isset($context["url_scheme"]) || array_key_exists("url_scheme", $context) ? $context["url_scheme"] : (function () { throw new RuntimeError('Variable "url_scheme" does not exist.', 17, $this->source); })()) . "://www.") . (isset($context["url_fr"]) || array_key_exists("url_fr", $context) ? $context["url_fr"] : (function () { throw new RuntimeError('Variable "url_fr" does not exist.', 17, $this->source); })()));
// line 18
echo "
";
// line 19
$context["hreflang_x"] = ((isset($context["hreflang_start_x"]) || array_key_exists("hreflang_start_x", $context) ? $context["hreflang_start_x"] : (function () { throw new RuntimeError('Variable "hreflang_start_x" does not exist.', 19, $this->source); })()) . $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("notaris_frontend_glossary", ["_locale" => "nl", "selected_letter" => (isset($context["selected_letter"]) || array_key_exists("selected_letter", $context) ? $context["selected_letter"] : (function () { throw new RuntimeError('Variable "selected_letter" does not exist.', 19, $this->source); })()), "item" => (isset($context["item"]) || array_key_exists("item", $context) ? $context["item"] : (function () { throw new RuntimeError('Variable "item" does not exist.', 19, $this->source); })())]));
// line 20
echo "
";
// line 21
$context["hreflang_nl"] = ((isset($context["hreflang_start_nl"]) || array_key_exists("hreflang_start_nl", $context) ? $context["hreflang_start_nl"] : (function () { throw new RuntimeError('Variable "hreflang_start_nl" does not exist.', 21, $this->source); })()) . $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("notaris_frontend_glossary", ["_locale" => "nl", "selected_letter" => (isset($context["selected_letter"]) || array_key_exists("selected_letter", $context) ? $context["selected_letter"] : (function () { throw new RuntimeError('Variable "selected_letter" does not exist.', 21, $this->source); })()), "item" => (isset($context["item"]) || array_key_exists("item", $context) ? $context["item"] : (function () { throw new RuntimeError('Variable "item" does not exist.', 21, $this->source); })())]));
// line 22
echo " ";
$context["hreflang_fr"] = ((isset($context["hreflang_start_fr"]) || array_key_exists("hreflang_start_fr", $context) ? $context["hreflang_start_fr"] : (function () { throw new RuntimeError('Variable "hreflang_start_fr" does not exist.', 22, $this->source); })()) . $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("notaris_frontend_glossary", ["_locale" => "fr", "selected_letter" => (isset($context["selected_letter"]) || array_key_exists("selected_letter", $context) ? $context["selected_letter"] : (function () { throw new RuntimeError('Variable "selected_letter" does not exist.', 22, $this->source); })()), "item" => (isset($context["item"]) || array_key_exists("item", $context) ? $context["item"] : (function () { throw new RuntimeError('Variable "item" does not exist.', 22, $this->source); })())]));
// line 23
echo "
<link rel=\"alternate\" hreflang=\"nl-be\"
href=\"";
// line 25
echo twig_escape_filter($this->env, (isset($context["hreflang_nl"]) || array_key_exists("hreflang_nl", $context) ? $context["hreflang_nl"] : (function () { throw new RuntimeError('Variable "hreflang_nl" does not exist.', 25, $this->source); })()), "html", null, true);
echo "\" />
<link rel=\"alternate\" hreflang=\"fr-be\"
href=\"";
// line 27
echo twig_escape_filter($this->env, (isset($context["hreflang_fr"]) || array_key_exists("hreflang_fr", $context) ? $context["hreflang_fr"] : (function () { throw new RuntimeError('Variable "hreflang_fr" does not exist.', 27, $this->source); })()), "html", null, true);
echo "\" />
";
// line 29
if (array_key_exists("notaryId", $context)) {
// line 30
echo " ";
if ((twig_length_filter($this->env, (isset($context["sites"]) || array_key_exists("sites", $context) ? $context["sites"] : (function () { throw new RuntimeError('Variable "sites" does not exist.', 30, $this->source); })())) > 0)) {
// line 31
echo " ";
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable((isset($context["sites"]) || array_key_exists("sites", $context) ? $context["sites"] : (function () { throw new RuntimeError('Variable "sites" does not exist.', 31, $this->source); })()));
foreach ($context['_seq'] as $context["key"] => $context["site"]) {
// line 32
echo " ";
if (($context["key"] == "nl")) {
// line 33
echo " ";
$context["hreflang_start_nl"] = (((isset($context["scheme_url"]) || array_key_exists("scheme_url", $context) ? $context["scheme_url"] : (function () { throw new RuntimeError('Variable "scheme_url" does not exist.', 33, $this->source); })()) . "://") . $context["site"]);
// line 34
echo " ";
}
// line 35
echo " ";
if (($context["key"] == "fr")) {
// line 36
echo " ";
$context["hreflang_start_fr"] = (((isset($context["scheme_url"]) || array_key_exists("scheme_url", $context) ? $context["scheme_url"] : (function () { throw new RuntimeError('Variable "scheme_url" does not exist.', 36, $this->source); })()) . "://") . $context["site"]);
// line 37
echo " ";
}
// line 38
echo " ";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['key'], $context['site'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 39
echo " ";
$context["hreflang_start_x"] = (((isset($context["scheme_url"]) || array_key_exists("scheme_url", $context) ? $context["scheme_url"] : (function () { throw new RuntimeError('Variable "scheme_url" does not exist.', 39, $this->source); })()) . "://") . twig_get_attribute($this->env, $this->source, (isset($context["sites"]) || array_key_exists("sites", $context) ? $context["sites"] : (function () { throw new RuntimeError('Variable "sites" does not exist.', 39, $this->source); })()), twig_get_attribute($this->env, $this->source, (isset($context["notaryId"]) || array_key_exists("notaryId", $context) ? $context["notaryId"] : (function () { throw new RuntimeError('Variable "notaryId" does not exist.', 39, $this->source); })()), "locale", [], "any", false, false, false, 39), [], "array", false, false, false, 39));
// line 40
echo " ";
$context["hreflang_x"] = ((isset($context["hreflang_start_x"]) || array_key_exists("hreflang_start_x", $context) ? $context["hreflang_start_x"] : (function () { throw new RuntimeError('Variable "hreflang_start_x" does not exist.', 40, $this->source); })()) . $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("notaris_frontend_glossary", ["_locale" => twig_get_attribute($this->env, $this->source, (isset($context["notaryId"]) || array_key_exists("notaryId", $context) ? $context["notaryId"] : (function () { throw new RuntimeError('Variable "notaryId" does not exist.', 40, $this->source); })()), "locale", [], "any", false, false, false, 40), "selected_letter" => (isset($context["selected_letter"]) || array_key_exists("selected_letter", $context) ? $context["selected_letter"] : (function () { throw new RuntimeError('Variable "selected_letter" does not exist.', 40, $this->source); })()), "item" => (isset($context["item"]) || array_key_exists("item", $context) ? $context["item"] : (function () { throw new RuntimeError('Variable "item" does not exist.', 40, $this->source); })())]));
// line 41
echo " ";
}
// line 42
echo "
";
// line 43
$context["hreflang_nl"] = ((isset($context["hreflang_start_nl"]) || array_key_exists("hreflang_start_nl", $context) ? $context["hreflang_start_nl"] : (function () { throw new RuntimeError('Variable "hreflang_start_nl" does not exist.', 43, $this->source); })()) . $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("notaris_frontend_glossary", ["_locale" => "nl", "selected_letter" => (isset($context["selected_letter"]) || array_key_exists("selected_letter", $context) ? $context["selected_letter"] : (function () { throw new RuntimeError('Variable "selected_letter" does not exist.', 43, $this->source); })()), "item" => (isset($context["item"]) || array_key_exists("item", $context) ? $context["item"] : (function () { throw new RuntimeError('Variable "item" does not exist.', 43, $this->source); })())]));
// line 44
echo " ";
$context["hreflang_fr"] = ((isset($context["hreflang_start_fr"]) || array_key_exists("hreflang_start_fr", $context) ? $context["hreflang_start_fr"] : (function () { throw new RuntimeError('Variable "hreflang_start_fr" does not exist.', 44, $this->source); })()) . $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("notaris_frontend_glossary", ["_locale" => "fr", "selected_letter" => (isset($context["selected_letter"]) || array_key_exists("selected_letter", $context) ? $context["selected_letter"] : (function () { throw new RuntimeError('Variable "selected_letter" does not exist.', 44, $this->source); })()), "item" => (isset($context["item"]) || array_key_exists("item", $context) ? $context["item"] : (function () { throw new RuntimeError('Variable "item" does not exist.', 44, $this->source); })())]));
// line 45
echo "
<link rel=\"alternate\" hreflang=\"nl\"
href=\"";
// line 47
echo twig_escape_filter($this->env, (isset($context["hreflang_nl"]) || array_key_exists("hreflang_nl", $context) ? $context["hreflang_nl"] : (function () { throw new RuntimeError('Variable "hreflang_nl" does not exist.', 47, $this->source); })()), "html", null, true);
echo "\" />
<link rel=\"alternate\" hreflang=\"fr\"
href=\"";
// line 49
echo twig_escape_filter($this->env, (isset($context["hreflang_fr"]) || array_key_exists("hreflang_fr", $context) ? $context["hreflang_fr"] : (function () { throw new RuntimeError('Variable "hreflang_fr" does not exist.', 49, $this->source); })()), "html", null, true);
echo "\" />
";
}
// line 51
echo "
<link rel=\"canonical\" href=\"";
// line 52
echo twig_escape_filter($this->env, ((((isset($context["url_scheme"]) || array_key_exists("url_scheme", $context) ? $context["url_scheme"] : (function () { throw new RuntimeError('Variable "url_scheme" does not exist.', 52, $this->source); })()) . "://www.") . twig_get_attribute($this->env, $this->source, $context, ("url_" . (isset($context["locale"]) || array_key_exists("locale", $context) ? $context["locale"] : (function () { throw new RuntimeError('Variable "locale" does not exist.', 52, $this->source); })())), [], "array", false, false, false, 52)) . $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("notaris_frontend_glossary", ["_locale" => (isset($context["locale"]) || array_key_exists("locale", $context) ? $context["locale"] : (function () { throw new RuntimeError('Variable "locale" does not exist.', 52, $this->source); })()), "selected_letter" => (isset($context["selected_letter"]) || array_key_exists("selected_letter", $context) ? $context["selected_letter"] : (function () { throw new RuntimeError('Variable "selected_letter" does not exist.', 52, $this->source); })()), "item" => (isset($context["item"]) || array_key_exists("item", $context) ? $context["item"] : (function () { throw new RuntimeError('Variable "item" does not exist.', 52, $this->source); })())])), "html", null, true);
echo "\" />
<link rel=\"alternate\" hreflang=\"x-default\"
href=\"";
// line 56
echo twig_escape_filter($this->env, (isset($context["hreflang_x"]) || array_key_exists("hreflang_x", $context) ? $context["hreflang_x"] : (function () { throw new RuntimeError('Variable "hreflang_x" does not exist.', 56, $this->source); })()), "html", null, true);
echo "\" />
";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
}
// line 60
public function block_body($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "body"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "body"));
// line 61
echo "<!-- CONTENT -->
<section class=\"content u-padding-top-large\">
<div class=\"u-hidden@mobile hidesmartphone\">
";
// line 66
echo " <aside id=\"content-left\" class=\"content-left-small\">
<nav class=\"notaris-nav\">
<ul class=\"u-margin-left-none u-padding-left-none\">
<li class=\"active\"><div class=\"activestate\" style=\"height: 32px; \"> </div><a href=\"";
// line 69
echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("notaris_frontend_glossary");
echo "\" title=\"";
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("p_woordenboek"), "html", null, true);
echo "\">";
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("p_woordenboek"), "html", null, true);
echo "</a></li>
</ul>
</nav>
</aside>
</div>
";
// line 75
if ( !(isset($context["selected_letter"]) || array_key_exists("selected_letter", $context) ? $context["selected_letter"] : (function () { throw new RuntimeError('Variable "selected_letter" does not exist.', 75, $this->source); })())) {
// line 76
echo " ";
$context["selected_letter"] = "A";
// line 77
echo " ";
}
// line 78
echo "
<!-- word list -->
<div id=\"content-center\" class=\"content-center-large notaris\">
<div id=\"content-center-header\">
<article class=\"niveau3 fillcolor\">
<div class=\"article-content\">
<h1 id=\"activeListWord\" class=\"";
// line 84
echo twig_escape_filter($this->env, twig_lower_filter($this->env, (isset($context["selected_letter"]) || array_key_exists("selected_letter", $context) ? $context["selected_letter"] : (function () { throw new RuntimeError('Variable "selected_letter" does not exist.', 84, $this->source); })())), "html", null, true);
echo "\">";
echo twig_escape_filter($this->env, twig_lower_filter($this->env, (isset($context["selected_letter"]) || array_key_exists("selected_letter", $context) ? $context["selected_letter"] : (function () { throw new RuntimeError('Variable "selected_letter" does not exist.', 84, $this->source); })())), "html", null, true);
echo "</h1>
<ul class=\"alfabet\">
";
// line 86
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable((isset($context["alphas"]) || array_key_exists("alphas", $context) ? $context["alphas"] : (function () { throw new RuntimeError('Variable "alphas" does not exist.', 86, $this->source); })()));
foreach ($context['_seq'] as $context["_key"] => $context["alpha"]) {
// line 87
echo " <li>
";
// line 88
if (twig_in_filter($context["alpha"], (isset($context["letters"]) || array_key_exists("letters", $context) ? $context["letters"] : (function () { throw new RuntimeError('Variable "letters" does not exist.', 88, $this->source); })()))) {
// line 89
echo " <a href=\"";
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("notaris_frontend_glossary", ["selected_letter" => $context["alpha"]]), "html", null, true);
echo "\" title=\"";
echo twig_escape_filter($this->env, twig_lower_filter($this->env, $context["alpha"]), "html", null, true);
echo "\" ";
if (((isset($context["selected_letter"]) || array_key_exists("selected_letter", $context) ? $context["selected_letter"] : (function () { throw new RuntimeError('Variable "selected_letter" does not exist.', 89, $this->source); })()) == $context["alpha"])) {
echo "class=\"hi\"";
}
echo ">";
echo twig_escape_filter($this->env, twig_lower_filter($this->env, $context["alpha"]), "html", null, true);
echo "</a>
";
} else {
// line 91
echo " <span>";
echo twig_escape_filter($this->env, twig_lower_filter($this->env, $context["alpha"]), "html", null, true);
echo "</span>
";
}
// line 93
echo " </li>
";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['alpha'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 95
echo " </ul>
<div class=\"cleaner\"> </div>
</div>
</article>
</div>
<section id=\"info\" class=\"no-margin\">
<div id=\"info-content\" class=\"niveau3\">
";
// line 104
if ((isset($context["glossaries"]) || array_key_exists("glossaries", $context) ? $context["glossaries"] : (function () { throw new RuntimeError('Variable "glossaries" does not exist.', 104, $this->source); })())) {
// line 105
echo " ";
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable((isset($context["glossaries"]) || array_key_exists("glossaries", $context) ? $context["glossaries"] : (function () { throw new RuntimeError('Variable "glossaries" does not exist.', 105, $this->source); })()));
foreach ($context['_seq'] as $context["_key"] => $context["glossary"]) {
// line 106
echo " <article>
<a name=\"";
// line 107
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["glossary"], "slug", [], "any", false, false, false, 107), "html", null, true);
echo "\"></a>
<h2>
<a class=\"wordlistitem\" href=\"#";
// line 109
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["glossary"], "slug", [], "any", false, false, false, 109), "html", null, true);
echo "\" title=\"";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["glossary"], "term", [], "any", false, false, false, 109), "html", null, true);
echo "\">";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["glossary"], "term", [], "any", false, false, false, 109), "html", null, true);
echo "</a>
</h2>
<div class=\"inner ";
// line 111
if (((isset($context["item"]) || array_key_exists("item", $context) ? $context["item"] : (function () { throw new RuntimeError('Variable "item" does not exist.', 111, $this->source); })()) == twig_get_attribute($this->env, $this->source, $context["glossary"], "slug", [], "any", false, false, false, 111))) {
echo "innershow";
}
echo "\">
";
// line 112
echo twig_get_attribute($this->env, $this->source, $context["glossary"], "description", [], "any", false, false, false, 112);
echo "
<div class=\"c-tags u-padding-bottom-tiny js-tags\">
";
// line 114
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable(twig_get_attribute($this->env, $this->source, $context["glossary"], "tags", [], "any", false, false, false, 114));
foreach ($context['_seq'] as $context["_key"] => $context["tag"]) {
// line 115
echo " <a data-slug=\"";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["tag"], "slug", [], "any", false, false, false, 115), "html", null, true);
echo "\" data-tag-clicked=\"";
echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("notaris_frontend_tag_clicked");
echo "\" href=\"";
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("notaris_frontend_tag", ["tagSlug" => twig_get_attribute($this->env, $this->source, $context["tag"], "slug", [], "any", false, false, false, 115)]), "html", null, true);
echo "\" title=\"";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["tag"], "name", [], "any", false, false, false, 115), "html", null, true);
echo "\" class=\"c-tags__item\"><small>";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["tag"], "name", [], "any", false, false, false, 115), "html", null, true);
echo "</small></a>
";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['tag'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 117
echo " </div>
<div class=\"cleaner\"> </div>
</div>
</article>
";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['glossary'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 122
echo " ";
}
// line 123
echo " </div>
</section>
</div>
";
// line 129
$this->loadTemplate("@NotarisFrontend/navigation/mobilesubnav.html.twig", "@NotarisFrontend/glossary/index.html.twig", 129)->display(twig_array_merge($context, ["websiteSlug" => "", "isSven" => false, "isHome" => false, "subsite" => ""]));
// line 130
echo "</section>
";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
}
// line 135
public function block_footer($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "footer"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "footer"));
// line 136
echo " ";
if (((isset($context["_locale"]) || array_key_exists("_locale", $context) ? $context["_locale"] : (function () { throw new RuntimeError('Variable "_locale" does not exist.', 136, $this->source); })()) == "fr")) {
// line 137
echo " <div class=\"footer_message\">
<div class=\"container\">
</div>
</div>
<!-- sitemap -->
<div class=\"sitemap_wrapper\">
<div class=\"container\">
<div class=\"clear\"></div>
</div>
</div>
";
}
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
}
// line 154
public function block_extrajs($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "extrajs"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "extrajs"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
}
public function getTemplateName()
{
return "@NotarisFrontend/glossary/index.html.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 468 => 154, 446 => 137, 443 => 136, 433 => 135, 420 => 130, 418 => 129, 410 => 123, 407 => 122, 397 => 117, 380 => 115, 376 => 114, 371 => 112, 365 => 111, 356 => 109, 351 => 107, 348 => 106, 343 => 105, 341 => 104, 330 => 95, 323 => 93, 317 => 91, 303 => 89, 301 => 88, 298 => 87, 294 => 86, 287 => 84, 279 => 78, 276 => 77, 273 => 76, 271 => 75, 258 => 69, 253 => 66, 247 => 61, 237 => 60, 225 => 56, 218 => 52, 215 => 51, 210 => 49, 205 => 47, 201 => 45, 198 => 44, 196 => 43, 193 => 42, 190 => 41, 187 => 40, 184 => 39, 178 => 38, 175 => 37, 172 => 36, 169 => 35, 166 => 34, 163 => 33, 160 => 32, 155 => 31, 152 => 30, 150 => 29, 145 => 27, 140 => 25, 136 => 23, 133 => 22, 131 => 21, 128 => 20, 126 => 19, 123 => 18, 120 => 17, 117 => 16, 114 => 15, 104 => 14, 88 => 10, 80 => 8, 77 => 7, 67 => 6, 56 => 1, 54 => 4, 52 => 3, 39 => 1,);
}
public function getSourceContext()
{
return new Source("{% extends '@NotarisFrontend/layout2017.html.twig' %}
{% set linked_url_nl = url_nl ~ path('notaris_frontend_glossary.nl') %}
{% set linked_url_fr = url_fr ~ path('notaris_frontend_glossary.fr') %}
{% block title %}
{% if notaryId is defined %}
<title>{{ info.header1 | replace({\"<BR />\":\" \"}) }} - {{ 'p_woordenboek' | trans }}</title>
{% else %}
<title>{{ 'p_woordenboek' | trans }} {{ 'alg_basetitle' | trans }}</title>
{% endif %}
{% endblock %}
{% block extralinks %}
{% set hreflang_start_nl = url_scheme ~ '://www.' ~ url_nl %}
{% set hreflang_start_x = url_scheme ~ '://www.' ~ url_nl %}
{% set hreflang_start_fr = url_scheme ~ '://www.' ~ url_fr %}
{% set hreflang_x = hreflang_start_x ~ path('notaris_frontend_glossary', {_locale: 'nl', selected_letter: selected_letter, item: item}) %}
{% set hreflang_nl = hreflang_start_nl ~ path('notaris_frontend_glossary', {_locale: 'nl', selected_letter: selected_letter, item: item}) %}
{% set hreflang_fr = hreflang_start_fr ~ path('notaris_frontend_glossary', {_locale: 'fr', selected_letter: selected_letter, item: item}) %}
<link rel=\"alternate\" hreflang=\"nl-be\"
href=\"{{ hreflang_nl }}\" />
<link rel=\"alternate\" hreflang=\"fr-be\"
href=\"{{ hreflang_fr }}\" />
{% if notaryId is defined %}
{% if sites | length > 0 %}
{% for key, site in sites %}
{% if key == 'nl' %}
{% set hreflang_start_nl = scheme_url ~ '://' ~ site %}
{% endif %}
{% if key == 'fr' %}
{% set hreflang_start_fr = scheme_url ~ '://' ~ site %}
{% endif %}
{% endfor %}
{% set hreflang_start_x = scheme_url ~ '://' ~ sites[notaryId.locale] %}
{% set hreflang_x = hreflang_start_x ~ path('notaris_frontend_glossary', {_locale: notaryId.locale, selected_letter: selected_letter, item: item}) %}
{% endif %}
{% set hreflang_nl = hreflang_start_nl ~ path('notaris_frontend_glossary', {_locale: 'nl', selected_letter: selected_letter, item: item}) %}
{% set hreflang_fr = hreflang_start_fr ~ path('notaris_frontend_glossary', {_locale: 'fr', selected_letter: selected_letter, item: item}) %}
<link rel=\"alternate\" hreflang=\"nl\"
href=\"{{ hreflang_nl }}\" />
<link rel=\"alternate\" hreflang=\"fr\"
href=\"{{ hreflang_fr }}\" />
{% endif %}
<link rel=\"canonical\" href=\"{{ url_scheme ~ '://www.' ~ _context['url_' ~ locale] ~ path('notaris_frontend_glossary', {_locale: locale, selected_letter: selected_letter, item: item}) }}\" />
<link rel=\"alternate\" hreflang=\"x-default\"
href=\"{{ hreflang_x }}\" />
{% endblock %}
{% block body %}
<!-- CONTENT -->
<section class=\"content u-padding-top-large\">
<div class=\"u-hidden@mobile hidesmartphone\">
{#include (\"\$root/embeds/sidenav.php\");#}
<aside id=\"content-left\" class=\"content-left-small\">
<nav class=\"notaris-nav\">
<ul class=\"u-margin-left-none u-padding-left-none\">
<li class=\"active\"><div class=\"activestate\" style=\"height: 32px; \"> </div><a href=\"{{ path('notaris_frontend_glossary') }}\" title=\"{{ 'p_woordenboek' | trans }}\">{{ 'p_woordenboek' | trans }}</a></li>
</ul>
</nav>
</aside>
</div>
{% if not selected_letter %}
{% set selected_letter = 'A' %}
{% endif %}
<!-- word list -->
<div id=\"content-center\" class=\"content-center-large notaris\">
<div id=\"content-center-header\">
<article class=\"niveau3 fillcolor\">
<div class=\"article-content\">
<h1 id=\"activeListWord\" class=\"{{ selected_letter | lower }}\">{{ selected_letter | lower }}</h1>
<ul class=\"alfabet\">
{% for alpha in alphas %}
<li>
{% if alpha in letters %}
<a href=\"{{ path('notaris_frontend_glossary', {selected_letter: alpha}) }}\" title=\"{{ alpha | lower }}\" {% if selected_letter == alpha %}class=\"hi\"{% endif %}>{{ alpha | lower }}</a>
{% else %}
<span>{{ alpha | lower }}</span>
{% endif %}
</li>
{% endfor %}
</ul>
<div class=\"cleaner\"> </div>
</div>
</article>
</div>
<section id=\"info\" class=\"no-margin\">
<div id=\"info-content\" class=\"niveau3\">
{% if glossaries %}
{% for glossary in glossaries %}
<article>
<a name=\"{{ glossary.slug }}\"></a>
<h2>
<a class=\"wordlistitem\" href=\"#{{ glossary.slug }}\" title=\"{{ glossary.term }}\">{{ glossary.term }}</a>
</h2>
<div class=\"inner {% if item == glossary.slug %}innershow{% endif %}\">
{{ glossary.description | raw }}
<div class=\"c-tags u-padding-bottom-tiny js-tags\">
{% for tag in glossary.tags %}
<a data-slug=\"{{ tag.slug }}\" data-tag-clicked=\"{{ path('notaris_frontend_tag_clicked') }}\" href=\"{{ path('notaris_frontend_tag', {'tagSlug': tag.slug}) }}\" title=\"{{ tag.name }}\" class=\"c-tags__item\"><small>{{ tag.name }}</small></a>
{% endfor %}
</div>
<div class=\"cleaner\"> </div>
</div>
</article>
{% endfor %}
{% endif %}
</div>
</section>
</div>
{% include '@NotarisFrontend/navigation/mobilesubnav.html.twig' with {'websiteSlug': '', 'isSven':false, 'isHome':false, 'subsite': ''} %}
</section>
{% endblock %}
{% block footer %}
{% if _locale == \"fr\" %}
<div class=\"footer_message\">
<div class=\"container\">
</div>
</div>
<!-- sitemap -->
<div class=\"sitemap_wrapper\">
<div class=\"container\">
<div class=\"clear\"></div>
</div>
</div>
{% endif %}
{% endblock %}
{% block extrajs %}
{% endblock %}
", "@NotarisFrontend/glossary/index.html.twig", "/data/sites/web/notarisdc-projectsbe/subsites/apps/default/releases/7/src/Notaris/FrontendBundle/Resources/views/glossary/index.html.twig");
}
}