<?php
use Twig\Environment;
use Twig\Error\LoaderError;
use Twig\Error\RuntimeError;
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;
/* commun/back_office.html.twig */
class __TwigTemplate_94b58cee93bbd64211b60a71eab42288 extends \Twig\Template
{
private $source;
private $macros = [];
public function __construct(Environment $env)
{
parent::__construct($env);
$this->source = $this->getSourceContext();
$this->parent = false;
$this->blocks = [
'title' => [$this, 'block_title'],
'body' => [$this, 'block_body'],
'javascripts' => [$this, 'block_javascripts'],
];
}
protected function doDisplay(array $context, array $blocks = [])
{
$macros = $this->macros;
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "commun/back_office.html.twig"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "commun/back_office.html.twig"));
// line 1
echo "<!DOCTYPE html>
<html lang=\"fr\">
<head>
<meta charset=\"utf-8\">
<meta http-equiv=\"X-UA-Compatible\" content=\"IE=edge\">
<meta name=\"viewport\" content=\"width=device-width, initial-scale=1\">
<title>";
// line 7
$this->displayBlock('title', $context, $blocks);
echo "</title>
<link rel=\"stylesheet\" href=\"/lib/css/bootstrap.min.css\">
<link rel=\"stylesheet\" href=\"/lib/css/jquery-ui.min.css\">
<link rel=\"stylesheet\" href=\"/lib/css/bootstrap-datepicker3.css\">
<link rel=\"stylesheet\" href=\"/lib/css/fontawesome-solid.css\">
<link rel=\"stylesheet\" href=\"/lib/css/fontawesome-regular.css\">
<link rel=\"stylesheet\" href=\"/lib/css/fontawesome.css\">
<link rel=\"stylesheet\" href=\"/lib/css/DataTables-1.10.20/css/dataTables.bootstrap4.css\">
<link rel=\"stylesheet\" href=\"/lib/css/Buttons-1.6.1/css/buttons.bootstrap4.min.css\"/>
<link rel=\"stylesheet\" href=\"/css/commun.css?240610\">
<link rel=\"stylesheet\" href=\"/css/lien_fonctionnalite.css?220921\">
<link rel=\"stylesheet\" href=\"/css/forms.css\">
<link rel=\"stylesheet\" href=\"/css/connexion.css\">
<link rel=\"stylesheet\" href=\"/css/button_toggle.css\">
<link rel=\"stylesheet\" href=\"/css/cd-timeline.css\">
<link rel=\"stylesheet\" href=\"/css/tableau_accueils.css?240610\" />
<link rel=\"stylesheet\" href=\"/css/inputmask.css\" />
";
// line 25
echo "
<script type=\"text/javascript\">
var tarteaucitronForceExpire = 14*30; //conservation choix utilisateur 14 mois
</script>
<script type=\"text/javascript\" src=\"/lib/tarteaucitron/tarteaucitron.js\"></script>
<script type=\"text/javascript\">
tarteaucitron.init({
\"hashtag\": \"#tarteaucitron\", /* Open the panel with this hashtag */
\"cookieName\": \"tarteaucitron\", /* Cookie name */
\"orientation\": \"middle\", /* Banner position (top - middle - bottom) */
\"showAlertSmall\": false, /* Show the small banner on bottom right */
\"cookieslist\": true, /* Show the cookie list */
\"adblocker\": false, /* Show a Warning if an adblocker is detected */
\"DenyAllCta\" : true, /* Show the deny all button */
\"AcceptAllCta\": true, /* Show the accept all button when highPrivacy on */
\"highPrivacy\": true, /* Disable auto consent */
\"handleBrowserDNTRequest\": false, /* If Do Not Track == 1, disallow all */
\"removeCredit\": true, /* Remove credit link */
});
</script>
</head>
<body class=\"bg-body-principal\">
<nav class=\"navbar navbar-expand-sm navbar-dark bg-navbar-principal\">
";
// line 48
$this->loadTemplate([0 => (("commun/headers/_header_" . (isset($context["clientEFC"]) || array_key_exists("clientEFC", $context) ? $context["clientEFC"] : (function () { throw new RuntimeError('Variable "clientEFC" does not exist.', 48, $this->source); })())) . ".html.twig"), 1 => "commun/headers/_header_efc.html.twig"], "commun/back_office.html.twig", 48)->display($context);
// line 49
echo "
<button class=\"navbar-toggler\" type=\"button\" data-toggle=\"collapse\" data-target=\"#navbarNavDropdown\" aria-controls=\"navbarNavDropdown\" aria-expanded=\"false\" aria-label=\"Toggle navigation\">
<span class=\"navbar-toggler-icon\"></span>
</button>
<div class=\"collapse navbar-collapse text-right\" id=\"navbarNavDropdown\">
<ul class=\"navbar-nav mr-auto\">
";
// line 56
echo " </ul>
<span class=\"navbar-text\">
";
// line 58
if ( !(null === twig_get_attribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 58, $this->source); })()), "user", [], "any", false, false, false, 58))) {
// line 59
echo " ";
if ($this->extensions['Symfony\Bridge\Twig\Extension\SecurityExtension']->isGranted("ROLE_PREVIOUS_ADMIN")) {
// line 60
echo " Simulation en tant que ";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 60, $this->source); })()), "user", [], "any", false, false, false, 60), "prenom", [], "any", false, false, false, 60), "html", null, true);
echo " ";
echo twig_escape_filter($this->env, twig_upper_filter($this->env, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 60, $this->source); })()), "user", [], "any", false, false, false, 60), "nom", [], "any", false, false, false, 60)), "html", null, true);
echo " (";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 60, $this->source); })()), "user", [], "any", false, false, false, 60), "profil", [], "any", false, false, false, 60), "libelle", [], "any", false, false, false, 60), "html", null, true);
echo ") (<a href=\"";
echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("simuler_utilisateur", ["_switch_user" => "_exit"]);
echo "\"><i class=\"fa fa-09x fa-power-off\"></i> Déconnexion</a>)
";
} else {
// line 62
echo " ";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 62, $this->source); })()), "user", [], "any", false, false, false, 62), "prenom", [], "any", false, false, false, 62), "html", null, true);
echo " ";
echo twig_escape_filter($this->env, twig_upper_filter($this->env, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 62, $this->source); })()), "user", [], "any", false, false, false, 62), "nom", [], "any", false, false, false, 62)), "html", null, true);
echo " <a href=\"";
echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("deconnexion");
echo "\"><i class=\"fa fa-power-off\"></i> Déconnexion</a>
";
}
// line 64
echo " ";
if ((($this->extensions['Symfony\Bridge\Twig\Extension\SecurityExtension']->isGranted(twig_constant("App\\Entity\\Parametrage\\EnumDroit::ACCES_LISTES_PARTENAIRES")) && !$this->extensions['Symfony\Bridge\Twig\Extension\SecurityExtension']->isGranted(twig_constant("App\\Entity\\Parametrage\\EnumDroit::ACCES_LISTES_DEPARTEMENT"))) || ($this->extensions['Symfony\Bridge\Twig\Extension\SecurityExtension']->isGranted(twig_constant("App\\Entity\\Parametrage\\EnumDroit::ACCES_STATS")) && !$this->extensions['Symfony\Bridge\Twig\Extension\SecurityExtension']->isGranted(twig_constant("App\\Entity\\Parametrage\\EnumDroit::GESTION_UTILISATEURS_DEPARTEMENT"))))) {
// line 67
echo "
<br/>
";
} else {
// line 70
echo " <div id=\"showHelp\" class=\"text-right pt-2\"><a class='iconeAction' data-toggle=\"collapse\" href=\"#helpAlert\"><i class='far fa-question-circle'></i> Aide</a></div>
";
}
// line 72
echo " ";
} else {
// line 73
echo " Non connecté (!) (<a href=\"";
echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("connexion");
echo "\">Connexion</a>)
";
}
// line 75
echo " </span>
</div>
</nav>
<div id=\"helpAlert\" class=\"collapse alert alert-info\" role=\"alert\" >
";
// line 79
if ($this->extensions['Symfony\Bridge\Twig\Extension\SecurityExtension']->isGranted(twig_constant("App\\Entity\\Parametrage\\EnumDroit::GESTION_UTILISATEURS_DEPARTEMENT"))) {
// line 80
echo " ";
$context["guide_utilisateur"] = "Manuel utilisateur - Administrateur.pdf";
// line 81
echo " ";
} elseif ($this->extensions['Symfony\Bridge\Twig\Extension\SecurityExtension']->isGranted(twig_constant("App\\Entity\\Parametrage\\EnumDroit::DECLARATION_ACCUEILS"))) {
// line 82
echo " ";
$context["guide_utilisateur"] = "Manuel utilisateur - Assistant maternel.pdf";
// line 83
echo " ";
} else {
// line 84
echo " ";
$context["guide_utilisateur"] = "Manuel utilisateur - Utilisateur pro.pdf";
// line 85
echo " ";
}
// line 86
echo " Pour le support et l'aide à l'utilisation, consultez le <a target=\"_blank\" href=\"/guides/";
echo twig_escape_filter($this->env, (isset($context["guide_utilisateur"]) || array_key_exists("guide_utilisateur", $context) ? $context["guide_utilisateur"] : (function () { throw new RuntimeError('Variable "guide_utilisateur" does not exist.', 86, $this->source); })()), "html", null, true);
echo "\">guide utilisateur</a>.
";
// line 87
if ((isset($context["numeroVertActif"]) || array_key_exists("numeroVertActif", $context) ? $context["numeroVertActif"] : (function () { throw new RuntimeError('Variable "numeroVertActif" does not exist.', 87, $this->source); })())) {
echo "<br>Le Numéro Vert <a class=\"text-success\" href=\"tel:+33800800095\"> 0 800 800 095</a> est à votre disposition en cas de difficulté.";
}
// line 88
echo " <button type=\"button\" class=\"close\" data-toggle=\"collapse\" href=\"#helpAlert\" aria-label=\"Fermer l'aide\">
<span aria-hidden=\"true\">×</span>
</button>
</div>
<div class=\"container p-sm-2\">
";
// line 93
$this->displayBlock('body', $context, $blocks);
// line 94
echo " </div>
<div class=\"footer\">
";
// line 97
echo " <p class=\"my-2 ml-2 text-muted\">
© ";
// line 98
echo twig_escape_filter($this->env, twig_date_format_filter($this->env, twig_date_converter($this->env), "Y"), "html", null, true);
echo "
<a href=\"https://www.enfenconfiance.com/\" target=\"blank\">ENFenCONFIANCE</a> - Tous droits réservés
<span class=\"d-print-none\">| <a href=\"";
// line 100
echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("mentions_legales");
echo "\">Mentions légales</a></span>
";
// line 101
if ( !(null === twig_get_attribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 101, $this->source); })()), "user", [], "any", false, false, false, 101))) {
// line 102
echo " ";
if ((isset($context["numeroVertActif"]) || array_key_exists("numeroVertActif", $context) ? $context["numeroVertActif"] : (function () { throw new RuntimeError('Variable "numeroVertActif" does not exist.', 102, $this->source); })())) {
echo " | Numéro vert <a class=\"text-success\" href=\"tel:+33800800095\"> 0 800 800 095</a>";
}
// line 103
echo " ";
if ( !(null === (isset($context["version"]) || array_key_exists("version", $context) ? $context["version"] : (function () { throw new RuntimeError('Variable "version" does not exist.', 103, $this->source); })()))) {
echo "<span style=\"display: none\">| v";
echo twig_escape_filter($this->env, (isset($context["version"]) || array_key_exists("version", $context) ? $context["version"] : (function () { throw new RuntimeError('Variable "version" does not exist.', 103, $this->source); })()), "html", null, true);
echo "</span>";
}
// line 104
echo " ";
}
// line 105
echo " <span class=\"d-print-none\">|
<a href=\"#tarteaucitron\">Gestion des Cookies</a>
</span>
<span class=\"d-print-none\">| <a href=\"";
// line 108
echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("protection_donnees");
echo "\">Protection de vos données</a></span>
</p>
</div>
";
// line 112
echo " <script src=\"/lib/js/jquery-3.3.1.js\"></script>
<script src=\"/lib/js/jquery-ui.js\"></script>
<script src=\"/lib/js/jquery.form.min.js\"></script>
<script src=\"/lib/js/jquery.ui.touch-punch.min.js\"></script> ";
// line 116
echo " <script src=\"/lib/js/popper.min.js\"></script> ";
// line 117
echo " <script src=\"/lib/js/bootstrap.min.js\"></script>
<script src=\"/lib/js/bootstrap-datepicker.js\"></script>
<script src=\"/lib/js/bootstrap-datepicker.fr.min.js\"></script>
<script src=\"/js/commun.js?240610\"></script>
<script src=\"/lib/js/moment.js\"></script>
<script src=\"/lib/js/jquery.inputmask.min.js\"></script>
<script src=\"/lib/css/JSZip-2.5.0/jszip.min.js\"></script>
<script src=\"/lib/css/DataTables-1.10.20/js/jquery.dataTables.min.js\"></script>
<script src=\"/lib/css/DataTables-1.10.20/js/dataTables.bootstrap4.min.js\"></script>
<script src=\"/lib/css/Buttons-1.6.1/js/dataTables.buttons.min.js\"></script>
<script src=\"/lib/css/Buttons-1.6.1/js/buttons.bootstrap4.min.js\"></script>
<script src=\"/lib/css/Buttons-1.6.1/js/buttons.html5.min.js\"></script>
<script src=\"/lib/css/Buttons-1.6.1/js/buttons.print.min.js\"></script>
";
// line 132
$this->displayBlock('javascripts', $context, $blocks);
// line 143
echo " </body>
</html>
";
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
}
// line 7
public function block_title($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "title"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "title"));
echo "ENFenCONFIANCE - GDA";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
}
// line 93
public function block_body($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "body"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "body"));
echo " ";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
}
// line 132
public function block_javascripts($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "javascripts"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "javascripts"));
// line 133
echo " <script>
jQuery(function () {
\$('[data-toggle=\"tooltip\"]').tooltip(); //todo : voir si on garde ce composant pour afficher les tooltip avec le text dans les title
});
</script>
<script type=\"text/javascript\">
tarteaucitron.user.gtagUa = '";
// line 139
echo twig_escape_filter($this->env, (isset($context["idGoogleAnalytics"]) || array_key_exists("idGoogleAnalytics", $context) ? $context["idGoogleAnalytics"] : (function () { throw new RuntimeError('Variable "idGoogleAnalytics" does not exist.', 139, $this->source); })()), "html", null, true);
echo "';
(tarteaucitron.job = tarteaucitron.job || []).push('gtag');
</script>
";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
}
public function getTemplateName()
{
return "commun/back_office.html.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 343 => 139, 335 => 133, 325 => 132, 306 => 93, 287 => 7, 275 => 143, 273 => 132, 256 => 117, 254 => 116, 249 => 112, 243 => 108, 238 => 105, 235 => 104, 228 => 103, 223 => 102, 221 => 101, 217 => 100, 212 => 98, 209 => 97, 205 => 94, 203 => 93, 196 => 88, 192 => 87, 187 => 86, 184 => 85, 181 => 84, 178 => 83, 175 => 82, 172 => 81, 169 => 80, 167 => 79, 161 => 75, 155 => 73, 152 => 72, 148 => 70, 143 => 67, 140 => 64, 130 => 62, 118 => 60, 115 => 59, 113 => 58, 109 => 56, 101 => 49, 99 => 48, 74 => 25, 54 => 7, 46 => 1,);
}
public function getSourceContext()
{
return new Source("<!DOCTYPE html>
<html lang=\"fr\">
<head>
<meta charset=\"utf-8\">
<meta http-equiv=\"X-UA-Compatible\" content=\"IE=edge\">
<meta name=\"viewport\" content=\"width=device-width, initial-scale=1\">
<title>{% block title %}ENFenCONFIANCE - GDA{% endblock %}</title>
<link rel=\"stylesheet\" href=\"/lib/css/bootstrap.min.css\">
<link rel=\"stylesheet\" href=\"/lib/css/jquery-ui.min.css\">
<link rel=\"stylesheet\" href=\"/lib/css/bootstrap-datepicker3.css\">
<link rel=\"stylesheet\" href=\"/lib/css/fontawesome-solid.css\">
<link rel=\"stylesheet\" href=\"/lib/css/fontawesome-regular.css\">
<link rel=\"stylesheet\" href=\"/lib/css/fontawesome.css\">
<link rel=\"stylesheet\" href=\"/lib/css/DataTables-1.10.20/css/dataTables.bootstrap4.css\">
<link rel=\"stylesheet\" href=\"/lib/css/Buttons-1.6.1/css/buttons.bootstrap4.min.css\"/>
<link rel=\"stylesheet\" href=\"/css/commun.css?240610\">
<link rel=\"stylesheet\" href=\"/css/lien_fonctionnalite.css?220921\">
<link rel=\"stylesheet\" href=\"/css/forms.css\">
<link rel=\"stylesheet\" href=\"/css/connexion.css\">
<link rel=\"stylesheet\" href=\"/css/button_toggle.css\">
<link rel=\"stylesheet\" href=\"/css/cd-timeline.css\">
<link rel=\"stylesheet\" href=\"/css/tableau_accueils.css?240610\" />
<link rel=\"stylesheet\" href=\"/css/inputmask.css\" />
{# {% block stylesheets %}{% endblock %} #}
<script type=\"text/javascript\">
var tarteaucitronForceExpire = 14*30; //conservation choix utilisateur 14 mois
</script>
<script type=\"text/javascript\" src=\"/lib/tarteaucitron/tarteaucitron.js\"></script>
<script type=\"text/javascript\">
tarteaucitron.init({
\"hashtag\": \"#tarteaucitron\", /* Open the panel with this hashtag */
\"cookieName\": \"tarteaucitron\", /* Cookie name */
\"orientation\": \"middle\", /* Banner position (top - middle - bottom) */
\"showAlertSmall\": false, /* Show the small banner on bottom right */
\"cookieslist\": true, /* Show the cookie list */
\"adblocker\": false, /* Show a Warning if an adblocker is detected */
\"DenyAllCta\" : true, /* Show the deny all button */
\"AcceptAllCta\": true, /* Show the accept all button when highPrivacy on */
\"highPrivacy\": true, /* Disable auto consent */
\"handleBrowserDNTRequest\": false, /* If Do Not Track == 1, disallow all */
\"removeCredit\": true, /* Remove credit link */
});
</script>
</head>
<body class=\"bg-body-principal\">
<nav class=\"navbar navbar-expand-sm navbar-dark bg-navbar-principal\">
{% include ['commun/headers/_header_' ~ clientEFC ~ '.html.twig', 'commun/headers/_header_efc.html.twig'] %}
<button class=\"navbar-toggler\" type=\"button\" data-toggle=\"collapse\" data-target=\"#navbarNavDropdown\" aria-controls=\"navbarNavDropdown\" aria-expanded=\"false\" aria-label=\"Toggle navigation\">
<span class=\"navbar-toggler-icon\"></span>
</button>
<div class=\"collapse navbar-collapse text-right\" id=\"navbarNavDropdown\">
<ul class=\"navbar-nav mr-auto\">
{# TODO : y mettre les items de menu en header ? : index_menu.html.twig ? #}
</ul>
<span class=\"navbar-text\">
{% if app.user is not null %}
{% if is_granted('ROLE_PREVIOUS_ADMIN') %}
Simulation en tant que {{ app.user.prenom }} {{ app.user.nom | upper }} ({{ app.user.profil.libelle }}) (<a href=\"{{ path('simuler_utilisateur', {'_switch_user': '_exit'}) }}\"><i class=\"fa fa-09x fa-power-off\"></i> Déconnexion</a>)
{% else %}
{{ app.user.prenom }} {{ app.user.nom | upper }} <a href=\"{{ path('deconnexion') }}\"><i class=\"fa fa-power-off\"></i> Déconnexion</a>
{% endif %}
{% if ( is_granted(constant(\"App\\\\Entity\\\\Parametrage\\\\EnumDroit::ACCES_LISTES_PARTENAIRES\"))
and not is_granted(constant(\"App\\\\Entity\\\\Parametrage\\\\EnumDroit::ACCES_LISTES_DEPARTEMENT\")) ) or
( is_granted(constant(\"App\\\\Entity\\\\Parametrage\\\\EnumDroit::ACCES_STATS\"))
and not is_granted(constant(\"App\\\\Entity\\\\Parametrage\\\\EnumDroit::GESTION_UTILISATEURS_DEPARTEMENT\")) ) %}
<br/>
{% else %}
<div id=\"showHelp\" class=\"text-right pt-2\"><a class='iconeAction' data-toggle=\"collapse\" href=\"#helpAlert\"><i class='far fa-question-circle'></i> Aide</a></div>
{% endif %}
{% else %}
Non connecté (!) (<a href=\"{{ path('connexion') }}\">Connexion</a>)
{% endif %}
</span>
</div>
</nav>
<div id=\"helpAlert\" class=\"collapse alert alert-info\" role=\"alert\" >
{% if is_granted(constant(\"App\\\\Entity\\\\Parametrage\\\\EnumDroit::GESTION_UTILISATEURS_DEPARTEMENT\")) %}
{% set guide_utilisateur = 'Manuel utilisateur - Administrateur.pdf' %}
{% elseif is_granted(constant(\"App\\\\Entity\\\\Parametrage\\\\EnumDroit::DECLARATION_ACCUEILS\")) %}
{% set guide_utilisateur = 'Manuel utilisateur - Assistant maternel.pdf' %}
{% else %}
{% set guide_utilisateur = 'Manuel utilisateur - Utilisateur pro.pdf' %}
{% endif %}
Pour le support et l'aide à l'utilisation, consultez le <a target=\"_blank\" href=\"/guides/{{ guide_utilisateur }}\">guide utilisateur</a>.
{% if numeroVertActif %}<br>Le Numéro Vert <a class=\"text-success\" href=\"tel:+33800800095\"> 0 800 800 095</a> est à votre disposition en cas de difficulté.{% endif %}
<button type=\"button\" class=\"close\" data-toggle=\"collapse\" href=\"#helpAlert\" aria-label=\"Fermer l'aide\">
<span aria-hidden=\"true\">×</span>
</button>
</div>
<div class=\"container p-sm-2\">
{% block body %} {% endblock %}
</div>
<div class=\"footer\">
{# {% include 'commun/_debug_rwd.html.twig' %} #}
<p class=\"my-2 ml-2 text-muted\">
© {{ date() | date(\"Y\")}}
<a href=\"https://www.enfenconfiance.com/\" target=\"blank\">ENFenCONFIANCE</a> - Tous droits réservés
<span class=\"d-print-none\">| <a href=\"{{ path('mentions_legales') }}\">Mentions légales</a></span>
{% if app.user is not null %}
{% if numeroVertActif %} | Numéro vert <a class=\"text-success\" href=\"tel:+33800800095\"> 0 800 800 095</a>{% endif %}
{% if version is not null %}<span style=\"display: none\">| v{{ version }}</span>{% endif %}
{% endif %}
<span class=\"d-print-none\">|
<a href=\"#tarteaucitron\">Gestion des Cookies</a>
</span>
<span class=\"d-print-none\">| <a href=\"{{ path('protection_donnees') }}\">Protection de vos données</a></span>
</p>
</div>
{# TODO : faire les includes js au bon endroit : https://validator.w3.org / https://www.tutorialspoint.com/javascript/javascript_placement.htm #}
<script src=\"/lib/js/jquery-3.3.1.js\"></script>
<script src=\"/lib/js/jquery-ui.js\"></script>
<script src=\"/lib/js/jquery.form.min.js\"></script>
<script src=\"/lib/js/jquery.ui.touch-punch.min.js\"></script> {# selectable & touch device à tester #}
<script src=\"/lib/js/popper.min.js\"></script> {# requis par les tooltip bootstrap #}
<script src=\"/lib/js/bootstrap.min.js\"></script>
<script src=\"/lib/js/bootstrap-datepicker.js\"></script>
<script src=\"/lib/js/bootstrap-datepicker.fr.min.js\"></script>
<script src=\"/js/commun.js?240610\"></script>
<script src=\"/lib/js/moment.js\"></script>
<script src=\"/lib/js/jquery.inputmask.min.js\"></script>
<script src=\"/lib/css/JSZip-2.5.0/jszip.min.js\"></script>
<script src=\"/lib/css/DataTables-1.10.20/js/jquery.dataTables.min.js\"></script>
<script src=\"/lib/css/DataTables-1.10.20/js/dataTables.bootstrap4.min.js\"></script>
<script src=\"/lib/css/Buttons-1.6.1/js/dataTables.buttons.min.js\"></script>
<script src=\"/lib/css/Buttons-1.6.1/js/buttons.bootstrap4.min.js\"></script>
<script src=\"/lib/css/Buttons-1.6.1/js/buttons.html5.min.js\"></script>
<script src=\"/lib/css/Buttons-1.6.1/js/buttons.print.min.js\"></script>
{% block javascripts %}
<script>
jQuery(function () {
\$('[data-toggle=\"tooltip\"]').tooltip(); //todo : voir si on garde ce composant pour afficher les tooltip avec le text dans les title
});
</script>
<script type=\"text/javascript\">
tarteaucitron.user.gtagUa = '{{ idGoogleAnalytics }}';
(tarteaucitron.job = tarteaucitron.job || []).push('gtag');
</script>
{% endblock %}
</body>
</html>
", "commun/back_office.html.twig", "/home/efc/efc974/dev/site/templates/commun/back_office.html.twig");
}
}