var/cache/website/dev/twig/4d/4d8d08502f4a2a6a768674dd5a1fc9c2463b53e758f8047ae42898a0d0fa19ea.php line 202

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. /* pages/groupe-travail.html.twig */
  15. class __TwigTemplate_1bf44f5e51a3b2a8fe423b59a19a0726d95b813e3568a81fbf4fb481e7036081 extends Template
  16. {
  17.     private $source;
  18.     private $macros = [];
  19.     public function __construct(Environment $env)
  20.     {
  21.         parent::__construct($env);
  22.         $this->source $this->getSourceContext();
  23.         $this->blocks = [
  24.             'style' => [$this'block_style'],
  25.             'content' => [$this'block_content'],
  26.             'javascripts' => [$this'block_javascripts'],
  27.         ];
  28.     }
  29.     protected function doGetParent(array $context)
  30.     {
  31.         // line 1
  32.         return "base.html.twig";
  33.     }
  34.     protected function doDisplay(array $context, array $blocks = [])
  35.     {
  36.         $macros $this->macros;
  37.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  38.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""pages/groupe-travail.html.twig"));
  39.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  40.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""pages/groupe-travail.html.twig"));
  41.         $this->parent $this->loadTemplate("base.html.twig""pages/groupe-travail.html.twig"1);
  42.         yield from $this->parent->unwrap()->yield($contextarray_merge($this->blocks$blocks));
  43.         
  44.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  45.         
  46.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  47.     }
  48.     // line 2
  49.     public function block_style($context, array $blocks = [])
  50.     {
  51.         $macros $this->macros;
  52.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  53.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""style"));
  54.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  55.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""style"));
  56.         // line 3
  57.         yield "    ";
  58.         yield from $this->yieldParentBlock("style"$context$blocks);
  59.         yield "
  60.     ";
  61.         // line 4
  62.         yield from         $this->loadTemplate("css/shepherd.html.twig""pages/groupe-travail.html.twig"4)->unwrap()->yield($context);
  63.         // line 5
  64.         yield "    ";
  65.         yield from         $this->loadTemplate("pages/headers/encore-entry-css-files.html.twig""pages/groupe-travail.html.twig"5)->unwrap()->yield(CoreExtension::merge($context, ["file" => "previews_css"]));
  66.         // line 6
  67.         yield "    ";
  68.         yield from         $this->loadTemplate("pages/headers/encore-entry-css-files.html.twig""pages/groupe-travail.html.twig"6)->unwrap()->yield(CoreExtension::merge($context, ["file" => "preview_thematique_css"]));
  69.         // line 7
  70.         yield "    ";
  71.         yield from         $this->loadTemplate("pages/headers/encore-entry-css-files.html.twig""pages/groupe-travail.html.twig"7)->unwrap()->yield(CoreExtension::merge($context, ["file" => "filter_css"]));
  72.         // line 8
  73.         yield "    ";
  74.         yield from         $this->loadTemplate("pages/headers/encore-entry-css-files.html.twig""pages/groupe-travail.html.twig"8)->unwrap()->yield(CoreExtension::merge($context, ["file" => "gt_css"]));
  75.         // line 9
  76.         yield "    ";
  77.         yield from         $this->loadTemplate("pages/headers/encore-entry-css-files.html.twig""pages/groupe-travail.html.twig"9)->unwrap()->yield(CoreExtension::merge($context, ["file" => "loader_css"]));
  78.         // line 10
  79.         yield "    ";
  80.         yield from         $this->loadTemplate("pages/headers/encore-entry-css-files.html.twig""pages/groupe-travail.html.twig"10)->unwrap()->yield(CoreExtension::merge($context, ["file" => "pagination_css"]));
  81.         // line 11
  82.         yield "    ";
  83.         $context['_parent'] = $context;
  84.         $context['_seq'] = CoreExtension::ensureTraversable(CoreExtension::getAttribute($this->env$this->source, (isset($context["content"]) || array_key_exists("content"$context) ? $context["content"] : (function () { throw new RuntimeError('Variable "content" does not exist.'11$this->source); })()), "main_content", [], "any"falsefalsefalse11));
  85.         $context['loop'] = [
  86.           'parent' => $context['_parent'],
  87.           'index0' => 0,
  88.           'index'  => 1,
  89.           'first'  => true,
  90.         ];
  91.         if (is_array($context['_seq']) || (is_object($context['_seq']) && $context['_seq'] instanceof \Countable)) {
  92.             $length count($context['_seq']);
  93.             $context['loop']['revindex0'] = $length 1;
  94.             $context['loop']['revindex'] = $length;
  95.             $context['loop']['length'] = $length;
  96.             $context['loop']['last'] = === $length;
  97.         }
  98.         foreach ($context['_seq'] as $context["_key"] => $context["block"]) {
  99.             // line 12
  100.             yield "        ";
  101.             if ((=== CoreExtension::compare(CoreExtension::getAttribute($this->env$this->source$context["block"], "type", [], "any"falsefalsefalse12), "freetext"))) {
  102.                 // line 13
  103.                 yield "            ";
  104.                 yield from                 $this->loadTemplate("pages/headers/encore-entry-css-files.html.twig""pages/groupe-travail.html.twig"13)->unwrap()->yield(CoreExtension::merge($context, ["file" => "freetext_css"]));
  105.                 // line 14
  106.                 yield "        ";
  107.             }
  108.             // line 15
  109.             yield "    ";
  110.             ++$context['loop']['index0'];
  111.             ++$context['loop']['index'];
  112.             $context['loop']['first'] = false;
  113.             if (isset($context['loop']['length'])) {
  114.                 --$context['loop']['revindex0'];
  115.                 --$context['loop']['revindex'];
  116.                 $context['loop']['last'] = === $context['loop']['revindex0'];
  117.             }
  118.         }
  119.         $_parent $context['_parent'];
  120.         unset($context['_seq'], $context['_iterated'], $context['_key'], $context['block'], $context['_parent'], $context['loop']);
  121.         $context array_intersect_key($context$_parent) + $_parent;
  122.         
  123.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  124.         
  125.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  126.         return; yield '';
  127.     }
  128.     // line 17
  129.     public function block_content($context, array $blocks = [])
  130.     {
  131.         $macros $this->macros;
  132.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  133.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""content"));
  134.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  135.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""content"));
  136.         // line 18
  137.         yield "    <div class=\"main-container w100 plr-1em\">
  138.         <div class=\"";
  139.         // line 19
  140.         if ((CoreExtension::getAttribute($this->env$this->source, ($context["content"] ?? null), "header_img", [], "any"truetruefalse19) &&  !Twig\Extension\CoreExtension::testEmpty(CoreExtension::getAttribute($this->env$this->source, (isset($context["content"]) || array_key_exists("content"$context) ? $context["content"] : (function () { throw new RuntimeError('Variable "content" does not exist.'19$this->source); })()), "header_img", [], "any"falsefalsefalse19)))) {
  141.             yield "main-title";
  142.         } else {
  143.             yield "small-main-title";
  144.         }
  145.         yield " prelative gt-intro team-project-head dflex jcc aic fdc\">
  146.             ";
  147.         // line 20
  148.         yield from         $this->loadTemplate("pages/headers/pqna-page-header.html.twig""pages/groupe-travail.html.twig"20)->unwrap()->yield($context);
  149.         // line 21
  150.         yield "            ";
  151.         if ((CoreExtension::getAttribute($this->env$this->source, ($context["content"] ?? null), "header_img", [], "any"truetruefalse21) &&  !Twig\Extension\CoreExtension::testEmpty(CoreExtension::getAttribute($this->env$this->source, (isset($context["content"]) || array_key_exists("content"$context) ? $context["content"] : (function () { throw new RuntimeError('Variable "content" does not exist.'21$this->source); })()), "header_img", [], "any"falsefalsefalse21)))) {
  152.             // line 22
  153.             yield "                <div class=\"background-color-turquoize\"></div>
  154.             ";
  155.         }
  156.         // line 24
  157.         yield "        </div>
  158.         <div class=\"content\">
  159.             <div class=\"blocks w100 team-project-list\">
  160.                 ";
  161.         // line 27
  162.         $context['_parent'] = $context;
  163.         $context['_seq'] = CoreExtension::ensureTraversable(CoreExtension::getAttribute($this->env$this->source, (isset($context["content"]) || array_key_exists("content"$context) ? $context["content"] : (function () { throw new RuntimeError('Variable "content" does not exist.'27$this->source); })()), "main_content", [], "any"falsefalsefalse27));
  164.         $context['loop'] = [
  165.           'parent' => $context['_parent'],
  166.           'index0' => 0,
  167.           'index'  => 1,
  168.           'first'  => true,
  169.         ];
  170.         if (is_array($context['_seq']) || (is_object($context['_seq']) && $context['_seq'] instanceof \Countable)) {
  171.             $length count($context['_seq']);
  172.             $context['loop']['revindex0'] = $length 1;
  173.             $context['loop']['revindex'] = $length;
  174.             $context['loop']['length'] = $length;
  175.             $context['loop']['last'] = === $length;
  176.         }
  177.         foreach ($context['_seq'] as $context["_key"] => $context["block"]) {
  178.             // line 28
  179.             yield "                    ";
  180.             if ((=== CoreExtension::compare(CoreExtension::getAttribute($this->env$this->source$context["block"], "type", [], "any"falsefalsefalse28), "articles_type"))) {
  181.                 // line 29
  182.                 yield "                        ";
  183.                 yield from                 $this->loadTemplate("blocks/articles.html.twig""pages/groupe-travail.html.twig"29)->unwrap()->yield(CoreExtension::merge($context, ["filter" => "groupe_travail"]));
  184.                 // line 30
  185.                 yield "                    ";
  186.             } elseif ((=== CoreExtension::compare(CoreExtension::getAttribute($this->env$this->source$context["block"], "type", [], "any"falsefalsefalse30), "freetext"))) {
  187.                 // line 31
  188.                 yield "                        ";
  189.                 yield from                 $this->loadTemplate("articles-blocks/freetext.html.twig""pages/groupe-travail.html.twig"31)->unwrap()->yield(CoreExtension::merge($context, ["data" => $context["block"]]));
  190.                 // line 32
  191.                 yield "                    ";
  192.             }
  193.             // line 33
  194.             yield "                ";
  195.             ++$context['loop']['index0'];
  196.             ++$context['loop']['index'];
  197.             $context['loop']['first'] = false;
  198.             if (isset($context['loop']['length'])) {
  199.                 --$context['loop']['revindex0'];
  200.                 --$context['loop']['revindex'];
  201.                 $context['loop']['last'] = === $context['loop']['revindex0'];
  202.             }
  203.         }
  204.         $_parent $context['_parent'];
  205.         unset($context['_seq'], $context['_iterated'], $context['_key'], $context['block'], $context['_parent'], $context['loop']);
  206.         $context array_intersect_key($context$_parent) + $_parent;
  207.         // line 34
  208.         yield "            </div>
  209.         </div>
  210.     </div>
  211. ";
  212.         
  213.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  214.         
  215.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  216.         return; yield '';
  217.     }
  218.     // line 38
  219.     public function block_javascripts($context, array $blocks = [])
  220.     {
  221.         $macros $this->macros;
  222.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  223.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""javascripts"));
  224.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  225.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""javascripts"));
  226.         // line 39
  227.         yield "    ";
  228.         yield from $this->yieldParentBlock("javascripts"$context$blocks);
  229.         yield "
  230.     ";
  231.         // line 40
  232.         if (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.'40$this->source); })()), "user", [], "any"falsefalsefalse40)) {
  233.             // line 41
  234.             yield "        ";
  235.             yield $this->extensions['Symfony\WebpackEncoreBundle\Twig\EntryFilesTwigExtension']->renderWebpackScriptTags("onboard_tour");
  236.             yield "
  237.     ";
  238.         }
  239.         // line 43
  240.         yield "    ";
  241.         yield $this->extensions['Symfony\WebpackEncoreBundle\Twig\EntryFilesTwigExtension']->renderWebpackScriptTags("articles_api");
  242.         yield "
  243. ";
  244.         
  245.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  246.         
  247.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  248.         return; yield '';
  249.     }
  250.     /**
  251.      * @codeCoverageIgnore
  252.      */
  253.     public function getTemplateName()
  254.     {
  255.         return "pages/groupe-travail.html.twig";
  256.     }
  257.     /**
  258.      * @codeCoverageIgnore
  259.      */
  260.     public function isTraitable()
  261.     {
  262.         return false;
  263.     }
  264.     /**
  265.      * @codeCoverageIgnore
  266.      */
  267.     public function getDebugInfo()
  268.     {
  269.         return array (  264 => 43,  258 => 41,  256 => 40,  251 => 39,  241 => 38,  227 => 34,  213 => 33,  210 => 32,  207 => 31,  204 => 30,  201 => 29,  198 => 28,  181 => 27,  176 => 24,  172 => 22,  169 => 21,  167 => 20,  159 => 19,  156 => 18,  146 => 17,  123 => 15,  120 => 14,  117 => 13,  114 => 12,  96 => 11,  93 => 10,  90 => 9,  87 => 8,  84 => 7,  81 => 6,  78 => 5,  76 => 4,  71 => 3,  61 => 2,  38 => 1,);
  270.     }
  271.     public function getSourceContext()
  272.     {
  273.         return new Source("{% extends \"base.html.twig\" %}
  274. {% block style %}
  275.     {{ parent() }}
  276.     {% include \"css/shepherd.html.twig\" %}
  277.     {% include \"pages/headers/encore-entry-css-files.html.twig\" with {file: 'previews_css'} %}
  278.     {% include \"pages/headers/encore-entry-css-files.html.twig\" with {file: 'preview_thematique_css'} %}
  279.     {% include \"pages/headers/encore-entry-css-files.html.twig\" with {file: 'filter_css'} %}
  280.     {% include \"pages/headers/encore-entry-css-files.html.twig\" with {file: 'gt_css'} %}
  281.     {% include \"pages/headers/encore-entry-css-files.html.twig\" with {file: 'loader_css'} %}
  282.     {% include \"pages/headers/encore-entry-css-files.html.twig\" with {file: 'pagination_css'} %}
  283.     {% for block in content.main_content %}
  284.         {% if block.type == 'freetext' %}
  285.             {% include \"pages/headers/encore-entry-css-files.html.twig\" with {file: 'freetext_css'} %}
  286.         {% endif %}
  287.     {% endfor %}
  288. {% endblock %}
  289. {% block content %}
  290.     <div class=\"main-container w100 plr-1em\">
  291.         <div class=\"{% if content.header_img is defined and content.header_img is not empty %}main-title{% else %}small-main-title{% endif %} prelative gt-intro team-project-head dflex jcc aic fdc\">
  292.             {% include \"pages/headers/pqna-page-header.html.twig\" %}
  293.             {% if content.header_img is defined and content.header_img is not empty %}
  294.                 <div class=\"background-color-turquoize\"></div>
  295.             {% endif %}
  296.         </div>
  297.         <div class=\"content\">
  298.             <div class=\"blocks w100 team-project-list\">
  299.                 {% for block in content.main_content %}
  300.                     {% if block.type == 'articles_type' %}
  301.                         {% include \"blocks/articles.html.twig\" with {filter: \"groupe_travail\"} %}
  302.                     {% elseif block.type == 'freetext' %}
  303.                         {% include \"articles-blocks/freetext.html.twig\" with {data: block} %}
  304.                     {% endif %}
  305.                 {% endfor %}
  306.             </div>
  307.         </div>
  308.     </div>
  309. {% endblock %}
  310. {% block javascripts %}
  311.     {{ parent() }}
  312.     {% if app.user %}
  313.         {{ encore_entry_script_tags('onboard_tour') }}
  314.     {% endif %}
  315.     {{ encore_entry_script_tags('articles_api') }}
  316. {% endblock %}
  317. ""pages/groupe-travail.html.twig""/var/www/html/templates/pages/groupe-travail.html.twig");
  318.     }
  319. }