var/cache/dev/twig/e5/e5c678de0e97886b659849743e1da980.php line 118

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. use Twig\TemplateWrapper;
  15. /* commun/back_office.html.twig */
  16. class __TwigTemplate_8ad70fca4cd523a6084f26baea3d44de extends Template
  17. {
  18.     private Source $source;
  19.     /**
  20.      * @var array<string, Template>
  21.      */
  22.     private array $macros = [];
  23.     public function __construct(Environment $env)
  24.     {
  25.         parent::__construct($env);
  26.         $this->source $this->getSourceContext();
  27.         $this->parent false;
  28.         $this->blocks = [
  29.             'title' => [$this'block_title'],
  30.             'body' => [$this'block_body'],
  31.             'javascripts' => [$this'block_javascripts'],
  32.         ];
  33.     }
  34.     protected function doDisplay(array $context, array $blocks = []): iterable
  35.     {
  36.         $macros $this->macros;
  37.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  38.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""commun/back_office.html.twig"));
  39.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  40.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""commun/back_office.html.twig"));
  41.         // line 1
  42.         yield "<!DOCTYPE html>
  43. <html lang=\"fr\">
  44.     <head>
  45.         <meta charset=\"utf-8\">
  46.         <meta http-equiv=\"X-UA-Compatible\" content=\"IE=edge\">
  47.         <meta name=\"viewport\" content=\"width=device-width, initial-scale=1\">
  48.         <title>";
  49.         // line 7
  50.         yield from $this->unwrap()->yieldBlock('title'$context$blocks);
  51.         yield "</title>
  52.         <link rel=\"stylesheet\" href=\"/lib/css/bootstrap.min.css\">
  53.         <link rel=\"stylesheet\" href=\"/lib/css/jquery-ui.min.css\">
  54.         <link rel=\"stylesheet\" href=\"/lib/css/bootstrap-datepicker3.css\">
  55.         <link rel=\"stylesheet\" href=\"/lib/css/fontawesome-solid.css\">
  56.         <link rel=\"stylesheet\" href=\"/lib/css/fontawesome-regular.css\">
  57.         <link rel=\"stylesheet\" href=\"/lib/css/fontawesome.css\">
  58.         <link rel=\"stylesheet\" href=\"/lib/css/DataTables-1.10.20/css/dataTables.bootstrap4.css\">
  59.         <link rel=\"stylesheet\" href=\"/lib/css/Buttons-1.6.1/css/buttons.bootstrap4.min.css\"/>
  60.         <link rel=\"stylesheet\" href=\"/css/commun.css?240610\">
  61.         <link rel=\"stylesheet\" href=\"/css/lien_fonctionnalite.css?220921\">
  62.         <link rel=\"stylesheet\" href=\"/css/forms.css\">
  63.         <link rel=\"stylesheet\" href=\"/css/connexion.css\">
  64.         <link rel=\"stylesheet\" href=\"/css/button_toggle.css\">
  65.         <link rel=\"stylesheet\" href=\"/css/cd-timeline.css\">
  66.         <link rel=\"stylesheet\" href=\"/css/tableau_accueils.css?240610\" />
  67.         <link rel=\"stylesheet\" href=\"/css/inputmask.css\" />
  68.         ";
  69.         // line 25
  70.         yield "
  71.         <script type=\"text/javascript\">
  72.             var tarteaucitronForceExpire = 14*30; //conservation choix utilisateur 14 mois
  73.         </script>
  74.         <script type=\"text/javascript\" src=\"/lib/tarteaucitron/tarteaucitron.js\"></script>
  75.         <script type=\"text/javascript\">
  76.             tarteaucitron.init({
  77.                 \"hashtag\": \"#tarteaucitron\", /* Open the panel with this hashtag */
  78.                 \"cookieName\": \"tarteaucitron\", /* Cookie name */
  79.                 \"orientation\": \"middle\", /* Banner position (top - middle - bottom) */
  80.                 \"showAlertSmall\": false, /* Show the small banner on bottom right */
  81.                 \"cookieslist\": true, /* Show the cookie list */
  82.                 \"adblocker\": false, /* Show a Warning if an adblocker is detected */
  83.                 \"DenyAllCta\" : true, /* Show the deny all button */
  84.                 \"AcceptAllCta\": true, /* Show the accept all button when highPrivacy on */
  85.                 \"highPrivacy\": true, /* Disable auto consent */
  86.                 \"handleBrowserDNTRequest\": false, /* If Do Not Track == 1, disallow all */
  87.                 \"removeCredit\": true, /* Remove credit link */
  88.             });
  89.         </script>
  90.     </head>
  91.     <body class=\"bg-body-principal\">
  92.         <nav class=\"navbar navbar-expand-sm navbar-dark  bg-navbar-principal\">
  93.             ";
  94.         // line 48
  95.         yield from $this->load([(("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"), "commun/headers/_header_efc.html.twig"], 48)->unwrap()->yield($context);
  96.         // line 49
  97.         yield "
  98.             <button class=\"navbar-toggler\" type=\"button\" data-toggle=\"collapse\" data-target=\"#navbarNavDropdown\" aria-controls=\"navbarNavDropdown\" aria-expanded=\"false\" aria-label=\"Toggle navigation\">
  99.                 <span class=\"navbar-toggler-icon\"></span>
  100.             </button>
  101.             <div class=\"collapse navbar-collapse text-right\" id=\"navbarNavDropdown\">
  102.                 <ul class=\"navbar-nav mr-auto\">
  103.                     ";
  104.         // line 56
  105.         yield "                </ul>
  106.                 <span class=\"navbar-text\">
  107.                     ";
  108.         // line 58
  109.         if ((($tmp =  !(null === 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.'58$this->source); })()), "user", [], "any"falsefalsefalse58))) && $tmp instanceof Markup ? (string) $tmp $tmp)) {
  110.             // line 59
  111.             yield "                        ";
  112.             if ((($tmp $this->extensions['Symfony\Bridge\Twig\Extension\SecurityExtension']->isGranted("ROLE_PREVIOUS_ADMIN")) && $tmp instanceof Markup ? (string) $tmp $tmp)) {
  113.                 // line 60
  114.                 yield "                            Simulation en tant que ";
  115.                 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::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.'60$this->source); })()), "user", [], "any"falsefalsefalse60), "prenom", [], "any"falsefalsefalse60), "html"nulltrue);
  116.                 yield " ";
  117.                 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(Twig\Extension\CoreExtension::upper($this->env->getCharset(), CoreExtension::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.'60$this->source); })()), "user", [], "any"falsefalsefalse60), "nom", [], "any"falsefalsefalse60)), "html"nulltrue);
  118.                 yield " (";
  119.                 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["app"]) || array_key_exists("app"$context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.'60$this->source); })()), "user", [], "any"falsefalsefalse60), "profil", [], "any"falsefalsefalse60), "libelle", [], "any"falsefalsefalse60), "html"nulltrue);
  120.                 yield ") (<a href=\"";
  121.                 yield $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("simuler_utilisateur", ["_switch_user" => "_exit"]);
  122.                 yield "\"><i class=\"fa fa-09x fa-power-off\"></i> Déconnexion</a>)
  123.                         ";
  124.             } else {
  125.                 // line 62
  126.                 yield "                            ";
  127.                 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::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.'62$this->source); })()), "user", [], "any"falsefalsefalse62), "prenom", [], "any"falsefalsefalse62), "html"nulltrue);
  128.                 yield " ";
  129.                 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(Twig\Extension\CoreExtension::upper($this->env->getCharset(), CoreExtension::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.'62$this->source); })()), "user", [], "any"falsefalsefalse62), "nom", [], "any"falsefalsefalse62)), "html"nulltrue);
  130.                 yield " <a href=\"";
  131.                 yield $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("deconnexion");
  132.                 yield "\"><i class=\"fa fa-power-off\"></i> Déconnexion</a>
  133.                         ";
  134.             }
  135.             // line 64
  136.             yield "                        ";
  137.             if ((($this->extensions['Symfony\Bridge\Twig\Extension\SecurityExtension']->isGranted(Twig\Extension\CoreExtension::constant("App\\Entity\\Parametrage\\EnumDroit::ACCES_LISTES_PARTENAIRES")) &&  !$this->extensions['Symfony\Bridge\Twig\Extension\SecurityExtension']->isGranted(Twig\Extension\CoreExtension::constant("App\\Entity\\Parametrage\\EnumDroit::ACCES_LISTES_DEPARTEMENT"))) || ($this->extensions['Symfony\Bridge\Twig\Extension\SecurityExtension']->isGranted(Twig\Extension\CoreExtension::constant("App\\Entity\\Parametrage\\EnumDroit::ACCES_STATS")) &&  !$this->extensions['Symfony\Bridge\Twig\Extension\SecurityExtension']->isGranted(Twig\Extension\CoreExtension::constant("App\\Entity\\Parametrage\\EnumDroit::GESTION_UTILISATEURS_DEPARTEMENT"))))) {
  138.                 // line 67
  139.                 yield 
  140.                             <br/>
  141.                         ";
  142.             } else {
  143.                 // line 70
  144.                 yield "                            <div id=\"showHelp\" class=\"text-right pt-2\"><a class=\x27iconeAction\x27 data-toggle=\"collapse\" href=\"#helpAlert\"><i class=\x27far fa-question-circle\x27></i> Aide</a></div>
  145.                         ";
  146.             }
  147.             // line 72
  148.             yield "                    ";
  149.         } else {
  150.             // line 73
  151.             yield "                        Non connecté (!) (<a href=\"";
  152.             yield $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("connexion");
  153.             yield "\">Connexion</a>)
  154.                     ";
  155.         }
  156.         // line 75
  157.         yield "                </span>
  158.             </div>
  159.         </nav>
  160.         <div id=\"helpAlert\" class=\"collapse alert alert-info\" role=\"alert\" >
  161.             ";
  162.         // line 79
  163.         if ((($tmp $this->extensions['Symfony\Bridge\Twig\Extension\SecurityExtension']->isGranted(Twig\Extension\CoreExtension::constant("App\\Entity\\Parametrage\\EnumDroit::GESTION_UTILISATEURS_DEPARTEMENT"))) && $tmp instanceof Markup ? (string) $tmp $tmp)) {
  164.             // line 80
  165.             yield "                ";
  166.             $context["guide_utilisateur"] = "Manuel utilisateur - Administrateur.pdf";
  167.             // line 81
  168.             yield "            ";
  169.         } elseif ((($tmp $this->extensions['Symfony\Bridge\Twig\Extension\SecurityExtension']->isGranted(Twig\Extension\CoreExtension::constant("App\\Entity\\Parametrage\\EnumDroit::DECLARATION_ACCUEILS"))) && $tmp instanceof Markup ? (string) $tmp $tmp)) {
  170.             // line 82
  171.             yield "                ";
  172.             $context["guide_utilisateur"] = "Manuel utilisateur - Assistant maternel.pdf";
  173.             // line 83
  174.             yield "            ";
  175.         } else {
  176.             // line 84
  177.             yield "                ";
  178.             $context["guide_utilisateur"] = "Manuel utilisateur - Utilisateur pro.pdf";
  179.             // line 85
  180.             yield "            ";
  181.         }
  182.         // line 86
  183.         yield "            Pour le support et l\x27aide à l\x27utilisation, consultez le <a target=\"_blank\" href=\"/guides/";
  184.         yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape((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"nulltrue);
  185.         yield "\">guide utilisateur</a>.
  186.             ";
  187.         // line 87
  188.         if ((($tmp = (isset($context["numeroVertActif"]) || array_key_exists("numeroVertActif"$context) ? $context["numeroVertActif"] : (function () { throw new RuntimeError('Variable "numeroVertActif" does not exist.'87$this->source); })())) && $tmp instanceof Markup ? (string) $tmp $tmp)) {
  189.             yield "<br>Le Numéro Vert <a class=\"text-success\" href=\"tel:+33800800095\"> 0 800 800 095</a> est à votre disposition en cas de difficulté.";
  190.         }
  191.         // line 88
  192.         yield "            <button type=\"button\" class=\"close\" data-toggle=\"collapse\" href=\"#helpAlert\" aria-label=\"Fermer l\x27aide\">
  193.                 <span aria-hidden=\"true\">&times;</span>
  194.             </button>
  195.         </div>
  196.         <div class=\"container p-sm-2\">
  197.             ";
  198.         // line 93
  199.         yield from $this->unwrap()->yieldBlock('body'$context$blocks);
  200.         // line 94
  201.         yield "        </div>
  202.         <div class=\"footer\">
  203.             ";
  204.         // line 97
  205.         yield "            <p class=\"my-2 ml-2 text-muted\">
  206.                 &copy; ";
  207.         // line 98
  208.         yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Twig\Extension\CoreExtension']->formatDate($this->extensions['Twig\Extension\CoreExtension']->convertDate(), "Y"), "html"nulltrue);
  209.         yield "
  210.                 <a href=\"https://www.enfenconfiance.com/\" target=\"blank\">ENFenCONFIANCE</a> - Tous&nbsp;droits&nbsp;réservés
  211.                 <span class=\"d-print-none\">| <a href=\"";
  212.         // line 100
  213.         yield $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("mentions_legales");
  214.         yield "\">Mentions&nbsp;légales</a></span>
  215.                 ";
  216.         // line 101
  217.         if ((($tmp =  !(null === 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.'101$this->source); })()), "user", [], "any"falsefalsefalse101))) && $tmp instanceof Markup ? (string) $tmp $tmp)) {
  218.             // line 102
  219.             yield "                    ";
  220.             if ((($tmp = (isset($context["numeroVertActif"]) || array_key_exists("numeroVertActif"$context) ? $context["numeroVertActif"] : (function () { throw new RuntimeError('Variable "numeroVertActif" does not exist.'102$this->source); })())) && $tmp instanceof Markup ? (string) $tmp $tmp)) {
  221.                 yield " | Numéro&nbsp;vert <a class=\"text-success\" href=\"tel:+33800800095\"> 0&nbsp;800&nbsp;800&nbsp;095</a>";
  222.             }
  223.             // line 103
  224.             yield "                    ";
  225.             if ((($tmp =  !(null === (isset($context["version"]) || array_key_exists("version"$context) ? $context["version"] : (function () { throw new RuntimeError('Variable "version" does not exist.'103$this->source); })()))) && $tmp instanceof Markup ? (string) $tmp $tmp)) {
  226.                 yield "<span style=\"display: none\">| v";
  227.                 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape((isset($context["version"]) || array_key_exists("version"$context) ? $context["version"] : (function () { throw new RuntimeError('Variable "version" does not exist.'103$this->source); })()), "html"nulltrue);
  228.                 yield "</span>";
  229.             }
  230.             // line 104
  231.             yield "                ";
  232.         }
  233.         // line 105
  234.         yield "                <span class=\"d-print-none\">|
  235.                     <a href=\"#tarteaucitron\">Gestion des Cookies</a>
  236.                 </span>
  237.                 <span class=\"d-print-none\">| <a href=\"";
  238.         // line 108
  239.         yield $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("protection_donnees");
  240.         yield "\">Protection&nbsp;de&nbsp;vos&nbsp;données</a></span>
  241.             </p>
  242.         </div>
  243.         ";
  244.         // line 112
  245.         yield "        <script src=\"/lib/js/jquery-3.3.1.js\"></script>
  246.         <script src=\"/lib/js/jquery-ui.js\"></script>
  247.         <script src=\"/lib/js/jquery.form.min.js\"></script>
  248.         <script src=\"/lib/js/jquery.ui.touch-punch.min.js\"></script>  ";
  249.         // line 116
  250.         yield "        <script src=\"/lib/js/popper.min.js\"></script> ";
  251.         // line 117
  252.         yield "        <script src=\"/lib/js/bootstrap.min.js\"></script>
  253.         <script src=\"/lib/js/bootstrap-datepicker.js\"></script>
  254.         <script src=\"/lib/js/bootstrap-datepicker.fr.min.js\"></script>
  255.         <script src=\"/js/commun.js?240610\"></script>
  256.         <script src=\"/lib/js/moment.js\"></script>
  257.         <script src=\"/lib/js/jquery.inputmask.min.js\"></script>
  258.         <script src=\"/lib/css/JSZip-2.5.0/jszip.min.js\"></script>
  259.         <script src=\"/lib/css/DataTables-1.10.20/js/jquery.dataTables.min.js\"></script>
  260.         <script src=\"/lib/css/DataTables-1.10.20/js/dataTables.bootstrap4.min.js\"></script>
  261.         <script src=\"/lib/css/Buttons-1.6.1/js/dataTables.buttons.min.js\"></script>
  262.         <script src=\"/lib/css/Buttons-1.6.1/js/buttons.bootstrap4.min.js\"></script>
  263.         <script src=\"/lib/css/Buttons-1.6.1/js/buttons.html5.min.js\"></script>
  264.         <script src=\"/lib/css/Buttons-1.6.1/js/buttons.print.min.js\"></script>
  265.         ";
  266.         // line 132
  267.         yield from $this->unwrap()->yieldBlock('javascripts'$context$blocks);
  268.         // line 143
  269.         yield "    </body>
  270. </html>
  271. ";
  272.         
  273.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  274.         
  275.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  276.         yield from [];
  277.     }
  278.     // line 7
  279.     /**
  280.      * @return iterable<null|scalar|\Stringable>
  281.      */
  282.     public function block_title(array $context, array $blocks = []): iterable
  283.     {
  284.         $macros $this->macros;
  285.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  286.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""title"));
  287.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  288.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""title"));
  289.         yield "ENFenCONFIANCE - GDA";
  290.         
  291.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  292.         
  293.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  294.         yield from [];
  295.     }
  296.     // line 93
  297.     /**
  298.      * @return iterable<null|scalar|\Stringable>
  299.      */
  300.     public function block_body(array $context, array $blocks = []): iterable
  301.     {
  302.         $macros $this->macros;
  303.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  304.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""body"));
  305.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  306.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""body"));
  307.         yield " ";
  308.         
  309.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  310.         
  311.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  312.         yield from [];
  313.     }
  314.     // line 132
  315.     /**
  316.      * @return iterable<null|scalar|\Stringable>
  317.      */
  318.     public function block_javascripts(array $context, array $blocks = []): iterable
  319.     {
  320.         $macros $this->macros;
  321.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  322.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""javascripts"));
  323.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  324.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""javascripts"));
  325.         // line 133
  326.         yield "            <script>
  327.                 jQuery(function () {
  328.                     \$(\x27[data-toggle=\"tooltip\"]\x27).tooltip(); //todo : voir si on garde ce composant pour afficher les tooltip avec le text dans les title
  329.                 });
  330.             </script>
  331.             <script type=\"text/javascript\">
  332.                 tarteaucitron.user.gtagUa = \x27";
  333.         // line 139
  334.         yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape((isset($context["idGoogleAnalytics"]) || array_key_exists("idGoogleAnalytics"$context) ? $context["idGoogleAnalytics"] : (function () { throw new RuntimeError('Variable "idGoogleAnalytics" does not exist.'139$this->source); })()), "html"nulltrue);
  335.         yield "\x27;
  336.                 (tarteaucitron.job = tarteaucitron.job || []).push(\x27gtag\x27);
  337.             </script>
  338.         ";
  339.         
  340.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  341.         
  342.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  343.         yield from [];
  344.     }
  345.     /**
  346.      * @codeCoverageIgnore
  347.      */
  348.     public function getTemplateName(): string
  349.     {
  350.         return "commun/back_office.html.twig";
  351.     }
  352.     /**
  353.      * @codeCoverageIgnore
  354.      */
  355.     public function isTraitable(): bool
  356.     {
  357.         return false;
  358.     }
  359.     /**
  360.      * @codeCoverageIgnore
  361.      */
  362.     public function getDebugInfo(): array
  363.     {
  364.         return array (  360 => 139,  352 => 133,  339 => 132,  316 => 93,  293 => 7,  280 => 143,  278 => 132,  261 => 117,  259 => 116,  254 => 112,  248 => 108,  243 => 105,  240 => 104,  233 => 103,  228 => 102,  226 => 101,  222 => 100,  217 => 98,  214 => 97,  210 => 94,  208 => 93,  201 => 88,  197 => 87,  192 => 86,  189 => 85,  186 => 84,  183 => 83,  180 => 82,  177 => 81,  174 => 80,  172 => 79,  166 => 75,  160 => 73,  157 => 72,  153 => 70,  148 => 67,  145 => 64,  135 => 62,  123 => 60,  120 => 59,  118 => 58,  114 => 56,  106 => 49,  104 => 48,  79 => 25,  59 => 7,  51 => 1,);
  365.     }
  366.     public function getSourceContext(): Source
  367.     {
  368.         return new Source("<!DOCTYPE html>
  369. <html lang=\"fr\">
  370.     <head>
  371.         <meta charset=\"utf-8\">
  372.         <meta http-equiv=\"X-UA-Compatible\" content=\"IE=edge\">
  373.         <meta name=\"viewport\" content=\"width=device-width, initial-scale=1\">
  374.         <title>{% block title %}ENFenCONFIANCE - GDA{% endblock %}</title>
  375.         <link rel=\"stylesheet\" href=\"/lib/css/bootstrap.min.css\">
  376.         <link rel=\"stylesheet\" href=\"/lib/css/jquery-ui.min.css\">
  377.         <link rel=\"stylesheet\" href=\"/lib/css/bootstrap-datepicker3.css\">
  378.         <link rel=\"stylesheet\" href=\"/lib/css/fontawesome-solid.css\">
  379.         <link rel=\"stylesheet\" href=\"/lib/css/fontawesome-regular.css\">
  380.         <link rel=\"stylesheet\" href=\"/lib/css/fontawesome.css\">
  381.         <link rel=\"stylesheet\" href=\"/lib/css/DataTables-1.10.20/css/dataTables.bootstrap4.css\">
  382.         <link rel=\"stylesheet\" href=\"/lib/css/Buttons-1.6.1/css/buttons.bootstrap4.min.css\"/>
  383.         <link rel=\"stylesheet\" href=\"/css/commun.css?240610\">
  384.         <link rel=\"stylesheet\" href=\"/css/lien_fonctionnalite.css?220921\">
  385.         <link rel=\"stylesheet\" href=\"/css/forms.css\">
  386.         <link rel=\"stylesheet\" href=\"/css/connexion.css\">
  387.         <link rel=\"stylesheet\" href=\"/css/button_toggle.css\">
  388.         <link rel=\"stylesheet\" href=\"/css/cd-timeline.css\">
  389.         <link rel=\"stylesheet\" href=\"/css/tableau_accueils.css?240610\" />
  390.         <link rel=\"stylesheet\" href=\"/css/inputmask.css\" />
  391.         {# {% block stylesheets %}{% endblock %} #}
  392.         <script type=\"text/javascript\">
  393.             var tarteaucitronForceExpire = 14*30; //conservation choix utilisateur 14 mois
  394.         </script>
  395.         <script type=\"text/javascript\" src=\"/lib/tarteaucitron/tarteaucitron.js\"></script>
  396.         <script type=\"text/javascript\">
  397.             tarteaucitron.init({
  398.                 \"hashtag\": \"#tarteaucitron\", /* Open the panel with this hashtag */
  399.                 \"cookieName\": \"tarteaucitron\", /* Cookie name */
  400.                 \"orientation\": \"middle\", /* Banner position (top - middle - bottom) */
  401.                 \"showAlertSmall\": false, /* Show the small banner on bottom right */
  402.                 \"cookieslist\": true, /* Show the cookie list */
  403.                 \"adblocker\": false, /* Show a Warning if an adblocker is detected */
  404.                 \"DenyAllCta\" : true, /* Show the deny all button */
  405.                 \"AcceptAllCta\": true, /* Show the accept all button when highPrivacy on */
  406.                 \"highPrivacy\": true, /* Disable auto consent */
  407.                 \"handleBrowserDNTRequest\": false, /* If Do Not Track == 1, disallow all */
  408.                 \"removeCredit\": true, /* Remove credit link */
  409.             });
  410.         </script>
  411.     </head>
  412.     <body class=\"bg-body-principal\">
  413.         <nav class=\"navbar navbar-expand-sm navbar-dark  bg-navbar-principal\">
  414.             {% include [\x27commun/headers/_header_\x27 ~ clientEFC ~ \x27.html.twig\x27, \x27commun/headers/_header_efc.html.twig\x27] %}
  415.             <button class=\"navbar-toggler\" type=\"button\" data-toggle=\"collapse\" data-target=\"#navbarNavDropdown\" aria-controls=\"navbarNavDropdown\" aria-expanded=\"false\" aria-label=\"Toggle navigation\">
  416.                 <span class=\"navbar-toggler-icon\"></span>
  417.             </button>
  418.             <div class=\"collapse navbar-collapse text-right\" id=\"navbarNavDropdown\">
  419.                 <ul class=\"navbar-nav mr-auto\">
  420.                     {# TODO : y mettre les items de menu en header ? : index_menu.html.twig ? #}
  421.                 </ul>
  422.                 <span class=\"navbar-text\">
  423.                     {% if app.user is not null %}
  424.                         {% if is_granted(\x27ROLE_PREVIOUS_ADMIN\x27) %}
  425.                             Simulation en tant que {{ app.user.prenom }} {{ app.user.nom | upper }} ({{ app.user.profil.libelle }}) (<a href=\"{{ path(\x27simuler_utilisateur\x27, {\x27_switch_user\x27: \x27_exit\x27}) }}\"><i class=\"fa fa-09x fa-power-off\"></i> Déconnexion</a>)
  426.                         {% else %}
  427.                             {{ app.user.prenom }} {{ app.user.nom | upper }} <a href=\"{{ path(\x27deconnexion\x27) }}\"><i class=\"fa fa-power-off\"></i> Déconnexion</a>
  428.                         {% endif %}
  429.                         {% if (        is_granted(constant(\"App\\\\Entity\\\\Parametrage\\\\EnumDroit::ACCES_LISTES_PARTENAIRES\")) 
  430.                                and not is_granted(constant(\"App\\\\Entity\\\\Parametrage\\\\EnumDroit::ACCES_LISTES_DEPARTEMENT\")) ) or
  431.                               (        is_granted(constant(\"App\\\\Entity\\\\Parametrage\\\\EnumDroit::ACCES_STATS\")) 
  432.                                and not is_granted(constant(\"App\\\\Entity\\\\Parametrage\\\\EnumDroit::GESTION_UTILISATEURS_DEPARTEMENT\")) ) %} 
  433.                             <br/>
  434.                         {% else %}
  435.                             <div id=\"showHelp\" class=\"text-right pt-2\"><a class=\x27iconeAction\x27 data-toggle=\"collapse\" href=\"#helpAlert\"><i class=\x27far fa-question-circle\x27></i> Aide</a></div>
  436.                         {% endif %}
  437.                     {% else %}
  438.                         Non connecté (!) (<a href=\"{{ path(\x27connexion\x27) }}\">Connexion</a>)
  439.                     {% endif %}
  440.                 </span>
  441.             </div>
  442.         </nav>
  443.         <div id=\"helpAlert\" class=\"collapse alert alert-info\" role=\"alert\" >
  444.             {% if is_granted(constant(\"App\\\\Entity\\\\Parametrage\\\\EnumDroit::GESTION_UTILISATEURS_DEPARTEMENT\")) %}
  445.                 {% set guide_utilisateur = \x27Manuel utilisateur - Administrateur.pdf\x27 %}
  446.             {% elseif is_granted(constant(\"App\\\\Entity\\\\Parametrage\\\\EnumDroit::DECLARATION_ACCUEILS\")) %}
  447.                 {% set guide_utilisateur = \x27Manuel utilisateur - Assistant maternel.pdf\x27 %}
  448.             {% else %}
  449.                 {% set guide_utilisateur = \x27Manuel utilisateur - Utilisateur pro.pdf\x27 %}
  450.             {% endif %}
  451.             Pour le support et l\x27aide à l\x27utilisation, consultez le <a target=\"_blank\" href=\"/guides/{{ guide_utilisateur }}\">guide utilisateur</a>.
  452.             {% 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  %}
  453.             <button type=\"button\" class=\"close\" data-toggle=\"collapse\" href=\"#helpAlert\" aria-label=\"Fermer l\x27aide\">
  454.                 <span aria-hidden=\"true\">&times;</span>
  455.             </button>
  456.         </div>
  457.         <div class=\"container p-sm-2\">
  458.             {% block body %} {% endblock %}
  459.         </div>
  460.         <div class=\"footer\">
  461.             {# {% include \x27commun/_debug_rwd.html.twig\x27 %} #}
  462.             <p class=\"my-2 ml-2 text-muted\">
  463.                 &copy; {{ date() | date(\"Y\")}}
  464.                 <a href=\"https://www.enfenconfiance.com/\" target=\"blank\">ENFenCONFIANCE</a> - Tous&nbsp;droits&nbsp;réservés
  465.                 <span class=\"d-print-none\">| <a href=\"{{ path(\x27mentions_legales\x27) }}\">Mentions&nbsp;légales</a></span>
  466.                 {% if app.user is not null %}
  467.                     {% if numeroVertActif %} | Numéro&nbsp;vert <a class=\"text-success\" href=\"tel:+33800800095\"> 0&nbsp;800&nbsp;800&nbsp;095</a>{% endif %}
  468.                     {% if version is not null %}<span style=\"display: none\">| v{{ version }}</span>{% endif %}
  469.                 {% endif %}
  470.                 <span class=\"d-print-none\">|
  471.                     <a href=\"#tarteaucitron\">Gestion des Cookies</a>
  472.                 </span>
  473.                 <span class=\"d-print-none\">| <a href=\"{{ path(\x27protection_donnees\x27) }}\">Protection&nbsp;de&nbsp;vos&nbsp;données</a></span>
  474.             </p>
  475.         </div>
  476.         {# TODO : faire les includes js au bon endroit : https://validator.w3.org / https://www.tutorialspoint.com/javascript/javascript_placement.htm #}
  477.         <script src=\"/lib/js/jquery-3.3.1.js\"></script>
  478.         <script src=\"/lib/js/jquery-ui.js\"></script>
  479.         <script src=\"/lib/js/jquery.form.min.js\"></script>
  480.         <script src=\"/lib/js/jquery.ui.touch-punch.min.js\"></script>  {# selectable & touch device à tester #}
  481.         <script src=\"/lib/js/popper.min.js\"></script> {# requis par les tooltip bootstrap #}
  482.         <script src=\"/lib/js/bootstrap.min.js\"></script>
  483.         <script src=\"/lib/js/bootstrap-datepicker.js\"></script>
  484.         <script src=\"/lib/js/bootstrap-datepicker.fr.min.js\"></script>
  485.         <script src=\"/js/commun.js?240610\"></script>
  486.         <script src=\"/lib/js/moment.js\"></script>
  487.         <script src=\"/lib/js/jquery.inputmask.min.js\"></script>
  488.         <script src=\"/lib/css/JSZip-2.5.0/jszip.min.js\"></script>
  489.         <script src=\"/lib/css/DataTables-1.10.20/js/jquery.dataTables.min.js\"></script>
  490.         <script src=\"/lib/css/DataTables-1.10.20/js/dataTables.bootstrap4.min.js\"></script>
  491.         <script src=\"/lib/css/Buttons-1.6.1/js/dataTables.buttons.min.js\"></script>
  492.         <script src=\"/lib/css/Buttons-1.6.1/js/buttons.bootstrap4.min.js\"></script>
  493.         <script src=\"/lib/css/Buttons-1.6.1/js/buttons.html5.min.js\"></script>
  494.         <script src=\"/lib/css/Buttons-1.6.1/js/buttons.print.min.js\"></script>
  495.         {% block javascripts %}
  496.             <script>
  497.                 jQuery(function () {
  498.                     \$(\x27[data-toggle=\"tooltip\"]\x27).tooltip(); //todo : voir si on garde ce composant pour afficher les tooltip avec le text dans les title
  499.                 });
  500.             </script>
  501.             <script type=\"text/javascript\">
  502.                 tarteaucitron.user.gtagUa = \x27{{ idGoogleAnalytics }}\x27;
  503.                 (tarteaucitron.job = tarteaucitron.job || []).push(\x27gtag\x27);
  504.             </script>
  505.         {% endblock %}
  506.     </body>
  507. </html>
  508. ""commun/back_office.html.twig""/home/efc/efc92/dev/site/templates/commun/back_office.html.twig");
  509.     }
  510. }