var/cache/dev/twig/65/655fc899566e0ea9e35ee3f647a04079.php line 61

Open in your IDE?
  1. <?php
  2. use Twig\Environment;
  3. use Twig\Error\LoaderError;
  4. use Twig\Error\RuntimeError;
  5. use Twig\Extension\CoreExtension;
  6. use Twig\Extension\SandboxExtension;
  7. use Twig\Markup;
  8. use Twig\Sandbox\SecurityError;
  9. use Twig\Sandbox\SecurityNotAllowedTagError;
  10. use Twig\Sandbox\SecurityNotAllowedFilterError;
  11. use Twig\Sandbox\SecurityNotAllowedFunctionError;
  12. use Twig\Source;
  13. use Twig\Template;
  14. use Twig\TemplateWrapper;
  15. /* Pages\FormationContinuePage\pagetemplate.html.twig */
  16. class __TwigTemplate_59d3d0abf26f6a7541467322ed761967 extends Template
  17. {
  18.     private Source $source;
  19.     /**
  20.      * @var array<string, Template>
  21.      */
  22.     private array $macros = [];
  23.     public function __construct(Environment $env)
  24.     {
  25.         parent::__construct($env);
  26.         $this->source $this->getSourceContext();
  27.         $this->parent false;
  28.         $this->blocks = [
  29.         ];
  30.     }
  31.     protected function doDisplay(array $context, array $blocks = []): iterable
  32.     {
  33.         $macros $this->macros;
  34.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  35.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""Pages\\FormationContinuePage\\pagetemplate.html.twig"));
  36.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  37.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""Pages\\FormationContinuePage\\pagetemplate.html.twig"));
  38.         // line 1
  39.         $context["nodeInternalNameParent"] = CoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->sourceCoreExtension::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"falsefalsefalse1), "node", [], "any"falsefalsefalse1), "parent", [], "any"falsefalsefalse1), "internalName", [], "any"falsefalsefalse1);
  40.         // line 2
  41.         $context["titlePageNodeParent"] = CoreExtension::getAttribute($this->env$this->sourceCoreExtension::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); })()), nulltrue], "method"falsefalsefalse2), "title", [], "any"falsefalsefalse2);
  42.         // line 3
  43.         yield "<div class=\"hi-jumbo\">
  44.     <h1 class=\"jumbo-title\">Nos formations</h1>
  45. </div>
  46. ";
  47.         // line 7
  48.         if ( !(null === CoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->sourceCoreExtension::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"falsefalsefalse7), "query", [], "any"falsefalsefalse7), "get", ["formation"], "method"falsefalsefalse7))) {
  49.             // line 8
  50.             yield "    ";
  51.             yield from $this->loadTemplate("Pages/FormationContinuePage/_is_select_formation.html.twig""Pages\\FormationContinuePage\\pagetemplate.html.twig"8)->unwrap()->yield($context);
  52.         } else {
  53.             // line 10
  54.             yield "    ";
  55.             yield from $this->loadTemplate("Pages/FormationContinuePage/_not_select_formation.html.twig""Pages\\FormationContinuePage\\pagetemplate.html.twig"10)->unwrap()->yield($context);
  56.         }
  57.         
  58.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  59.         
  60.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  61.         yield from [];
  62.     }
  63.     /**
  64.      * @codeCoverageIgnore
  65.      */
  66.     public function getTemplateName(): string
  67.     {
  68.         return "Pages\\FormationContinuePage\\pagetemplate.html.twig";
  69.     }
  70.     /**
  71.      * @codeCoverageIgnore
  72.      */
  73.     public function isTraitable(): bool
  74.     {
  75.         return false;
  76.     }
  77.     /**
  78.      * @codeCoverageIgnore
  79.      */
  80.     public function getDebugInfo(): array
  81.     {
  82.         return array (  64 => 10,  60 => 8,  58 => 7,  52 => 3,  50 => 2,  48 => 1,);
  83.     }
  84.     public function getSourceContext(): Source
  85.     {
  86.         return new Source("{% set nodeInternalNameParent = nodemenu.current.node.parent.internalName %}
  87. {% set titlePageNodeParent = nodemenu.getNodeByInternalName(nodeInternalNameParent, null, true).title %}
  88. <div class=\"hi-jumbo\">
  89.     <h1 class=\"jumbo-title\">Nos formations</h1>
  90. </div>
  91. {% if app.request.query.get('formation') is not null %}
  92.     {% include 'Pages/FormationContinuePage/_is_select_formation.html.twig' %}
  93. {% else %}
  94.     {% include 'Pages/FormationContinuePage/_not_select_formation.html.twig' %}
  95. {% endif %}
  96. ""Pages\\FormationContinuePage\\pagetemplate.html.twig""/home/u363484990/domains/iut-udc.online/public_html/templates/Pages/FormationContinuePage/pagetemplate.html.twig");
  97.     }
  98. }