<?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;
/* blocks/annuaire.html.twig */
class __TwigTemplate_f2d6c60dcda680cf6d50203e98a236cb8a71ba37f81b1617b405a0ca8ae03082 extends Template
{
private $source;
private $macros = [];
public function __construct(Environment $env)
{
parent::__construct($env);
$this->source = $this->getSourceContext();
$this->parent = false;
$this->blocks = [
];
}
protected function doDisplay(array $context, array $blocks = [])
{
$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", "blocks/annuaire.html.twig"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "blocks/annuaire.html.twig"));
// line 1
$context["btnClass"] = "organize fs16 fw400 lh24 cblue";
// line 2
yield "<article>
\t";
// line 3
if ((CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, ($context["app"] ?? null), "request", [], "any", false, true, false, 3), "get", ["page"], "method", true, true, false, 3) && !Twig\Extension\CoreExtension::testEmpty(CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 3, $this->source); })()), "request", [], "any", false, false, false, 3), "get", ["page"], "method", false, false, false, 3)))) {
// line 4
yield "\t\t";
$context["page"] = CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 4, $this->source); })()), "request", [], "any", false, false, false, 4), "get", ["page"], "method", false, false, false, 4);
// line 5
yield "\t";
} else {
// line 6
yield "\t\t";
$context["page"] = 1;
// line 7
yield "\t";
}
// line 8
yield "\t<div id=\"users\">
\t\t<div class=\"dflex fwwrap prelative\">
\t\t\t<div class=\"pabsolute annuaire-select-container\">
\t\t\t\t<label for=\"elems-number-user\">Éléments par page :</label>
\t\t\t\t";
// line 12
$context["elems"] = 12;
// line 13
yield "\t\t\t\t<select id=\"elems-number-user\" class=\"br6\">
\t\t\t\t\t<option value=\"12\">12</option>
\t\t\t\t\t<option value=\"24\">24</option>
\t\t\t\t\t<option value=\"36\">36</option>
\t\t\t\t</select>
\t\t\t</div>
\t\t\t<div class=\"prelative mr-24px dflex\">
\t\t\t\t<img alt=\"\" src=\"/resources/img/loupe-icon.svg\" class=\"annuaire-search-icon pabsolute\" width=\"16\" height=\"16\">
\t\t\t\t<input id=\"search\" placeholder=\"Rechercher\" class=\"br6 shadow-button\">
\t\t\t</div>
\t\t\t";
// line 23
yield from $this->loadTemplate("filter/annuaire_filter.html.twig", "blocks/annuaire.html.twig", 23)->unwrap()->yield($context);
// line 24
yield "\t\t</div>
\t\t<div class=\"nav-usr-btn\">
\t\t\t<div class=\"btn-container dflex\">
\t\t\t\t<button class=\"";
// line 27
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape((isset($context["btnClass"]) || array_key_exists("btnClass", $context) ? $context["btnClass"] : (function () { throw new RuntimeError('Variable "btnClass" does not exist.', 27, $this->source); })()), "html", null, true);
yield "\" data-field=\"name\" title=\"Afficher par ordre alphabétique croissant\">Nom";
yield Twig\Extension\CoreExtension::source($this->env, "svg/double-arrow-icon.html.twig");
yield "</button>
\t\t\t</div>
\t\t\t<div class=\"btn-container fs16 fw400 lh24\">Territoire</div>
\t\t\t<div class=\"btn-container fs16 fw400 lh24\">Département</div>
\t\t\t<div class=\"btn-container fs16 fw400 lh24\">Thématiques liées</div>
\t\t\t<div class=\"btn-container dflex\">
\t\t\t\t<button class=\"";
// line 33
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape((isset($context["btnClass"]) || array_key_exists("btnClass", $context) ? $context["btnClass"] : (function () { throw new RuntimeError('Variable "btnClass" does not exist.', 33, $this->source); })()), "html", null, true);
yield "\" data-field=\"typologieActeur\" title=\"Afficher par ordre alphabétique croissant\">Type acteur";
yield Twig\Extension\CoreExtension::source($this->env, "svg/double-arrow-icon.html.twig");
yield "</button>
\t\t\t</div>
\t\t</div>
\t\t";
// line 36
$context["theme"] = "";
// line 37
yield "\t\t";
if ((CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, ($context["app"] ?? null), "request", [], "any", false, true, false, 37), "get", ["theme"], "method", true, true, false, 37) && !Twig\Extension\CoreExtension::testEmpty(CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 37, $this->source); })()), "request", [], "any", false, false, false, 37), "get", ["theme"], "method", false, false, false, 37)))) {
// line 38
yield "\t\t\t";
$context["theme"] = CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 38, $this->source); })()), "request", [], "any", false, false, false, 38), "get", ["theme"], "method", false, false, false, 38);
// line 39
yield "\t\t";
}
// line 40
yield "\t\t<ul id=\"list\">
\t\t\t";
// line 41
yield $this->env->getRuntime('Symfony\Bridge\Twig\Extension\HttpKernelRuntime')->renderFragment(Symfony\Bridge\Twig\Extension\HttpKernelExtension::controller("App\\Controller\\Website\\UserController::getUserListAction", ["q" => "", "territoires" => "", "theme" => // line 42
(isset($context["theme"]) || array_key_exists("theme", $context) ? $context["theme"] : (function () { throw new RuntimeError('Variable "theme" does not exist.', 42, $this->source); })()), "typologieActeur" => "", "page" => (isset($context["page"]) || array_key_exists("page", $context) ? $context["page"] : (function () { throw new RuntimeError('Variable "page" does not exist.', 42, $this->source); })()), "elems" => (isset($context["elems"]) || array_key_exists("elems", $context) ? $context["elems"] : (function () { throw new RuntimeError('Variable "elems" does not exist.', 42, $this->source); })()), "order" => "name", "step" => "1"]));
// line 43
yield "
\t\t</ul>
\t</div>
</article>
";
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
return; yield '';
}
/**
* @codeCoverageIgnore
*/
public function getTemplateName()
{
return "blocks/annuaire.html.twig";
}
/**
* @codeCoverageIgnore
*/
public function isTraitable()
{
return false;
}
/**
* @codeCoverageIgnore
*/
public function getDebugInfo()
{
return array ( 126 => 43, 124 => 42, 123 => 41, 120 => 40, 117 => 39, 114 => 38, 111 => 37, 109 => 36, 101 => 33, 90 => 27, 85 => 24, 83 => 23, 71 => 13, 69 => 12, 63 => 8, 60 => 7, 57 => 6, 54 => 5, 51 => 4, 49 => 3, 46 => 2, 44 => 1,);
}
public function getSourceContext()
{
return new Source("{% set btnClass = \"organize fs16 fw400 lh24 cblue\" %}
<article>
\t{% if app.request.get('page') is defined and app.request.get('page') is not empty %}
\t\t{% set page = app.request.get('page') %}
\t{% else %}
\t\t{% set page = 1 %}
\t{% endif %}
\t<div id=\"users\">
\t\t<div class=\"dflex fwwrap prelative\">
\t\t\t<div class=\"pabsolute annuaire-select-container\">
\t\t\t\t<label for=\"elems-number-user\">Éléments par page :</label>
\t\t\t\t{% set elems = 12 %}
\t\t\t\t<select id=\"elems-number-user\" class=\"br6\">
\t\t\t\t\t<option value=\"12\">12</option>
\t\t\t\t\t<option value=\"24\">24</option>
\t\t\t\t\t<option value=\"36\">36</option>
\t\t\t\t</select>
\t\t\t</div>
\t\t\t<div class=\"prelative mr-24px dflex\">
\t\t\t\t<img alt=\"\" src=\"/resources/img/loupe-icon.svg\" class=\"annuaire-search-icon pabsolute\" width=\"16\" height=\"16\">
\t\t\t\t<input id=\"search\" placeholder=\"Rechercher\" class=\"br6 shadow-button\">
\t\t\t</div>
\t\t\t{% include \"filter/annuaire_filter.html.twig\" %}
\t\t</div>
\t\t<div class=\"nav-usr-btn\">
\t\t\t<div class=\"btn-container dflex\">
\t\t\t\t<button class=\"{{btnClass}}\" data-field=\"name\" title=\"Afficher par ordre alphabétique croissant\">Nom{{ source('svg/double-arrow-icon.html.twig') }}</button>
\t\t\t</div>
\t\t\t<div class=\"btn-container fs16 fw400 lh24\">Territoire</div>
\t\t\t<div class=\"btn-container fs16 fw400 lh24\">Département</div>
\t\t\t<div class=\"btn-container fs16 fw400 lh24\">Thématiques liées</div>
\t\t\t<div class=\"btn-container dflex\">
\t\t\t\t<button class=\"{{btnClass}}\" data-field=\"typologieActeur\" title=\"Afficher par ordre alphabétique croissant\">Type acteur{{ source('svg/double-arrow-icon.html.twig') }}</button>
\t\t\t</div>
\t\t</div>
\t\t{% set theme = \"\" %}
\t\t{% if app.request.get('theme') is defined and app.request.get('theme') is not empty %}
\t\t\t{% set theme = app.request.get('theme') %}
\t\t{% endif %}
\t\t<ul id=\"list\">
\t\t\t{{ render(controller(
\t\t\t\t'App\\\\Controller\\\\Website\\\\UserController::getUserListAction', {'q': '', 'territoires': '', 'theme': theme, 'typologieActeur': '','page':page,\"elems\": elems, 'order': 'name', 'step': '1'}
\t\t\t)) }}
\t\t</ul>
\t</div>
</article>
", "blocks/annuaire.html.twig", "/var/www/html/templates/blocks/annuaire.html.twig");
}
}