var/cache/website/dev/twig/c8/c8580bf55322cac0f47509daae1be5b70a72b4ebdb633810406e278d3ff268e2.php line 41

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. /* articles/fiches_territoires.html.twig */
  15. class __TwigTemplate_1b5173f6e7fbe20ba251a80061143117d107ad65374cac2c0777143477ab7bad 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""articles/fiches_territoires.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""articles/fiches_territoires.html.twig"));
  41.         $this->parent $this->loadTemplate("base.html.twig""articles/fiches_territoires.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 3
  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 4
  57.         yield "\t";
  58.         yield from $this->yieldParentBlock("style"$context$blocks);
  59.         yield "
  60. \t";
  61.         // line 5
  62.         yield from         $this->loadTemplate("articles/styles/base-css-logic.html.twig""articles/fiches_territoires.html.twig"5)->unwrap()->yield($context);
  63.         // line 6
  64.         yield "\t";
  65.         yield from         $this->loadTemplate("css/un-territoire-critical-css.html.twig""articles/fiches_territoires.html.twig"6)->unwrap()->yield($context);
  66.         // line 7
  67.         yield "\t";
  68.         if ((((CoreExtension::getAttribute($this->env$this->source, ($context["content"] ?? null), "acteur_territoire", [], "any"truetruefalse7) &&  !Twig\Extension\CoreExtension::testEmpty(CoreExtension::getAttribute($this->env$this->source,         // line 8
  69. (isset($context["content"]) || array_key_exists("content"$context) ? $context["content"] : (function () { throw new RuntimeError('Variable "content" does not exist.'8$this->source); })()), "acteur_territoire", [], "any"falsefalsefalse8))) && (=== CoreExtension::compare(CoreExtension::getAttribute($this->env$this->source,         // line 9
  70. (isset($context["content"]) || array_key_exists("content"$context) ? $context["content"] : (function () { throw new RuntimeError('Variable "content" does not exist.'9$this->source); })()), "acteur_territoire", [], "any"falsefalsefalse9), true))) || ((CoreExtension::getAttribute($this->env$this->source,         // line 10
  71. ($context["content"] ?? null), "experience_territoire", [], "any"truetruefalse10) &&  !Twig\Extension\CoreExtension::testEmpty(CoreExtension::getAttribute($this->env$this->source,         // line 11
  72. (isset($context["content"]) || array_key_exists("content"$context) ? $context["content"] : (function () { throw new RuntimeError('Variable "content" does not exist.'11$this->source); })()), "experience_territoire", [], "any"falsefalsefalse11))) && (=== CoreExtension::compare(CoreExtension::getAttribute($this->env$this->source,         // line 12
  73. (isset($context["content"]) || array_key_exists("content"$context) ? $context["content"] : (function () { throw new RuntimeError('Variable "content" does not exist.'12$this->source); })()), "experience_territoire", [], "any"falsefalsefalse12), true))))) {
  74.             // line 13
  75.             yield "\t\t";
  76.             yield from             $this->loadTemplate("pages/headers/encore-entry-css-files.html.twig""articles/fiches_territoires.html.twig"13)->unwrap()->yield(CoreExtension::merge($context, ["file" => "splide_css"]));
  77.             // line 14
  78.             yield "\t";
  79.         }
  80.         // line 15
  81.         yield "\t";
  82.         yield from         $this->loadTemplate("pages/headers/encore-entry-css-files.html.twig""articles/fiches_territoires.html.twig"15)->unwrap()->yield(CoreExtension::merge($context, ["file" => "frame_css"]));
  83.         
  84.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  85.         
  86.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  87.         return; yield '';
  88.     }
  89.     // line 17
  90.     public function block_content($context, array $blocks = [])
  91.     {
  92.         $macros $this->macros;
  93.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  94.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""content"));
  95.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  96.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""content"));
  97.         // line 18
  98.         yield "\t";
  99.         $context["name"] = "";
  100.         // line 19
  101.         yield "\t";
  102.         if ((CoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->source, ($context["app"] ?? null), "request", [], "any"falsetruefalse19), "attributes", [], "any"falsetruefalse19), "get", ["structure"], "method"falsetruefalse19), "structure", [], "any"falsetruefalse19), "name", [], "any"truetruefalse19) &&  !Twig\Extension\CoreExtension::testEmpty(CoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->sourceCoreExtension::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.'19$this->source); })()), "request", [], "any"falsefalsefalse19), "attributes", [], "any"falsefalsefalse19), "get", ["structure"], "method"falsefalsefalse19), "structure", [], "any"falsefalsefalse19), "name", [], "any"falsefalsefalse19)))) {
  103.             // line 20
  104.             yield "\t\t";
  105.             $context["name"] = CoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->sourceCoreExtension::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.'20$this->source); })()), "request", [], "any"falsefalsefalse20), "attributes", [], "any"falsefalsefalse20), "get", ["structure"], "method"falsefalsefalse20), "structure", [], "any"falsefalsefalse20), "name", [], "any"falsefalsefalse20);
  106.             // line 21
  107.             yield "\t";
  108.         }
  109.         // line 22
  110.         yield "\t";
  111.         $context["values"] = "";
  112.         // line 23
  113.         yield "\t";
  114.         $context["values"] = ["Acteurs & territoires""Territoires"];
  115.         // line 24
  116.         yield "\t";
  117.         yield from         $this->loadTemplate("articles-blocks/breadcrumb.html.twig""articles/fiches_territoires.html.twig"24)->unwrap()->yield(CoreExtension::merge($context, ["titles" => (isset($context["values"]) || array_key_exists("values"$context) ? $context["values"] : (function () { throw new RuntimeError('Variable "values" does not exist.'24$this->source); })())]));
  118.         // line 25
  119.         yield "\t<div class=\"main-container w100 plr-1em content\">
  120. \t\t<article class=\"single-article-container\">
  121. \t\t\t<div class=\"";
  122.         // line 27
  123.         if ((CoreExtension::getAttribute($this->env$this->source, ($context["content"] ?? null), "header_img", [], "any"truetruefalse27) &&  !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.'27$this->source); })()), "header_img", [], "any"falsefalsefalse27)))) {
  124.             yield "main-title";
  125.         } else {
  126.             yield "small-main-title";
  127.         }
  128.         yield " mt-40px mb-40px aic frame-overflow\">
  129. \t\t\t\t<div class=\"jcc dflex\">
  130. \t\t\t\t\t";
  131.         // line 29
  132.         if ((CoreExtension::getAttribute($this->env$this->source, ($context["content"] ?? null), "header_img", [], "any"truetruefalse29) &&  !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.'29$this->source); })()), "header_img", [], "any"falsefalsefalse29)))) {
  133.             // line 30
  134.             yield "\t\t\t\t\t\t<img loading=\"lazy\" src=\"";
  135.             yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->source, (isset($context["content"]) || array_key_exists("content"$context) ? $context["content"] : (function () { throw new RuntimeError('Variable "content" does not exist.'30$this->source); })()), "header_img", [], "any"falsefalsefalse30), "formats", [], "any"falsefalsefalse30), "1000x.webp", [], "array"falsefalsefalse30), "html"nulltrue);
  136.             yield "\" srcset=\"";
  137.             yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->source, (isset($context["content"]) || array_key_exists("content"$context) ? $context["content"] : (function () { throw new RuntimeError('Variable "content" does not exist.'30$this->source); })()), "header_img", [], "any"falsefalsefalse30), "formats", [], "any"falsefalsefalse30), "300x.webp", [], "array"falsefalsefalse30), "html"nulltrue);
  138.             yield " 300w, ";
  139.             yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->source, (isset($context["content"]) || array_key_exists("content"$context) ? $context["content"] : (function () { throw new RuntimeError('Variable "content" does not exist.'30$this->source); })()), "header_img", [], "any"falsefalsefalse30), "formats", [], "any"falsefalsefalse30), "600x.webp", [], "array"falsefalsefalse30), "html"nulltrue);
  140.             yield " 600w, ";
  141.             yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->source, (isset($context["content"]) || array_key_exists("content"$context) ? $context["content"] : (function () { throw new RuntimeError('Variable "content" does not exist.'30$this->source); })()), "header_img", [], "any"falsefalsefalse30), "formats", [], "any"falsefalsefalse30), "1000x.webp", [], "array"falsefalsefalse30), "html"nulltrue);
  142.             yield " 1000w\" sizes=\"1000px\" alt=\"";
  143.             yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['App\Twig\AltImageExtension']->getCopyrightOrDescriptionOrTitle(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.'30$this->source); })()), "header_img", [], "any"falsefalsefalse30)), "html"nulltrue);
  144.             yield "\" width=\"";
  145.             yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->source, (isset($context["content"]) || array_key_exists("content"$context) ? $context["content"] : (function () { throw new RuntimeError('Variable "content" does not exist.'30$this->source); })()), "header_img", [], "any"falsefalsefalse30), "fileVersion", [], "any"falsefalsefalse30), "properties", [], "any"falsefalsefalse30), "width", [], "any"falsefalsefalse30), "html"nulltrue);
  146.             yield "\" height=\"";
  147.             yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->source, (isset($context["content"]) || array_key_exists("content"$context) ? $context["content"] : (function () { throw new RuntimeError('Variable "content" does not exist.'30$this->source); })()), "header_img", [], "any"falsefalsefalse30), "fileVersion", [], "any"falsefalsefalse30), "properties", [], "any"falsefalsefalse30), "height", [], "any"falsefalsefalse30), "html"nulltrue);
  148.             yield "\" style=\"z-index: -1;\">
  149. \t\t\t\t\t";
  150.         }
  151.         // line 32
  152.         yield "\t\t\t\t\t<div class=\"frame-header-container dflex jcc mt-2p5em mb-3p5em p-1em\">
  153. \t\t\t\t\t\t<div class=\"frame-pics-format fdc aic br6\">
  154. \t\t\t\t\t\t\t<p class=\"triple-frame-title wd100 lh24 fs16 fw400 dflex tac\">Territoire</p>
  155. \t\t\t\t\t\t\t<h1 class=\"corange tac mb-1em ofbw\">
  156. \t\t\t\t\t\t\t\t";
  157.         // line 36
  158.         if ((CoreExtension::getAttribute($this->env$this->source, ($context["content"] ?? null), "front_title", [], "any"truetruefalse36) &&  !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.'36$this->source); })()), "front_title", [], "any"falsefalsefalse36)))) {
  159.             // line 37
  160.             yield "\t\t\t\t\t\t\t\t\t";
  161.             yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(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.'37$this->source); })()), "front_title", [], "any"falsefalsefalse37), "html"nulltrue);
  162.             yield "
  163. \t\t\t\t\t\t\t\t";
  164.         } else {
  165.             // line 39
  166.             yield "\t\t\t\t\t\t\t\t\t";
  167.             if ((CoreExtension::getAttribute($this->env$this->source, ($context["content"] ?? null), "title", [], "any"truetruefalse39) &&  !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.'39$this->source); })()), "title", [], "any"falsefalsefalse39)))) {
  168.                 // line 40
  169.                 yield "\t\t\t\t\t\t\t\t\t\t";
  170.                 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(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.'40$this->source); })()), "title", [], "any"falsefalsefalse40), "html"nulltrue);
  171.                 yield "
  172. \t\t\t\t\t\t\t\t\t";
  173.             }
  174.             // line 42
  175.             yield "\t\t\t\t\t\t\t\t";
  176.         }
  177.         // line 43
  178.         yield "\t\t\t\t\t\t\t</h1>
  179. \t\t\t\t\t\t\t<div class=\"thematique-container dflex fwwrap mt-8px jcc mb-1em\">
  180. \t\t\t\t\t\t\t\t<div class=\"thematiques-tag cwhite fw500 dflex aic\" style=\"background:#354161; min-height:28px\">
  181. \t\t\t\t\t\t\t\t\t";
  182.         // line 46
  183.         yield (((=== CoreExtension::compare(CoreExtension::getAttribute($this->env$this->source,         // line 47
  184. (isset($context["content"]) || array_key_exists("content"$context) ? $context["content"] : (function () { throw new RuntimeError('Variable "content" does not exist.'47$this->source); })()), "type_territoire", [], "any"falsefalsefalse47), "contractualisation"))) ? ("Territoires de contractualisation") : ((((=== CoreExtension::compare(CoreExtension::getAttribute($this->env$this->source,         // line 49
  185. (isset($context["content"]) || array_key_exists("content"$context) ? $context["content"] : (function () { throw new RuntimeError('Variable "content" does not exist.'49$this->source); })()), "type_territoire", [], "any"falsefalsefalse49), "demarches"))) ? ("Territoires de Démarches Alimentaires") : ("Territoires Politique de la ville"))));
  186.         // line 52
  187.         yield "
  188. \t\t\t\t\t\t\t\t</div>
  189. \t\t\t\t\t\t\t</div>
  190. \t\t\t\t\t\t\t";
  191.         // line 55
  192.         if ((CoreExtension::getAttribute($this->env$this->source, ($context["content"] ?? null), "chapo", [], "any"truetruefalse55) &&  !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.'55$this->source); })()), "chapo", [], "any"falsefalsefalse55)))) {
  193.             // line 56
  194.             yield "\t\t\t\t\t\t\t\t<div class=\"text-flex tac text-pqa lh28 fs20 fw500\">";
  195.             yield 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.'56$this->source); })()), "chapo", [], "any"falsefalsefalse56);
  196.             yield "</div>
  197. \t\t\t\t\t\t\t";
  198.         } else {
  199.             // line 58
  200.             yield "\t\t\t\t\t\t\t\t<div class=\"text-flex tac text-pqa lh28 fs20 fw500\">Pays et Quartiers de Nouvelle-Aquitaine, le centre de ressources sur le développement territorial.</div>
  201. \t\t\t\t\t\t\t";
  202.         }
  203.         // line 60
  204.         yield "\t\t\t\t\t\t</div>
  205. \t\t\t\t\t</div>
  206. \t\t\t\t</div>
  207. \t\t\t\t<div class=\"background-color-blue\" style=\"z-index:-1;\"></div>
  208. \t\t\t</div>
  209. \t\t\t";
  210.         // line 65
  211.         yield from         $this->loadTemplate("articles/blocks/article-under-header.html.twig""articles/fiches_territoires.html.twig"65)->unwrap()->yield($context);
  212.         // line 66
  213.         yield "\t\t\t<div class=\"content fdc\">
  214. \t\t\t\t";
  215.         // line 67
  216.         $context['_parent'] = $context;
  217.         $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.'67$this->source); })()), "main_content", [], "any"falsefalsefalse67));
  218.         $context['loop'] = [
  219.           'parent' => $context['_parent'],
  220.           'index0' => 0,
  221.           'index'  => 1,
  222.           'first'  => true,
  223.         ];
  224.         if (is_array($context['_seq']) || (is_object($context['_seq']) && $context['_seq'] instanceof \Countable)) {
  225.             $length count($context['_seq']);
  226.             $context['loop']['revindex0'] = $length 1;
  227.             $context['loop']['revindex'] = $length;
  228.             $context['loop']['length'] = $length;
  229.             $context['loop']['last'] = === $length;
  230.         }
  231.         foreach ($context['_seq'] as $context["_key"] => $context["data"]) {
  232.             // line 68
  233.             yield "\t\t\t\t\t";
  234.             if ((=== CoreExtension::compare(CoreExtension::getAttribute($this->env$this->source$context["data"], "type", [], "any"falsefalsefalse68), "triple_frame"))) {
  235.                 // line 69
  236.                 yield "\t\t\t\t\t\t";
  237.                 yield from                 $this->loadTemplate("articles-blocks/triple-frame-block.html.twig""articles/fiches_territoires.html.twig"69)->unwrap()->yield($context);
  238.                 // line 70
  239.                 yield "\t\t\t\t\t";
  240.             }
  241.             // line 71
  242.             yield "\t\t\t\t\t";
  243.             if ((=== CoreExtension::compare(CoreExtension::getAttribute($this->env$this->source$context["data"], "type", [], "any"falsefalsefalse71), "block_wrap"))) {
  244.                 // line 72
  245.                 yield "\t\t\t\t\t\t";
  246.                 yield from                 $this->loadTemplate("articles-blocks/block-wrap.html.twig""articles/fiches_territoires.html.twig"72)->unwrap()->yield($context);
  247.                 // line 73
  248.                 yield "\t\t\t\t\t";
  249.             }
  250.             // line 74
  251.             yield "\t\t\t\t\t";
  252.             if ((=== CoreExtension::compare(CoreExtension::getAttribute($this->env$this->source$context["data"], "type", [], "any"falsefalsefalse74), "sub_content"))) {
  253.                 // line 75
  254.                 yield "\t\t\t\t\t\t";
  255.                 yield from                 $this->loadTemplate("articles-blocks/articles-content.html.twig""articles/fiches_territoires.html.twig"75)->unwrap()->yield($context);
  256.                 // line 76
  257.                 yield "\t\t\t\t\t";
  258.             }
  259.             // line 77
  260.             yield "\t\t\t\t\t";
  261.             if ((=== CoreExtension::compare(CoreExtension::getAttribute($this->env$this->source$context["data"], "type", [], "any"falsefalsefalse77), "linked_with"))) {
  262.                 // line 78
  263.                 yield "\t\t\t\t\t\t";
  264.                 yield from                 $this->loadTemplate("articles-blocks/linked-with.html.twig""articles/fiches_territoires.html.twig"78)->unwrap()->yield($context);
  265.                 // line 79
  266.                 yield "\t\t\t\t\t";
  267.             }
  268.             // line 80
  269.             yield "\t\t\t\t\t";
  270.             if ((=== CoreExtension::compare(CoreExtension::getAttribute($this->env$this->source$context["data"], "type", [], "any"falsefalsefalse80), "iframe"))) {
  271.                 // line 81
  272.                 yield "\t\t\t\t\t\t";
  273.                 yield from                 $this->loadTemplate("blocks/iframe.html.twig""articles/fiches_territoires.html.twig"81)->unwrap()->yield(CoreExtension::merge($context, ["block" => $context["data"]]));
  274.                 // line 82
  275.                 yield "\t\t\t\t\t";
  276.             }
  277.             // line 83
  278.             yield "\t\t\t\t\t";
  279.             if ((=== CoreExtension::compare(CoreExtension::getAttribute($this->env$this->source$context["data"], "type", [], "any"falsefalsefalse83), "see_more"))) {
  280.                 // line 84
  281.                 yield "\t\t\t\t\t\t";
  282.                 yield from                 $this->loadTemplate("articles-blocks/see-more.html.twig""articles/fiches_territoires.html.twig"84)->unwrap()->yield($context);
  283.                 // line 85
  284.                 yield "\t\t\t\t\t";
  285.             }
  286.             // line 86
  287.             yield "\t\t\t\t";
  288.             ++$context['loop']['index0'];
  289.             ++$context['loop']['index'];
  290.             $context['loop']['first'] = false;
  291.             if (isset($context['loop']['length'])) {
  292.                 --$context['loop']['revindex0'];
  293.                 --$context['loop']['revindex'];
  294.                 $context['loop']['last'] = === $context['loop']['revindex0'];
  295.             }
  296.         }
  297.         $_parent $context['_parent'];
  298.         unset($context['_seq'], $context['_iterated'], $context['_key'], $context['data'], $context['_parent'], $context['loop']);
  299.         $context array_intersect_key($context$_parent) + $_parent;
  300.         // line 87
  301.         yield "\t\t\t</div>
  302. \t\t\t<div class=\"territoire-linked-data\">
  303. \t\t\t\t";
  304.         // line 89
  305.         $context["id_territory"] = "";
  306.         // line 90
  307.         yield "\t\t\t\t";
  308.         if ((CoreExtension::getAttribute($this->env$this->source, ($context["content"] ?? null), "territory_select", [], "any"truetruefalse90) &&  !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.'90$this->source); })()), "territory_select", [], "any"falsefalsefalse90)))) {
  309.             // line 91
  310.             yield "\t\t\t\t\t";
  311.             $context["id_territory"] = 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.'91$this->source); })()), "territory_select", [], "any"falsefalsefalse91);
  312.             // line 92
  313.             yield "\t\t\t\t";
  314.         }
  315.         // line 93
  316.         yield "
  317. \t\t\t\t";
  318.         // line 94
  319.         if ((array_key_exists("id_territory"$context) &&  !Twig\Extension\CoreExtension::testEmpty((isset($context["id_territory"]) || array_key_exists("id_territory"$context) ? $context["id_territory"] : (function () { throw new RuntimeError('Variable "id_territory" does not exist.'94$this->source); })())))) {
  320.             // line 95
  321.             yield "\t\t\t\t\t";
  322.             if (((CoreExtension::getAttribute($this->env$this->source, ($context["content"] ?? null), "experience_territoire", [], "any"truetruefalse95) &&  !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.'95$this->source); })()), "experience_territoire", [], "any"falsefalsefalse95))) && (=== CoreExtension::compare(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.'95$this->source); })()), "experience_territoire", [], "any"falsefalsefalse95), true)))) {
  323.                 // line 96
  324.                 yield "\t\t\t\t\t\t<section class=\"linked-with mb-40px\">
  325. \t\t\t\t\t\t\t<div class=\"mlr-1em\">
  326. \t\t\t\t\t\t\t\t<h2 class=\"fs30 lh36 fw400 mt-40px\">Découvrez les expériences de ce territoire</h2>
  327. \t\t\t\t\t\t\t\t<div class=\"articles-container mt-40px\">
  328. \t\t\t\t\t\t\t\t\t";
  329.                 // line 100
  330.                 yield $this->env->getRuntime('Symfony\Bridge\Twig\Extension\HttpKernelRuntime')->renderFragment(Symfony\Bridge\Twig\Extension\HttpKernelExtension::controller("App\\Controller\\Website\\ApiTerritoryExperienceController::getExperiencesTerritoire", [], ["id" => (isset($context["id_territory"]) || array_key_exists("id_territory"$context) ? $context["id_territory"] : (function () { throw new RuntimeError('Variable "id_territory" does not exist.'100$this->source); })())]));
  331.                 yield "
  332. \t\t\t\t\t\t\t\t</div>
  333. \t\t\t\t\t\t\t</div>
  334. \t\t\t\t\t\t</section>
  335. \t\t\t\t\t";
  336.             }
  337.             // line 105
  338.             yield "\t\t\t\t";
  339.         }
  340.         // line 106
  341.         yield "\t\t\t\t";
  342.         if ((array_key_exists("id_territory"$context) &&  !Twig\Extension\CoreExtension::testEmpty((isset($context["id_territory"]) || array_key_exists("id_territory"$context) ? $context["id_territory"] : (function () { throw new RuntimeError('Variable "id_territory" does not exist.'106$this->source); })())))) {
  343.             // line 107
  344.             yield "\t\t\t\t\t";
  345.             if (((CoreExtension::getAttribute($this->env$this->source, ($context["content"] ?? null), "acteur_territoire", [], "any"truetruefalse107) &&  !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.'107$this->source); })()), "acteur_territoire", [], "any"falsefalsefalse107))) && (=== CoreExtension::compare(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.'107$this->source); })()), "acteur_territoire", [], "any"falsefalsefalse107), true)))) {
  346.                 // line 108
  347.                 yield "\t\t\t\t\t\t<section class=\"linked-with mb-40px\">
  348. \t\t\t\t\t\t\t<div class=\"mlr-1em\">
  349. \t\t\t\t\t\t\t\t<h2 class=\"fs30 lh36 fw400 mt-40px\">Découvrez les acteurs de ce territoire</h2>
  350. \t\t\t\t\t\t\t\t<div class=\"articles-container mt-40px\">
  351. \t\t\t\t\t\t\t\t\t";
  352.                 // line 112
  353.                 yield $this->env->getRuntime('Symfony\Bridge\Twig\Extension\HttpKernelRuntime')->renderFragment(Symfony\Bridge\Twig\Extension\HttpKernelExtension::controller("App\\Controller\\Website\\ContactController::getActeurTerritoire", [], ["id" => (isset($context["id_territory"]) || array_key_exists("id_territory"$context) ? $context["id_territory"] : (function () { throw new RuntimeError('Variable "id_territory" does not exist.'112$this->source); })())]));
  354.                 yield "
  355. \t\t\t\t\t\t\t\t</div>
  356. \t\t\t\t\t\t\t</div>
  357. \t\t\t\t\t\t</section>
  358. \t\t\t\t\t";
  359.             }
  360.             // line 117
  361.             yield "\t\t\t\t";
  362.         }
  363.         // line 118
  364.         yield "\t\t\t</div>
  365. \t\t</article>
  366. \t</div>
  367. ";
  368.         
  369.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  370.         
  371.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  372.         return; yield '';
  373.     }
  374.     // line 122
  375.     public function block_javascripts($context, array $blocks = [])
  376.     {
  377.         $macros $this->macros;
  378.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  379.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""javascripts"));
  380.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  381.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""javascripts"));
  382.         // line 123
  383.         yield "\t";
  384.         if ((((CoreExtension::getAttribute($this->env$this->source, ($context["content"] ?? null), "acteur_territoire", [], "any"truetruefalse123) &&  !Twig\Extension\CoreExtension::testEmpty(CoreExtension::getAttribute($this->env$this->source,         // line 124
  385. (isset($context["content"]) || array_key_exists("content"$context) ? $context["content"] : (function () { throw new RuntimeError('Variable "content" does not exist.'124$this->source); })()), "acteur_territoire", [], "any"falsefalsefalse124))) && (=== CoreExtension::compare(CoreExtension::getAttribute($this->env$this->source,         // line 125
  386. (isset($context["content"]) || array_key_exists("content"$context) ? $context["content"] : (function () { throw new RuntimeError('Variable "content" does not exist.'125$this->source); })()), "acteur_territoire", [], "any"falsefalsefalse125), true))) || ((CoreExtension::getAttribute($this->env$this->source,         // line 126
  387. ($context["content"] ?? null), "experience_territoire", [], "any"truetruefalse126) &&  !Twig\Extension\CoreExtension::testEmpty(CoreExtension::getAttribute($this->env$this->source,         // line 127
  388. (isset($context["content"]) || array_key_exists("content"$context) ? $context["content"] : (function () { throw new RuntimeError('Variable "content" does not exist.'127$this->source); })()), "experience_territoire", [], "any"falsefalsefalse127))) && (=== CoreExtension::compare(CoreExtension::getAttribute($this->env$this->source,         // line 128
  389. (isset($context["content"]) || array_key_exists("content"$context) ? $context["content"] : (function () { throw new RuntimeError('Variable "content" does not exist.'128$this->source); })()), "experience_territoire", [], "any"falsefalsefalse128), true))))) {
  390.             // line 129
  391.             yield "\t\t";
  392.             yield $this->extensions['Symfony\WebpackEncoreBundle\Twig\EntryFilesTwigExtension']->renderWebpackScriptTags("splide");
  393.             yield "
  394. \t";
  395.         }
  396.         // line 131
  397.         yield "\t";
  398.         yield from         $this->loadTemplate("articles/javascripts/base-article-js.html.twig""articles/fiches_territoires.html.twig"131)->unwrap()->yield($context);
  399.         // line 132
  400.         yield "\t";
  401.         yield from $this->yieldParentBlock("javascripts"$context$blocks);
  402.         yield "
  403. ";
  404.         
  405.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  406.         
  407.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  408.         return; yield '';
  409.     }
  410.     /**
  411.      * @codeCoverageIgnore
  412.      */
  413.     public function getTemplateName()
  414.     {
  415.         return "articles/fiches_territoires.html.twig";
  416.     }
  417.     /**
  418.      * @codeCoverageIgnore
  419.      */
  420.     public function isTraitable()
  421.     {
  422.         return false;
  423.     }
  424.     /**
  425.      * @codeCoverageIgnore
  426.      */
  427.     public function getDebugInfo()
  428.     {
  429.         return array (  424 => 132,  421 => 131,  415 => 129,  413 => 128,  412 => 127,  411 => 126,  410 => 125,  409 => 124,  407 => 123,  397 => 122,  383 => 118,  380 => 117,  372 => 112,  366 => 108,  363 => 107,  360 => 106,  357 => 105,  349 => 100,  343 => 96,  340 => 95,  338 => 94,  335 => 93,  332 => 92,  329 => 91,  326 => 90,  324 => 89,  320 => 87,  306 => 86,  303 => 85,  300 => 84,  297 => 83,  294 => 82,  291 => 81,  288 => 80,  285 => 79,  282 => 78,  279 => 77,  276 => 76,  273 => 75,  270 => 74,  267 => 73,  264 => 72,  261 => 71,  258 => 70,  255 => 69,  252 => 68,  235 => 67,  232 => 66,  230 => 65,  223 => 60,  219 => 58,  213 => 56,  211 => 55,  206 => 52,  204 => 49,  203 => 47,  202 => 46,  197 => 43,  194 => 42,  188 => 40,  185 => 39,  179 => 37,  177 => 36,  171 => 32,  153 => 30,  151 => 29,  142 => 27,  138 => 25,  135 => 24,  132 => 23,  129 => 22,  126 => 21,  123 => 20,  120 => 19,  117 => 18,  107 => 17,  95 => 15,  92 => 14,  89 => 13,  87 => 12,  86 => 11,  85 => 10,  84 => 9,  83 => 8,  81 => 7,  78 => 6,  76 => 5,  71 => 4,  61 => 3,  38 => 1,);
  430.     }
  431.     public function getSourceContext()
  432.     {
  433.         return new Source("{% extends \"base.html.twig\" %}
  434. {# extension.excerpt #}
  435. {% block style %}
  436. \t{{ parent() }}
  437. \t{% include \"articles/styles/base-css-logic.html.twig\" %}
  438. \t{% include \"css/un-territoire-critical-css.html.twig\" %}
  439. \t{% if (content.acteur_territoire is defined 
  440. \t\tand content.acteur_territoire is not empty 
  441. \t\tand content.acteur_territoire == true)
  442. \t\tor (content.experience_territoire is defined
  443. \t\tand content.experience_territoire is not empty
  444. \t\tand content.experience_territoire == true) %}
  445. \t\t{% include \"pages/headers/encore-entry-css-files.html.twig\" with {file: 'splide_css'} %}
  446. \t{% endif %}
  447. \t{% include \"pages/headers/encore-entry-css-files.html.twig\" with {file: 'frame_css'} %}
  448. {% endblock %}
  449. {% block content %}
  450. \t{% set name = \"\" %}
  451. \t{% if app.request.attributes.get('structure').structure.name is defined and app.request.attributes.get('structure').structure.name is not empty %}
  452. \t\t{% set name = app.request.attributes.get('structure').structure.name %}
  453. \t{% endif %}
  454. \t{% set values = \"\" %}
  455. \t{% set values = ['Acteurs & territoires', 'Territoires'] %}
  456. \t{% include \"articles-blocks/breadcrumb.html.twig\" with {titles : values} %}
  457. \t<div class=\"main-container w100 plr-1em content\">
  458. \t\t<article class=\"single-article-container\">
  459. \t\t\t<div class=\"{% if content.header_img is defined and content.header_img is not empty %}main-title{% else %}small-main-title{% endif %} mt-40px mb-40px aic frame-overflow\">
  460. \t\t\t\t<div class=\"jcc dflex\">
  461. \t\t\t\t\t{% if content.header_img is defined and content.header_img is not empty %}
  462. \t\t\t\t\t\t<img loading=\"lazy\" src=\"{{ content.header_img.formats['1000x.webp'] }}\" srcset=\"{{ content.header_img.formats['300x.webp'] }} 300w, {{ content.header_img.formats['600x.webp'] }} 600w, {{ content.header_img.formats['1000x.webp'] }} 1000w\" sizes=\"1000px\" alt=\"{{ content.header_img | copyright_or_description_or_title }}\" width=\"{{ content.header_img.fileVersion.properties.width }}\" height=\"{{ content.header_img.fileVersion.properties.height }}\" style=\"z-index: -1;\">
  463. \t\t\t\t\t{% endif %}
  464. \t\t\t\t\t<div class=\"frame-header-container dflex jcc mt-2p5em mb-3p5em p-1em\">
  465. \t\t\t\t\t\t<div class=\"frame-pics-format fdc aic br6\">
  466. \t\t\t\t\t\t\t<p class=\"triple-frame-title wd100 lh24 fs16 fw400 dflex tac\">Territoire</p>
  467. \t\t\t\t\t\t\t<h1 class=\"corange tac mb-1em ofbw\">
  468. \t\t\t\t\t\t\t\t{% if content.front_title is defined and content.front_title is not empty %}
  469. \t\t\t\t\t\t\t\t\t{{ content.front_title }}
  470. \t\t\t\t\t\t\t\t{% else %}
  471. \t\t\t\t\t\t\t\t\t{% if content.title is defined and content.title is not empty %}
  472. \t\t\t\t\t\t\t\t\t\t{{ content.title }}
  473. \t\t\t\t\t\t\t\t\t{% endif %}
  474. \t\t\t\t\t\t\t\t{% endif %}
  475. \t\t\t\t\t\t\t</h1>
  476. \t\t\t\t\t\t\t<div class=\"thematique-container dflex fwwrap mt-8px jcc mb-1em\">
  477. \t\t\t\t\t\t\t\t<div class=\"thematiques-tag cwhite fw500 dflex aic\" style=\"background:#354161; min-height:28px\">
  478. \t\t\t\t\t\t\t\t\t{{ 
  479.                     (content.type_territoire == \"contractualisation\") 
  480.                       ? 'Territoires de contractualisation' 
  481.                       : (content.type_territoire == \"demarches\") 
  482.                       ? 'Territoires de Démarches Alimentaires'
  483.                       : 'Territoires Politique de la ville' 
  484.                   }}
  485. \t\t\t\t\t\t\t\t</div>
  486. \t\t\t\t\t\t\t</div>
  487. \t\t\t\t\t\t\t{% if content.chapo is defined and content.chapo is not empty %}
  488. \t\t\t\t\t\t\t\t<div class=\"text-flex tac text-pqa lh28 fs20 fw500\">{{ content.chapo|raw }}</div>
  489. \t\t\t\t\t\t\t{% else %}
  490. \t\t\t\t\t\t\t\t<div class=\"text-flex tac text-pqa lh28 fs20 fw500\">Pays et Quartiers de Nouvelle-Aquitaine, le centre de ressources sur le développement territorial.</div>
  491. \t\t\t\t\t\t\t{% endif %}
  492. \t\t\t\t\t\t</div>
  493. \t\t\t\t\t</div>
  494. \t\t\t\t</div>
  495. \t\t\t\t<div class=\"background-color-blue\" style=\"z-index:-1;\"></div>
  496. \t\t\t</div>
  497. \t\t\t{% include \"articles/blocks/article-under-header.html.twig\" %}
  498. \t\t\t<div class=\"content fdc\">
  499. \t\t\t\t{% for data in content.main_content %}
  500. \t\t\t\t\t{% if data.type == \"triple_frame\" %}
  501. \t\t\t\t\t\t{% include \"articles-blocks/triple-frame-block.html.twig\" %}
  502. \t\t\t\t\t{% endif %}
  503. \t\t\t\t\t{% if data.type == \"block_wrap\" %}
  504. \t\t\t\t\t\t{% include \"articles-blocks/block-wrap.html.twig\" %}
  505. \t\t\t\t\t{% endif %}
  506. \t\t\t\t\t{% if data.type == \"sub_content\" %}
  507. \t\t\t\t\t\t{% include \"articles-blocks/articles-content.html.twig\" %}
  508. \t\t\t\t\t{% endif %}
  509. \t\t\t\t\t{% if data.type == \"linked_with\" %}
  510. \t\t\t\t\t\t{% include \"articles-blocks/linked-with.html.twig\" %}
  511. \t\t\t\t\t{% endif %}
  512. \t\t\t\t\t{% if data.type == \"iframe\" %}
  513. \t\t\t\t\t\t{% include \"blocks/iframe.html.twig\" with {block: data} %}
  514. \t\t\t\t\t{% endif %}
  515. \t\t\t\t\t{% if data.type == \"see_more\" %}
  516. \t\t\t\t\t\t{% include \"articles-blocks/see-more.html.twig\" %}
  517. \t\t\t\t\t{% endif %}
  518. \t\t\t\t{% endfor %}
  519. \t\t\t</div>
  520. \t\t\t<div class=\"territoire-linked-data\">
  521. \t\t\t\t{% set id_territory = \"\" %}
  522. \t\t\t\t{% if content.territory_select is defined and content.territory_select is not empty %}
  523. \t\t\t\t\t{% set id_territory = content.territory_select %}
  524. \t\t\t\t{% endif %}
  525. \t\t\t\t{% if id_territory is defined and id_territory is not empty %}
  526. \t\t\t\t\t{% if content.experience_territoire is defined and content.experience_territoire is not empty and content.experience_territoire == true %}
  527. \t\t\t\t\t\t<section class=\"linked-with mb-40px\">
  528. \t\t\t\t\t\t\t<div class=\"mlr-1em\">
  529. \t\t\t\t\t\t\t\t<h2 class=\"fs30 lh36 fw400 mt-40px\">Découvrez les expériences de ce territoire</h2>
  530. \t\t\t\t\t\t\t\t<div class=\"articles-container mt-40px\">
  531. \t\t\t\t\t\t\t\t\t{{ render(controller('App\\\\Controller\\\\Website\\\\ApiTerritoryExperienceController::getExperiencesTerritoire', {}, { 'id': id_territory })) }}
  532. \t\t\t\t\t\t\t\t</div>
  533. \t\t\t\t\t\t\t</div>
  534. \t\t\t\t\t\t</section>
  535. \t\t\t\t\t{% endif %}
  536. \t\t\t\t{% endif %}
  537. \t\t\t\t{% if id_territory is defined and id_territory is not empty %}
  538. \t\t\t\t\t{% if content.acteur_territoire is defined and content.acteur_territoire is not empty and content.acteur_territoire == true %}
  539. \t\t\t\t\t\t<section class=\"linked-with mb-40px\">
  540. \t\t\t\t\t\t\t<div class=\"mlr-1em\">
  541. \t\t\t\t\t\t\t\t<h2 class=\"fs30 lh36 fw400 mt-40px\">Découvrez les acteurs de ce territoire</h2>
  542. \t\t\t\t\t\t\t\t<div class=\"articles-container mt-40px\">
  543. \t\t\t\t\t\t\t\t\t{{ render(controller('App\\\\Controller\\\\Website\\\\ContactController::getActeurTerritoire', {}, { 'id': id_territory })) }}
  544. \t\t\t\t\t\t\t\t</div>
  545. \t\t\t\t\t\t\t</div>
  546. \t\t\t\t\t\t</section>
  547. \t\t\t\t\t{% endif %}
  548. \t\t\t\t{% endif %}
  549. \t\t\t</div>
  550. \t\t</article>
  551. \t</div>
  552. {% endblock %}
  553. {% block javascripts %}
  554. \t{% if (content.acteur_territoire is defined 
  555. \t\tand content.acteur_territoire is not empty 
  556. \t\tand content.acteur_territoire == true)
  557. \t\tor (content.experience_territoire is defined
  558. \t\tand content.experience_territoire is not empty
  559. \t\tand content.experience_territoire == true) %}
  560. \t\t{{ encore_entry_script_tags(\"splide\") }}
  561. \t{% endif %}
  562. \t{% include \"articles/javascripts/base-article-js.html.twig\" %}
  563. \t{{ parent() }}
  564. {% endblock %}
  565. ""articles/fiches_territoires.html.twig""/var/www/html/templates/articles/fiches_territoires.html.twig");
  566.     }
  567. }