<?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;
/* pages/groupe-travail.html.twig */
class __TwigTemplate_1bf44f5e51a3b2a8fe423b59a19a0726d95b813e3568a81fbf4fb481e7036081 extends Template
{
private $source;
private $macros = [];
public function __construct(Environment $env)
{
parent::__construct($env);
$this->source = $this->getSourceContext();
$this->blocks = [
'style' => [$this, 'block_style'],
'content' => [$this, 'block_content'],
'javascripts' => [$this, 'block_javascripts'],
];
}
protected function doGetParent(array $context)
{
// line 1
return "base.html.twig";
}
protected function doDisplay(array $context, array $blocks = [])
{
$macros = $this->macros;
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "pages/groupe-travail.html.twig"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "pages/groupe-travail.html.twig"));
$this->parent = $this->loadTemplate("base.html.twig", "pages/groupe-travail.html.twig", 1);
yield from $this->parent->unwrap()->yield($context, array_merge($this->blocks, $blocks));
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
}
// line 2
public function block_style($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "style"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "style"));
// line 3
yield " ";
yield from $this->yieldParentBlock("style", $context, $blocks);
yield "
";
// line 4
yield from $this->loadTemplate("css/shepherd.html.twig", "pages/groupe-travail.html.twig", 4)->unwrap()->yield($context);
// line 5
yield " ";
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"]));
// line 6
yield " ";
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"]));
// line 7
yield " ";
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"]));
// line 8
yield " ";
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"]));
// line 9
yield " ";
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"]));
// line 10
yield " ";
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"]));
// line 11
yield " ";
$context['_parent'] = $context;
$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", false, false, false, 11));
$context['loop'] = [
'parent' => $context['_parent'],
'index0' => 0,
'index' => 1,
'first' => true,
];
if (is_array($context['_seq']) || (is_object($context['_seq']) && $context['_seq'] instanceof \Countable)) {
$length = count($context['_seq']);
$context['loop']['revindex0'] = $length - 1;
$context['loop']['revindex'] = $length;
$context['loop']['length'] = $length;
$context['loop']['last'] = 1 === $length;
}
foreach ($context['_seq'] as $context["_key"] => $context["block"]) {
// line 12
yield " ";
if ((0 === CoreExtension::compare(CoreExtension::getAttribute($this->env, $this->source, $context["block"], "type", [], "any", false, false, false, 12), "freetext"))) {
// line 13
yield " ";
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"]));
// line 14
yield " ";
}
// line 15
yield " ";
++$context['loop']['index0'];
++$context['loop']['index'];
$context['loop']['first'] = false;
if (isset($context['loop']['length'])) {
--$context['loop']['revindex0'];
--$context['loop']['revindex'];
$context['loop']['last'] = 0 === $context['loop']['revindex0'];
}
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['block'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
return; yield '';
}
// line 17
public function block_content($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "content"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "content"));
// line 18
yield " <div class=\"main-container w100 plr-1em\">
<div class=\"";
// line 19
if ((CoreExtension::getAttribute($this->env, $this->source, ($context["content"] ?? null), "header_img", [], "any", true, true, false, 19) && !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", false, false, false, 19)))) {
yield "main-title";
} else {
yield "small-main-title";
}
yield " prelative gt-intro team-project-head dflex jcc aic fdc\">
";
// line 20
yield from $this->loadTemplate("pages/headers/pqna-page-header.html.twig", "pages/groupe-travail.html.twig", 20)->unwrap()->yield($context);
// line 21
yield " ";
if ((CoreExtension::getAttribute($this->env, $this->source, ($context["content"] ?? null), "header_img", [], "any", true, true, false, 21) && !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", false, false, false, 21)))) {
// line 22
yield " <div class=\"background-color-turquoize\"></div>
";
}
// line 24
yield " </div>
<div class=\"content\">
<div class=\"blocks w100 team-project-list\">
";
// line 27
$context['_parent'] = $context;
$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", false, false, false, 27));
$context['loop'] = [
'parent' => $context['_parent'],
'index0' => 0,
'index' => 1,
'first' => true,
];
if (is_array($context['_seq']) || (is_object($context['_seq']) && $context['_seq'] instanceof \Countable)) {
$length = count($context['_seq']);
$context['loop']['revindex0'] = $length - 1;
$context['loop']['revindex'] = $length;
$context['loop']['length'] = $length;
$context['loop']['last'] = 1 === $length;
}
foreach ($context['_seq'] as $context["_key"] => $context["block"]) {
// line 28
yield " ";
if ((0 === CoreExtension::compare(CoreExtension::getAttribute($this->env, $this->source, $context["block"], "type", [], "any", false, false, false, 28), "articles_type"))) {
// line 29
yield " ";
yield from $this->loadTemplate("blocks/articles.html.twig", "pages/groupe-travail.html.twig", 29)->unwrap()->yield(CoreExtension::merge($context, ["filter" => "groupe_travail"]));
// line 30
yield " ";
} elseif ((0 === CoreExtension::compare(CoreExtension::getAttribute($this->env, $this->source, $context["block"], "type", [], "any", false, false, false, 30), "freetext"))) {
// line 31
yield " ";
yield from $this->loadTemplate("articles-blocks/freetext.html.twig", "pages/groupe-travail.html.twig", 31)->unwrap()->yield(CoreExtension::merge($context, ["data" => $context["block"]]));
// line 32
yield " ";
}
// line 33
yield " ";
++$context['loop']['index0'];
++$context['loop']['index'];
$context['loop']['first'] = false;
if (isset($context['loop']['length'])) {
--$context['loop']['revindex0'];
--$context['loop']['revindex'];
$context['loop']['last'] = 0 === $context['loop']['revindex0'];
}
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['block'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 34
yield " </div>
</div>
</div>
";
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
return; yield '';
}
// line 38
public function block_javascripts($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "javascripts"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "javascripts"));
// line 39
yield " ";
yield from $this->yieldParentBlock("javascripts", $context, $blocks);
yield "
";
// line 40
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", false, false, false, 40)) {
// line 41
yield " ";
yield $this->extensions['Symfony\WebpackEncoreBundle\Twig\EntryFilesTwigExtension']->renderWebpackScriptTags("onboard_tour");
yield "
";
}
// line 43
yield " ";
yield $this->extensions['Symfony\WebpackEncoreBundle\Twig\EntryFilesTwigExtension']->renderWebpackScriptTags("articles_api");
yield "
";
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
return; yield '';
}
/**
* @codeCoverageIgnore
*/
public function getTemplateName()
{
return "pages/groupe-travail.html.twig";
}
/**
* @codeCoverageIgnore
*/
public function isTraitable()
{
return false;
}
/**
* @codeCoverageIgnore
*/
public function getDebugInfo()
{
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,);
}
public function getSourceContext()
{
return new Source("{% extends \"base.html.twig\" %}
{% block style %}
{{ parent() }}
{% include \"css/shepherd.html.twig\" %}
{% include \"pages/headers/encore-entry-css-files.html.twig\" with {file: 'previews_css'} %}
{% include \"pages/headers/encore-entry-css-files.html.twig\" with {file: 'preview_thematique_css'} %}
{% include \"pages/headers/encore-entry-css-files.html.twig\" with {file: 'filter_css'} %}
{% include \"pages/headers/encore-entry-css-files.html.twig\" with {file: 'gt_css'} %}
{% include \"pages/headers/encore-entry-css-files.html.twig\" with {file: 'loader_css'} %}
{% include \"pages/headers/encore-entry-css-files.html.twig\" with {file: 'pagination_css'} %}
{% for block in content.main_content %}
{% if block.type == 'freetext' %}
{% include \"pages/headers/encore-entry-css-files.html.twig\" with {file: 'freetext_css'} %}
{% endif %}
{% endfor %}
{% endblock %}
{% block content %}
<div class=\"main-container w100 plr-1em\">
<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\">
{% include \"pages/headers/pqna-page-header.html.twig\" %}
{% if content.header_img is defined and content.header_img is not empty %}
<div class=\"background-color-turquoize\"></div>
{% endif %}
</div>
<div class=\"content\">
<div class=\"blocks w100 team-project-list\">
{% for block in content.main_content %}
{% if block.type == 'articles_type' %}
{% include \"blocks/articles.html.twig\" with {filter: \"groupe_travail\"} %}
{% elseif block.type == 'freetext' %}
{% include \"articles-blocks/freetext.html.twig\" with {data: block} %}
{% endif %}
{% endfor %}
</div>
</div>
</div>
{% endblock %}
{% block javascripts %}
{{ parent() }}
{% if app.user %}
{{ encore_entry_script_tags('onboard_tour') }}
{% endif %}
{{ encore_entry_script_tags('articles_api') }}
{% endblock %}
", "pages/groupe-travail.html.twig", "/var/www/html/templates/pages/groupe-travail.html.twig");
}
}