var/cache/dev/twig/f1/f1b733a1c11bddfc6bcefc2b062c3b5ce18a861b9523265e3837971a213c3212.php line 174

Open in your IDE?
  1. <?php
  2. use Twig\Environment;
  3. use Twig\Error\LoaderError;
  4. use Twig\Error\RuntimeError;
  5. use Twig\Extension\SandboxExtension;
  6. use Twig\Markup;
  7. use Twig\Sandbox\SecurityError;
  8. use Twig\Sandbox\SecurityNotAllowedTagError;
  9. use Twig\Sandbox\SecurityNotAllowedFilterError;
  10. use Twig\Sandbox\SecurityNotAllowedFunctionError;
  11. use Twig\Source;
  12. use Twig\Template;
  13. /* base.html.twig */
  14. class __TwigTemplate_dbecf933bc2ad44b5ad33895dd28156704cb67c7b028e9b44250bd5b2bb490cd extends Template
  15. {
  16.     private $source;
  17.     private $macros = [];
  18.     public function __construct(Environment $env)
  19.     {
  20.         parent::__construct($env);
  21.         $this->source $this->getSourceContext();
  22.         $this->parent false;
  23.         $this->blocks = [
  24.             'title' => [$this'block_title'],
  25.             'stylesheets' => [$this'block_stylesheets'],
  26.             'javascript_include' => [$this'block_javascript_include'],
  27.             'body' => [$this'block_body'],
  28.             'javascripts' => [$this'block_javascripts'],
  29.         ];
  30.     }
  31.     protected function doDisplay(array $context, array $blocks = [])
  32.     {
  33.         $macros $this->macros;
  34.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  35.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""base.html.twig"));
  36.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  37.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""base.html.twig"));
  38.         // line 1
  39.         echo "<!DOCTYPE html>
  40. <html>
  41. <head>
  42.     <meta charset=\"UTF-8\">
  43.     <title>";
  44.         // line 5
  45.         $this->displayBlock('title'$context$blocks);
  46.         echo "</title>
  47.     <link href=\"https://cdn.jsdelivr.net/npm/bootstrap@5.1.3/dist/css/bootstrap.min.css\" rel=\"stylesheet\" integrity=\"sha384-1BmE4kWBq78iYhFldvKuhfTAU6auU8tT94WrHftjDbrCEXSU1oBoqyl2QvZ6jIW3\" crossorigin=\"anonymous\">
  48.     <link rel=\"stylesheet\" href=\"https://bootswatch.com/4/flatly/bootstrap.min.css\">
  49.     <style>
  50.     .nav-link{
  51.         color: #18bc9c;
  52.     }</style>
  53.     ";
  54.         // line 12
  55.         $this->displayBlock('stylesheets'$context$blocks);
  56.         // line 13
  57.         echo "</head>
  58. <body>
  59. ";
  60.         // line 15
  61.         $this->displayBlock('javascript_include'$context$blocks);
  62.         // line 20
  63.         echo "<nav class=\"navbar navbar-expand-lg navbar-dark bg-primary\">
  64.     <a class=\"navbar-brand\" href=\"#\">CDOS 86 <br> <h6>Service fonction employeur</h6></a>
  65.     <button class=\"navbar-toggler\" type=\"button\" data-toggle=\"collapse\" data-target=\"#navbarColor01\" aria-controls=\"navbarColor01\" aria-expanded=\"false\" aria-label=\"Toggle navigation\">
  66.         <span class=\"navbar-toggler-icon\"></span>
  67.     </button>
  68.     <div class=\"collapse navbar-collapse\" id=\"navbarColor01\">
  69.         <ul class=\"navbar-nav mr-auto\">
  70.             <li class=\"nav-item\">
  71.                 <a class=\"nav-link\" href=\"/\">Accueil</a>
  72.             </li>
  73.             ";
  74.         // line 31
  75.         if (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.'31$this->source); })()), "user", [], "any"falsefalsefalse31)) {
  76.             // line 32
  77.             echo "                ";
  78.             $context['_parent'] = $context;
  79.             $context['_seq'] = twig_ensure_traversable(twig_get_attribute($this->env$this->sourcetwig_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.'32$this->source); })()), "user", [], "any"falsefalsefalse32), "roles", [], "method"falsefalsefalse32));
  80.             foreach ($context['_seq'] as $context["_key"] => $context["role"]) {
  81.                 // line 33
  82.                 echo "
  83.                     ";
  84.                 // line 34
  85.                 if (($context["role"] == "ROLE_SUPER_ADMIN")) {
  86.                     // line 35
  87.                     echo "                        <li class=\"nav-item\">
  88.                             <a class=\"nav-link\" href=\"/inscription\">Créer un compte</a>
  89.                         </li>
  90.                         <li class=\"nav-item\">
  91.                             <a class=\"nav-link\" href=\"";
  92.                     // line 39
  93.                     echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("affAssociation", ["but" => "association"]);
  94.                     echo "\">Associations</a>
  95.                         </li>
  96.                         <li class=\"nav-item\">
  97.                             <a class=\"nav-link\" href=\"";
  98.                     // line 42
  99.                     echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("affAllSalaries", ["but" => "salarie"]);
  100.                     echo "\">Salariés</a>
  101.                         </li>
  102.                         <li class=\"nav-item\">
  103.                             <a class=\"nav-link\" href=\"";
  104.                     // line 45
  105.                     echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("ExportInfosAsso");
  106.                     echo "\">Export Infos Associations</a>
  107.                         </li>
  108.                         <li class=\"nav-item\">
  109.                             <a class=\"nav-link\" href=\"";
  110.                     // line 48
  111.                     echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("ExportInfosSalaries");
  112.                     echo "\">Variables</a>
  113.                         </li>
  114.                         <li class=\"nav-item\">
  115.                             <a class=\"nav-link\" href=\"";
  116.                     // line 51
  117.                     echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("OngletDocListeAssociations");
  118.                     echo "\">Dépôt des documents associations</a>
  119.                         </li>
  120.                         <li class=\"nav-item\">
  121.                             <a class=\"nav-link\" href=\"/OngletDocSalariesParAsso\">Documents salariés reçus</a>
  122.                         </li>
  123.                     ";
  124.                 }
  125.                 // line 58
  126.                 echo "                    ";
  127.                 if (($context["role"] == "ROLE_ADMIN")) {
  128.                     // line 59
  129.                     echo "                        <li class=\"nav-item\">
  130.                             <a class=\"nav-link\" href=\"/MonAssociation\">Mon Association</a>
  131.                         </li>
  132.                         <li class=\"nav-item\">
  133.                             <a class=\"nav-link\" href=\"/ListeSalaries\">Liste des salariés</a>
  134.                         </li>
  135.                         <li class=\"nav-item\">
  136.                             <a class=\"nav-link\" href=\"";
  137.                     // line 66
  138.                     echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("Export Infos Salariés", ["amail" => twig_get_attribute($this->env$this->sourcetwig_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.'66$this->source); })()), "user", [], "any"falsefalsefalse66), "comail", [], "any"falsefalsefalse66)]), "html"nulltrue);
  139.                     echo "\">Export Infos Salariés</a>
  140.                         </li>
  141.                         <li class=\"nav-item\">
  142.                             <a class=\"nav-link\" href=\"/OngletDocListeSalaries\">Documents Salariés</a>
  143.                         </li>
  144.                         <li class=\"nav-item\">
  145.                             <a class=\"nav-link\" href=\"/OngletDocAssociations\">Documents Associations</a>
  146.                         </li>
  147.                         
  148.                     ";
  149.                 }
  150.                 // line 76
  151.                 echo "                ";
  152.             }
  153.             $_parent $context['_parent'];
  154.             unset($context['_seq'], $context['_iterated'], $context['_key'], $context['role'], $context['_parent'], $context['loop']);
  155.             $context array_intersect_key($context$_parent) + $_parent;
  156.             // line 77
  157.             echo "            ";
  158.         }
  159.         // line 78
  160.         echo "        </ul>
  161.         ";
  162.         // line 79
  163.         if ( !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.'79$this->source); })()), "user", [], "any"falsefalsefalse79)) {
  164.             // line 80
  165.             echo "            <a class=\"nav-link\" href=\"/login\">Connexion</a>
  166.         ";
  167.         } else {
  168.             // line 82
  169.             echo "            ";
  170.             $context['_parent'] = $context;
  171.             $context['_seq'] = twig_ensure_traversable(twig_get_attribute($this->env$this->sourcetwig_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.'82$this->source); })()), "user", [], "any"falsefalsefalse82), "roles", [], "method"falsefalsefalse82));
  172.             foreach ($context['_seq'] as $context["_key"] => $context["role"]) {
  173.                 // line 83
  174.                 echo "                ";
  175.                 if (($context["role"] == "ROLE_SUPER_ADMIN")) {
  176.                     // line 84
  177.                     echo "                    <span style=\"color: #b4b4b4\">Super ADMIN</span>
  178.                 ";
  179.                 }
  180.                 // line 86
  181.                 echo "                ";
  182.                 if (($context["role"] == "ROLE_ADMIN")) {
  183.                     // line 87
  184.                     echo "                    <span style=\"color: #b4b4b4\">Association</span>
  185.                 ";
  186.                 }
  187.                 // line 89
  188.                 echo "            ";
  189.             }
  190.             $_parent $context['_parent'];
  191.             unset($context['_seq'], $context['_iterated'], $context['_key'], $context['role'], $context['_parent'], $context['loop']);
  192.             $context array_intersect_key($context$_parent) + $_parent;
  193.             // line 90
  194.             echo "            <a class=\"nav-link\" href=\"/logout\">Déconnexion</a>
  195.         ";
  196.         }
  197.         // line 92
  198.         echo "    </div>
  199. </nav>
  200. <div class=\"container\">
  201.     <br>
  202.     ";
  203.         // line 96
  204.         $this->displayBlock('body'$context$blocks);
  205.         // line 97
  206.         echo "</div>
  207. ";
  208.         // line 99
  209.         $this->displayBlock('javascripts'$context$blocks);
  210.         // line 100
  211.         echo "</body>
  212. </html>";
  213.         
  214.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  215.         
  216.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  217.     }
  218.     // line 5
  219.     public function block_title($context, array $blocks = [])
  220.     {
  221.         $macros $this->macros;
  222.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  223.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""title"));
  224.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  225.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""title"));
  226.         echo "Welcome!";
  227.         
  228.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  229.         
  230.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  231.     }
  232.     // line 12
  233.     public function block_stylesheets($context, array $blocks = [])
  234.     {
  235.         $macros $this->macros;
  236.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  237.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""stylesheets"));
  238.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  239.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""stylesheets"));
  240.         
  241.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  242.         
  243.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  244.     }
  245.     // line 15
  246.     public function block_javascript_include($context, array $blocks = [])
  247.     {
  248.         $macros $this->macros;
  249.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  250.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""javascript_include"));
  251.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  252.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""javascript_include"));
  253.         // line 16
  254.         echo "    <script src=\"https://code.jquery.com/jquery-3.3.1.js\"></script>
  255.     <script src=\"https://cdn.datatables.net/1.10.19/js/jquery.dataTables.min.js\"></script>
  256.     <script src=\"https://cdn.datatables.net/keytable/2.5.0/js/dataTables.keyTable.min.js\"></script>
  257. ";
  258.         
  259.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  260.         
  261.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  262.     }
  263.     // line 96
  264.     public function block_body($context, array $blocks = [])
  265.     {
  266.         $macros $this->macros;
  267.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  268.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""body"));
  269.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  270.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""body"));
  271.         
  272.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  273.         
  274.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  275.     }
  276.     // line 99
  277.     public function block_javascripts($context, array $blocks = [])
  278.     {
  279.         $macros $this->macros;
  280.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  281.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""javascripts"));
  282.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  283.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""javascripts"));
  284.         
  285.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  286.         
  287.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  288.     }
  289.     public function getTemplateName()
  290.     {
  291.         return "base.html.twig";
  292.     }
  293.     public function isTraitable()
  294.     {
  295.         return false;
  296.     }
  297.     public function getDebugInfo()
  298.     {
  299.         return array (  312 => 99,  294 => 96,  281 => 16,  271 => 15,  253 => 12,  234 => 5,  223 => 100,  221 => 99,  217 => 97,  215 => 96,  209 => 92,  205 => 90,  199 => 89,  195 => 87,  192 => 86,  188 => 84,  185 => 83,  180 => 82,  176 => 80,  174 => 79,  171 => 78,  168 => 77,  162 => 76,  149 => 66,  140 => 59,  137 => 58,  127 => 51,  121 => 48,  115 => 45,  109 => 42,  103 => 39,  97 => 35,  95 => 34,  92 => 33,  87 => 32,  85 => 31,  72 => 20,  70 => 15,  66 => 13,  64 => 12,  54 => 5,  48 => 1,);
  300.     }
  301.     public function getSourceContext()
  302.     {
  303.         return new Source("<!DOCTYPE html>
  304. <html>
  305. <head>
  306.     <meta charset=\"UTF-8\">
  307.     <title>{% block title %}Welcome!{% endblock %}</title>
  308.     <link href=\"https://cdn.jsdelivr.net/npm/bootstrap@5.1.3/dist/css/bootstrap.min.css\" rel=\"stylesheet\" integrity=\"sha384-1BmE4kWBq78iYhFldvKuhfTAU6auU8tT94WrHftjDbrCEXSU1oBoqyl2QvZ6jIW3\" crossorigin=\"anonymous\">
  309.     <link rel=\"stylesheet\" href=\"https://bootswatch.com/4/flatly/bootstrap.min.css\">
  310.     <style>
  311.     .nav-link{
  312.         color: #18bc9c;
  313.     }</style>
  314.     {% block stylesheets %}{% endblock %}
  315. </head>
  316. <body>
  317. {% block javascript_include %}
  318.     <script src=\"https://code.jquery.com/jquery-3.3.1.js\"></script>
  319.     <script src=\"https://cdn.datatables.net/1.10.19/js/jquery.dataTables.min.js\"></script>
  320.     <script src=\"https://cdn.datatables.net/keytable/2.5.0/js/dataTables.keyTable.min.js\"></script>
  321. {% endblock  %}
  322. <nav class=\"navbar navbar-expand-lg navbar-dark bg-primary\">
  323.     <a class=\"navbar-brand\" href=\"#\">CDOS 86 <br> <h6>Service fonction employeur</h6></a>
  324.     <button class=\"navbar-toggler\" type=\"button\" data-toggle=\"collapse\" data-target=\"#navbarColor01\" aria-controls=\"navbarColor01\" aria-expanded=\"false\" aria-label=\"Toggle navigation\">
  325.         <span class=\"navbar-toggler-icon\"></span>
  326.     </button>
  327.     <div class=\"collapse navbar-collapse\" id=\"navbarColor01\">
  328.         <ul class=\"navbar-nav mr-auto\">
  329.             <li class=\"nav-item\">
  330.                 <a class=\"nav-link\" href=\"/\">Accueil</a>
  331.             </li>
  332.             {% if app.user %}
  333.                 {% for role in app.user.roles() %}
  334.                     {% if role == 'ROLE_SUPER_ADMIN' %}
  335.                         <li class=\"nav-item\">
  336.                             <a class=\"nav-link\" href=\"/inscription\">Créer un compte</a>
  337.                         </li>
  338.                         <li class=\"nav-item\">
  339.                             <a class=\"nav-link\" href=\"{{ path('affAssociation',{'but': 'association'}) }}\">Associations</a>
  340.                         </li>
  341.                         <li class=\"nav-item\">
  342.                             <a class=\"nav-link\" href=\"{{ path('affAllSalaries',{'but': 'salarie'}) }}\">Salariés</a>
  343.                         </li>
  344.                         <li class=\"nav-item\">
  345.                             <a class=\"nav-link\" href=\"{{ path('ExportInfosAsso') }}\">Export Infos Associations</a>
  346.                         </li>
  347.                         <li class=\"nav-item\">
  348.                             <a class=\"nav-link\" href=\"{{ path('ExportInfosSalaries')}}\">Variables</a>
  349.                         </li>
  350.                         <li class=\"nav-item\">
  351.                             <a class=\"nav-link\" href=\"{{ path('OngletDocListeAssociations') }}\">Dépôt des documents associations</a>
  352.                         </li>
  353.                         <li class=\"nav-item\">
  354.                             <a class=\"nav-link\" href=\"/OngletDocSalariesParAsso\">Documents salariés reçus</a>
  355.                         </li>
  356.                     {% endif %}
  357.                     {% if role == 'ROLE_ADMIN' %}
  358.                         <li class=\"nav-item\">
  359.                             <a class=\"nav-link\" href=\"/MonAssociation\">Mon Association</a>
  360.                         </li>
  361.                         <li class=\"nav-item\">
  362.                             <a class=\"nav-link\" href=\"/ListeSalaries\">Liste des salariés</a>
  363.                         </li>
  364.                         <li class=\"nav-item\">
  365.                             <a class=\"nav-link\" href=\"{{ path('Export Infos Salariés',{'amail': app.user.comail}) }}\">Export Infos Salariés</a>
  366.                         </li>
  367.                         <li class=\"nav-item\">
  368.                             <a class=\"nav-link\" href=\"/OngletDocListeSalaries\">Documents Salariés</a>
  369.                         </li>
  370.                         <li class=\"nav-item\">
  371.                             <a class=\"nav-link\" href=\"/OngletDocAssociations\">Documents Associations</a>
  372.                         </li>
  373.                         
  374.                     {% endif %}
  375.                 {% endfor %}
  376.             {% endif %}
  377.         </ul>
  378.         {% if not app.user %}
  379.             <a class=\"nav-link\" href=\"/login\">Connexion</a>
  380.         {% else %}
  381.             {% for role in app.user.roles() %}
  382.                 {% if role == 'ROLE_SUPER_ADMIN' %}
  383.                     <span style=\"color: #b4b4b4\">Super ADMIN</span>
  384.                 {% endif %}
  385.                 {% if role == 'ROLE_ADMIN' %}
  386.                     <span style=\"color: #b4b4b4\">Association</span>
  387.                 {% endif %}
  388.             {% endfor %}
  389.             <a class=\"nav-link\" href=\"/logout\">Déconnexion</a>
  390.         {% endif %}
  391.     </div>
  392. </nav>
  393. <div class=\"container\">
  394.     <br>
  395.     {% block body %}{% endblock %}
  396. </div>
  397. {% block javascripts %}{% endblock %}
  398. </body>
  399. </html>""base.html.twig""/home/rlvchht/www/dev/templates/base.html.twig");
  400.     }
  401. }