<?php
use Twig\Environment;
use Twig\Error\LoaderError;
use Twig\Error\RuntimeError;
use Twig\Extension\CoreExtension;
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;
use Twig\TemplateWrapper;
/* Pages\FormationContinuePage\pagetemplate.html.twig */
class __TwigTemplate_59d3d0abf26f6a7541467322ed761967 extends Template
{
private Source $source;
/**
* @var array<string, Template>
*/
private array $macros = [];
public function __construct(Environment $env)
{
parent::__construct($env);
$this->source = $this->getSourceContext();
$this->parent = false;
$this->blocks = [
];
}
protected function doDisplay(array $context, array $blocks = []): iterable
{
$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", "Pages\\FormationContinuePage\\pagetemplate.html.twig"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "Pages\\FormationContinuePage\\pagetemplate.html.twig"));
// line 1
$context["nodeInternalNameParent"] = CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["nodemenu"]) || array_key_exists("nodemenu", $context) ? $context["nodemenu"] : (function () { throw new RuntimeError('Variable "nodemenu" does not exist.', 1, $this->source); })()), "current", [], "any", false, false, false, 1), "node", [], "any", false, false, false, 1), "parent", [], "any", false, false, false, 1), "internalName", [], "any", false, false, false, 1);
// line 2
$context["titlePageNodeParent"] = CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["nodemenu"]) || array_key_exists("nodemenu", $context) ? $context["nodemenu"] : (function () { throw new RuntimeError('Variable "nodemenu" does not exist.', 2, $this->source); })()), "getNodeByInternalName", [(isset($context["nodeInternalNameParent"]) || array_key_exists("nodeInternalNameParent", $context) ? $context["nodeInternalNameParent"] : (function () { throw new RuntimeError('Variable "nodeInternalNameParent" does not exist.', 2, $this->source); })()), null, true], "method", false, false, false, 2), "title", [], "any", false, false, false, 2);
// line 3
yield "<div class=\"hi-jumbo\">
<h1 class=\"jumbo-title\">Nos formations</h1>
</div>
";
// line 7
if ( !(null === CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 7, $this->source); })()), "request", [], "any", false, false, false, 7), "query", [], "any", false, false, false, 7), "get", ["formation"], "method", false, false, false, 7))) {
// line 8
yield " ";
yield from $this->loadTemplate("Pages/FormationContinuePage/_is_select_formation.html.twig", "Pages\\FormationContinuePage\\pagetemplate.html.twig", 8)->unwrap()->yield($context);
} else {
// line 10
yield " ";
yield from $this->loadTemplate("Pages/FormationContinuePage/_not_select_formation.html.twig", "Pages\\FormationContinuePage\\pagetemplate.html.twig", 10)->unwrap()->yield($context);
}
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
yield from [];
}
/**
* @codeCoverageIgnore
*/
public function getTemplateName(): string
{
return "Pages\\FormationContinuePage\\pagetemplate.html.twig";
}
/**
* @codeCoverageIgnore
*/
public function isTraitable(): bool
{
return false;
}
/**
* @codeCoverageIgnore
*/
public function getDebugInfo(): array
{
return array ( 64 => 10, 60 => 8, 58 => 7, 52 => 3, 50 => 2, 48 => 1,);
}
public function getSourceContext(): Source
{
return new Source("{% set nodeInternalNameParent = nodemenu.current.node.parent.internalName %}
{% set titlePageNodeParent = nodemenu.getNodeByInternalName(nodeInternalNameParent, null, true).title %}
<div class=\"hi-jumbo\">
<h1 class=\"jumbo-title\">Nos formations</h1>
</div>
{% if app.request.query.get('formation') is not null %}
{% include 'Pages/FormationContinuePage/_is_select_formation.html.twig' %}
{% else %}
{% include 'Pages/FormationContinuePage/_not_select_formation.html.twig' %}
{% endif %}
", "Pages\\FormationContinuePage\\pagetemplate.html.twig", "/home/u363484990/domains/iut-udc.online/public_html/templates/Pages/FormationContinuePage/pagetemplate.html.twig");
}
}