var/cache/dev/twig/0d/0dc883bd8e32ed9b97d0b980031add3f.php line 80

  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. /* partials/_sidebar.html.twig */
  16. class __TwigTemplate_5640aeb3c07be393ea2588e676b0bc9a 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.         ];
  30.     }
  31.     protected function doDisplay(array $context, array $blocks = []): iterable
  32.     {
  33.         $macros $this->macros;
  34.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  35.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""partials/_sidebar.html.twig"));
  36.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  37.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""partials/_sidebar.html.twig"));
  38.         // line 1
  39.         yield "<nav class=\"header-mobile d-flex d-lg-none justify-content-between align-items-center bg-white  border-1 border-bottom px-4 py-3\">
  40. \t<a class=\"header-logo d-flex align-items-center \" href=\"";
  41.         // line 2
  42.         yield $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("app_home");
  43.         yield "\" aria-label=\"Retour à l'accueil\"><img class=\"w-100\" loading=\"lazy\" src=\"";
  44.         yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/images/Bilbea-logo-H sans.webp"), "html"nulltrue);
  45.         yield "\" alt=\"\"/></a>
  46. \t<button id=\"open-sidebar\" type=\"button\" class=\"fill-primary icon-button\" aria-label=\"Menu\" title=\"Menu\">
  47. \t\t<svg class=\"icon-large\" xmlns=\"http://www.w3.org/2000/svg\" viewbox=\"0 0 448 512\"><!--!Font Awesome Free 6.5.1 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license/free Copyright 2024 Fonticons, Inc.--><path d=\"M0 96C0 78.3 14.3 64 32 64H416c17.7 0 32 14.3 32 32s-14.3 32-32 32H32C14.3 128 0 113.7 0 96zM0 256c0-17.7 14.3-32 32-32H416c17.7 0 32 14.3 32 32s-14.3 32-32 32H32c-17.7 0-32-14.3-32-32zM448 416c0 17.7-14.3 32-32 32H32c-17.7 0-32-14.3-32-32s14.3-32 32-32H416c17.7 0 32 14.3 32 32z\"/></svg>
  48. \t</button>
  49. </nav>
  50. <nav id=\"sidebar\" class=\"sidebar border-1 border-end px-3 py-3 py-2 flex-column \">
  51. \t<div class=\"d-flex justify-content-between align-items-center mb-3 gap-4\">
  52. \t\t<a class=\"sidebar-logo d-block w-100\" href=\"";
  53.         // line 12
  54.         yield $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("app_home");
  55.         yield "\" aria-label=\"Retour à l'accueil\"><img class=\"w-100\" loading=\"lazy\" src=\"";
  56.         yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/images/Bilbea-logo-H sans.webp"), "html"nulltrue);
  57.         yield "\" alt=\"\"/></a>
  58. \t\t<button id=\"close-sidebar\" type=\"button\" class=\"fill-primary icon-button d-block d-lg-none\" aria-label=\"Fermer le menu\" title=\"Fermer le menu\">
  59. \t\t\t<svg class=\"icon-large\" xmlns=\"http://www.w3.org/2000/svg\" viewbox=\"0 0 384 512\"><!--!Font Awesome Free 6.5.1 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license/free Copyright 2024 Fonticons, Inc.--><path d=\"M342.6 150.6c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0L192 210.7 86.6 105.4c-12.5-12.5-32.8-12.5-45.3 0s-12.5 32.8 0 45.3L146.7 256 41.4 361.4c-12.5 12.5-12.5 32.8 0 45.3s32.8 12.5 45.3 0L192 301.3 297.4 406.6c12.5 12.5 32.8 12.5 45.3 0s12.5-32.8 0-45.3L237.3 256 342.6 150.6z\"/></svg>
  60. \t\t</button>
  61. \t</div>
  62. \t<ul class=\"sidebar-nav navbar-nav fs-6 flex-fill\">
  63. \t\t";
  64.         // line 21
  65.         if (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.'21$this->source); })()), "user", [], "any"falsefalsefalse21), "companyMember", [], "any"falsefalsefalse21)) {
  66.             // line 22
  67.             yield "
  68. \t\t\t";
  69.             // line 23
  70.             $context["company"] = 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.'23$this->source); })()), "user", [], "any"falsefalsefalse23), "companyMember", [], "any"falsefalsefalse23), "company", [], "any"falsefalsefalse23);
  71.             // line 24
  72.             yield "\t\t\t";
  73.             $context["companyId"] = CoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->source, (isset($context["app"]) || array_key_exists("app"$context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.'24$this->source); })()), "user", [], "any"falsefalsefalse24), "companyMember", [], "any"falsefalsefalse24), "company", [], "any"falsefalsefalse24), "id", [], "any"falsefalsefalse24);
  74.             // line 25
  75.             yield "
  76. \t\t";
  77.         } elseif (CoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->source,         // line 26
  78. (isset($context["app"]) || array_key_exists("app"$context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.'26$this->source); })()), "request", [], "any"falsefalsefalse26), "attributes", [], "any"falsefalsefalse26), "get", ["company"], "method"falsefalsefalse26)) {
  79.             // line 27
  80.             yield "\t\t\t";
  81.             $context["company"] = 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.'27$this->source); })()), "request", [], "any"falsefalsefalse27), "attributes", [], "any"falsefalsefalse27), "get", ["company"], "method"falsefalsefalse27);
  82.             // line 28
  83.             yield "\t\t\t";
  84.             $context["companyId"] = CoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->source, (isset($context["app"]) || array_key_exists("app"$context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.'28$this->source); })()), "request", [], "any"falsefalsefalse28), "attributes", [], "any"falsefalsefalse28), "get", ["company"], "method"falsefalsefalse28), "id", [], "any"falsefalsefalse28);
  85.             // line 29
  86.             yield "\t\t";
  87.         } else {
  88.             // line 30
  89.             yield "\t\t\t";
  90.             if (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.'30$this->source); })()), "request", [], "any"falsefalsefalse30), "attributes", [], "any"falsefalsefalse30), "get", ["evaluation"], "method"falsefalsefalse30)) {
  91.                 // line 31
  92.                 yield "\t\t\t\t";
  93.                 $context["company"] = CoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->source, (isset($context["app"]) || array_key_exists("app"$context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.'31$this->source); })()), "request", [], "any"falsefalsefalse31), "attributes", [], "any"falsefalsefalse31), "get", ["evaluation"], "method"falsefalsefalse31), "company", [], "any"falsefalsefalse31);
  94.                 // line 32
  95.                 yield "\t\t\t\t";
  96.                 $context["companyId"] = CoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->source, (isset($context["app"]) || array_key_exists("app"$context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.'32$this->source); })()), "request", [], "any"falsefalsefalse32), "attributes", [], "any"falsefalsefalse32), "get", ["evaluation"], "method"falsefalsefalse32), "company", [], "any"falsefalsefalse32), "id", [], "any"falsefalsefalse32);
  97.                 // line 33
  98.                 yield "
  99. \t\t\t";
  100.             } elseif (CoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->source,             // line 34
  101. (isset($context["app"]) || array_key_exists("app"$context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.'34$this->source); })()), "request", [], "any"falsefalsefalse34), "attributes", [], "any"falsefalsefalse34), "get", ["bilan"], "method"falsefalsefalse34)) {
  102.                 // line 35
  103.                 yield "\t\t\t\t";
  104.                 $context["company"] = CoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->source, (isset($context["app"]) || array_key_exists("app"$context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.'35$this->source); })()), "request", [], "any"falsefalsefalse35), "attributes", [], "any"falsefalsefalse35), "get", ["bilan"], "method"falsefalsefalse35), "company", [], "any"falsefalsefalse35);
  105.                 // line 36
  106.                 yield "\t\t\t\t";
  107.                 $context["companyId"] = CoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->source, (isset($context["app"]) || array_key_exists("app"$context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.'36$this->source); })()), "request", [], "any"falsefalsefalse36), "attributes", [], "any"falsefalsefalse36), "get", ["bilan"], "method"falsefalsefalse36), "company", [], "any"falsefalsefalse36), "id", [], "any"falsefalsefalse36);
  108.                 // line 37
  109.                 yield "\t\t\t";
  110.             } elseif (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.'37$this->source); })()), "request", [], "any"falsefalsefalse37), "attributes", [], "any"falsefalsefalse37), "get", ["labelNR"], "method"falsefalsefalse37)) {
  111.                 // line 38
  112.                 yield "\t\t\t\t";
  113.                 $context["company"] = CoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->source, (isset($context["app"]) || array_key_exists("app"$context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.'38$this->source); })()), "request", [], "any"falsefalsefalse38), "attributes", [], "any"falsefalsefalse38), "get", ["labelNR"], "method"falsefalsefalse38), "company", [], "any"falsefalsefalse38);
  114.                 // line 39
  115.                 yield "\t\t\t\t";
  116.                 $context["companyId"] = CoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->source, (isset($context["app"]) || array_key_exists("app"$context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.'39$this->source); })()), "request", [], "any"falsefalsefalse39), "attributes", [], "any"falsefalsefalse39), "get", ["labelNR"], "method"falsefalsefalse39), "company", [], "any"falsefalsefalse39), "id", [], "any"falsefalsefalse39);
  117.                 // line 40
  118.                 yield "\t\t\t";
  119.             } elseif (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.'40$this->source); })()), "request", [], "any"falsefalsefalse40), "attributes", [], "any"falsefalsefalse40), "get", ["auditNR"], "method"falsefalsefalse40)) {
  120.                 // line 41
  121.                 yield "\t\t\t\t";
  122.                 $context["company"] = CoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->source, (isset($context["app"]) || array_key_exists("app"$context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.'41$this->source); })()), "request", [], "any"falsefalsefalse41), "attributes", [], "any"falsefalsefalse41), "get", ["auditNR"], "method"falsefalsefalse41), "company", [], "any"falsefalsefalse41);
  123.                 // line 42
  124.                 yield "\t\t\t\t";
  125.                 $context["companyId"] = CoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->source, (isset($context["app"]) || array_key_exists("app"$context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.'42$this->source); })()), "request", [], "any"falsefalsefalse42), "attributes", [], "any"falsefalsefalse42), "get", ["auditNR"], "method"falsefalsefalse42), "company", [], "any"falsefalsefalse42), "id", [], "any"falsefalsefalse42);
  126.                 // line 43
  127.                 yield "
  128. \t\t\t";
  129.             } else {
  130.                 // line 45
  131.                 yield "\t\t\t\t";
  132.                 $context["company"] = null;
  133.                 // line 46
  134.                 yield "\t\t\t\t";
  135.                 $context["companyId"] = null;
  136.                 // line 47
  137.                 yield "\t\t\t";
  138.             }
  139.             // line 48
  140.             yield "\t\t";
  141.         }
  142.         // line 49
  143.         yield "
  144. \t\t";
  145.         // line 51
  146.         if ($this->extensions['Symfony\Bridge\Twig\Extension\SecurityExtension']->isGranted("ROLE_COMPANY")) {
  147.             // line 52
  148.             yield "\t\t\t<li>
  149. \t\t\t\t<h4 class=\"fs-5 mt-2\">";
  150.             // line 53
  151.             yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->source, (isset($context["company"]) || array_key_exists("company"$context) ? $context["company"] : (function () { throw new RuntimeError('Variable "company" does not exist.'53$this->source); })()), "name", [], "any"falsefalsefalse53), "html"nulltrue);
  152.             yield "</h4>
  153. \t\t\t</li>
  154. \t\t\t";
  155.             // line 56
  156.             if ($this->extensions['Symfony\Bridge\Twig\Extension\SecurityExtension']->isGranted("ROLE_COMPANY_PILOT")) {
  157.                 // line 57
  158.                 yield "\t\t\t\t";
  159.                 yield from                 $this->loadTemplate("partials/menu/_sidebar_link.html.twig""partials/_sidebar.html.twig"57)->unwrap()->yield(CoreExtension::merge($context, ["path" => "app_pilot_manage_members""arguments" => null"linkLabel" => "Membres""iconPath" => "icons/_users_icon.html.twig""app" => (isset($context["app"]) || array_key_exists("app"$context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.'57$this->source); })())]));
  160.                 // line 58
  161.                 yield "\t\t\t";
  162.             }
  163.             // line 59
  164.             yield "\t\t\t";
  165.             // line 60
  166.             yield "
  167. \t\t\t";
  168.             // line 61
  169.             yield from             $this->loadTemplate("partials/menu/_sidebar_link.html.twig""partials/_sidebar.html.twig"61)->unwrap()->yield(CoreExtension::merge($context, ["path" => "app_roadmap_index""arguments" => null"linkLabel" => "Feuille de route""iconPath" => "icons/_calendar_icon.html.twig""app" => (isset($context["app"]) || array_key_exists("app"$context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.'61$this->source); })())]));
  170.             // line 62
  171.             yield "
  172. \t\t\t";
  173.             // line 63
  174.             if (CoreExtension::getAttribute($this->env$this->source, (isset($context["company"]) || array_key_exists("company"$context) ? $context["company"] : (function () { throw new RuntimeError('Variable "company" does not exist.'63$this->source); })()), "isAuditNR", [], "any"falsefalsefalse63)) {
  175.                 // line 64
  176.                 yield "\t\t\t\t";
  177.                 yield from                 $this->loadTemplate("partials/menu/_sidebar_link.html.twig""partials/_sidebar.html.twig"64)->unwrap()->yield(CoreExtension::merge($context, ["path" => "app_maturity_nr""arguments" => null"linkLabel" => "Maturité NR""iconPath" => "icons/_maturite_icon.html.twig""app" => (isset($context["app"]) || array_key_exists("app"$context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.'64$this->source); })())]));
  178.                 // line 65
  179.                 yield "\t\t\t";
  180.             }
  181.             // line 66
  182.             yield "\t\t\t";
  183.             if (CoreExtension::getAttribute($this->env$this->source, (isset($context["company"]) || array_key_exists("company"$context) ? $context["company"] : (function () { throw new RuntimeError('Variable "company" does not exist.'66$this->source); })()), "isLabelNR", [], "any"falsefalsefalse66)) {
  184.                 // line 67
  185.                 yield "\t\t\t\t";
  186.                 yield from                 $this->loadTemplate("partials/menu/_sidebar_link.html.twig""partials/_sidebar.html.twig"67)->unwrap()->yield(CoreExtension::merge($context, ["path" => "app_label_nr""arguments" => null"linkLabel" => "Label NR""iconPath" => "icons/_label_icon.html.twig""app" => (isset($context["app"]) || array_key_exists("app"$context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.'67$this->source); })())]));
  187.                 // line 68
  188.                 yield "\t\t\t";
  189.             }
  190.             // line 69
  191.             yield "
  192. \t\t\t";
  193.             // line 70
  194.             if (CoreExtension::getAttribute($this->env$this->source, (isset($context["company"]) || array_key_exists("company"$context) ? $context["company"] : (function () { throw new RuntimeError('Variable "company" does not exist.'70$this->source); })()), "isBilanCarbone", [], "any"falsefalsefalse70)) {
  195.                 // line 71
  196.                 yield "\t\t\t\t";
  197.                 yield from                 $this->loadTemplate("partials/menu/_sidebar_link.html.twig""partials/_sidebar.html.twig"71)->unwrap()->yield(CoreExtension::merge($context, ["path" => "app_bc_index""arguments" => null"linkLabel" => "Bilan Carbone SI""iconPath" => "icons/_bilan_icon.html.twig""app" => (isset($context["app"]) || array_key_exists("app"$context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.'71$this->source); })())]));
  198.                 // line 72
  199.                 yield "\t\t\t";
  200.             }
  201.             // line 73
  202.             yield "\t\t";
  203.         }
  204.         // line 74
  205.         yield "
  206. \t\t";
  207.         // line 75
  208.         if (($this->extensions['Symfony\Bridge\Twig\Extension\SecurityExtension']->isGranted("ROLE_BILBEA") || $this->extensions['Symfony\Bridge\Twig\Extension\SecurityExtension']->isGranted("ROLE_ADMIN"))) {
  209.             // line 76
  210.             yield "\t\t\t<li class=\"nav-item text-end text-lg-start\">
  211. \t\t\t\t<a class=\"d-flex flex-nowrap nav-link fs-6 rounded ";
  212.             // line 77
  213.             if ((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.'77$this->source); })()), "request", [], "any"falsefalsefalse77), "get", ["_route"], "method"falsefalsefalse77) == "app_backoffice")) {
  214.                 yield "active ";
  215.             }
  216.             yield "\" aria-current=\"page\" href=\"";
  217.             yield $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("app_backoffice");
  218.             yield "\">
  219. \t\t\t\t\t<span class=\"d-flex justify-content-center align-items-center col-2 fill-ongoing\">
  220. \t\t\t\t\t\t<svg class=\"me-2 text-icon\" xmlns=\"http://www.w3.org/2000/svg\" height=\"1em\" viewbox=\"0 0 576 512\"><!--! Font Awesome Free 6.4.2 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license (Commercial License) Copyright 2023 Fonticons, Inc. --><path d=\"M288 32c-80.8 0-145.5 36.8-192.6 80.6C48.6 156 17.3 208 2.5 243.7c-3.3 7.9-3.3 16.7 0 24.6C17.3 304 48.6 356 95.4 399.4C142.5 443.2 207.2 480 288 480s145.5-36.8 192.6-80.6c46.8-43.5 78.1-95.4 93-131.1c3.3-7.9 3.3-16.7 0-24.6c-14.9-35.7-46.2-87.7-93-131.1C433.5 68.8 368.8 32 288 32zM144 256a144 144 0 1 1 288 0 144 144 0 1 1 -288 0zm144-64c0 35.3-28.7 64-64 64c-7.1 0-13.9-1.2-20.3-3.3c-5.5-1.8-11.9 1.6-11.7 7.4c.3 6.9 1.3 13.8 3.2 20.7c13.7 51.2 66.4 81.6 117.6 67.9s81.6-66.4 67.9-117.6c-11.1-41.5-47.8-69.4-88.6-71.1c-5.8-.2-9.2 6.1-7.4 11.7c2.1 6.4 3.3 13.2 3.3 20.3z\"/></svg>
  221. \t\t\t\t\t</span>
  222. \t\t\t\t\t<span>Backoffice</span>
  223. \t\t\t\t</a>
  224. \t\t\t</li>
  225. \t\t\t";
  226.             // line 84
  227.             if ((isset($context["companyId"]) || array_key_exists("companyId"$context) ? $context["companyId"] : (function () { throw new RuntimeError('Variable "companyId" does not exist.'84$this->source); })())) {
  228.                 // line 85
  229.                 yield "\t\t\t\t<li>
  230. \t\t\t\t\t<hr class=\"mb-2 mt-1\">
  231. \t\t\t\t\t<h4 class=\"fs-5 mt-2\">";
  232.                 // line 87
  233.                 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->source, (isset($context["company"]) || array_key_exists("company"$context) ? $context["company"] : (function () { throw new RuntimeError('Variable "company" does not exist.'87$this->source); })()), "name", [], "any"falsefalsefalse87), "html"nulltrue);
  234.                 yield "</h4>
  235. \t\t\t\t</li>
  236. \t\t\t\t";
  237.                 // line 90
  238.                 yield "
  239. \t\t\t\t";
  240.                 // line 91
  241.                 yield from                 $this->loadTemplate("partials/menu/_sidebar_link.html.twig""partials/_sidebar.html.twig"91)->unwrap()->yield(CoreExtension::merge($context, ["path" => "app_roadmap_index""arguments" => ["company" => (isset($context["companyId"]) || array_key_exists("companyId"$context) ? $context["companyId"] : (function () { throw new RuntimeError('Variable "companyId" does not exist.'91$this->source); })())], "linkLabel" => "Feuille de route""iconPath" => "icons/_calendar_icon.html.twig""app" => (isset($context["app"]) || array_key_exists("app"$context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.'91$this->source); })())]));
  242.                 // line 92
  243.                 yield "
  244. \t\t\t\t";
  245.                 // line 93
  246.                 if (CoreExtension::getAttribute($this->env$this->source, (isset($context["company"]) || array_key_exists("company"$context) ? $context["company"] : (function () { throw new RuntimeError('Variable "company" does not exist.'93$this->source); })()), "isAuditNR", [], "any"falsefalsefalse93)) {
  247.                     // line 94
  248.                     yield "\t\t\t\t\t";
  249.                     yield from                     $this->loadTemplate("partials/menu/_sidebar_link.html.twig""partials/_sidebar.html.twig"94)->unwrap()->yield(CoreExtension::merge($context, ["path" => "app_maturity_nr""arguments" => ["company" => (isset($context["companyId"]) || array_key_exists("companyId"$context) ? $context["companyId"] : (function () { throw new RuntimeError('Variable "companyId" does not exist.'94$this->source); })())], "linkLabel" => "Maturité NR""iconPath" => "icons/_maturite_icon.html.twig""app" => (isset($context["app"]) || array_key_exists("app"$context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.'94$this->source); })())]));
  250.                     // line 95
  251.                     yield "\t\t\t\t";
  252.                 }
  253.                 // line 96
  254.                 yield "
  255. \t\t\t\t";
  256.                 // line 97
  257.                 if (CoreExtension::getAttribute($this->env$this->source, (isset($context["company"]) || array_key_exists("company"$context) ? $context["company"] : (function () { throw new RuntimeError('Variable "company" does not exist.'97$this->source); })()), "isLabelNR", [], "any"falsefalsefalse97)) {
  258.                     // line 98
  259.                     yield "\t\t\t\t\t";
  260.                     yield from                     $this->loadTemplate("partials/menu/_sidebar_link.html.twig""partials/_sidebar.html.twig"98)->unwrap()->yield(CoreExtension::merge($context, ["path" => "app_label_nr""arguments" => ["company" => (isset($context["companyId"]) || array_key_exists("companyId"$context) ? $context["companyId"] : (function () { throw new RuntimeError('Variable "companyId" does not exist.'98$this->source); })())], "linkLabel" => "Label NR""iconPath" => "icons/_label_icon.html.twig""app" => (isset($context["app"]) || array_key_exists("app"$context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.'98$this->source); })())]));
  261.                     // line 99
  262.                     yield "\t\t\t\t";
  263.                 }
  264.                 // line 100
  265.                 yield "
  266. \t\t\t\t";
  267.                 // line 101
  268.                 if (CoreExtension::getAttribute($this->env$this->source, (isset($context["company"]) || array_key_exists("company"$context) ? $context["company"] : (function () { throw new RuntimeError('Variable "company" does not exist.'101$this->source); })()), "isBilanCarbone", [], "any"falsefalsefalse101)) {
  269.                     // line 102
  270.                     yield "\t\t\t\t\t";
  271.                     yield from                     $this->loadTemplate("partials/menu/_sidebar_link.html.twig""partials/_sidebar.html.twig"102)->unwrap()->yield(CoreExtension::merge($context, ["path" => "app_bc_index""arguments" => ["company" => (isset($context["companyId"]) || array_key_exists("companyId"$context) ? $context["companyId"] : (function () { throw new RuntimeError('Variable "companyId" does not exist.'102$this->source); })())], "linkLabel" => "Bilan Carbone SI""iconPath" => "icons/_bilan_icon.html.twig""app" => (isset($context["app"]) || array_key_exists("app"$context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.'102$this->source); })())]));
  272.                     // line 103
  273.                     yield "\t\t\t\t";
  274.                 }
  275.                 // line 104
  276.                 yield "\t\t\t";
  277.             }
  278.             // line 105
  279.             yield "
  280. \t\t";
  281.         }
  282.         // line 108
  283.         yield "
  284. \t</ul>
  285. \t<div>
  286. \t\t<p class=\"small mb-2\">Connecté en tant que
  287. \t\t\t<br>
  288. \t\t\t<span class=\"text-primary fw-semibold fs-5\">";
  289.         // line 116
  290.         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.'116$this->source); })()), "user", [], "any"falsefalsefalse116), "getName", [], "any"falsefalsefalse116), "html"nulltrue);
  291.         yield "</span>
  292. \t\t</p>
  293. \t\t<div class=\"d-flex align-items-center gap-2\">
  294. \t\t\t";
  295.         // line 119
  296.         if ($this->extensions['Symfony\Bridge\Twig\Extension\SecurityExtension']->isGranted("ROLE_COMPANY")) {
  297.             // line 120
  298.             yield "\t\t\t\t<a href=\"";
  299.             yield $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("app_profile");
  300.             yield "\" class=\"fill-black\" aria-label=\"Lien vers profil\" title=\"Profil\">
  301. \t\t\t\t\t<svg class=\"icon-large\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" viewbox=\"0 0 24 24\" style=\"fill: rgba(0, 0, 0, 1);transform: ;msFilter:;\">
  302. \t\t\t\t\t\t<path d=\"M12 16c2.206 0 4-1.794 4-4s-1.794-4-4-4-4 1.794-4 4 1.794 4 4 4zm0-6c1.084 0 2 .916 2 2s-.916 2-2 2-2-.916-2-2 .916-2 2-2z\"></path>
  303. \t\t\t\t\t\t<path d=\"m2.845 16.136 1 1.73c.531.917 1.809 1.261 2.73.73l.529-.306A8.1 8.1 0 0 0 9 19.402V20c0 1.103.897 2 2 2h2c1.103 0 2-.897 2-2v-.598a8.132 8.132 0 0 0 1.896-1.111l.529.306c.923.53 2.198.188 2.731-.731l.999-1.729a2.001 2.001 0 0 0-.731-2.732l-.505-.292a7.718 7.718 0 0 0 0-2.224l.505-.292a2.002 2.002 0 0 0 .731-2.732l-.999-1.729c-.531-.92-1.808-1.265-2.731-.732l-.529.306A8.1 8.1 0 0 0 15 4.598V4c0-1.103-.897-2-2-2h-2c-1.103 0-2 .897-2 2v.598a8.132 8.132 0 0 0-1.896 1.111l-.529-.306c-.924-.531-2.2-.187-2.731.732l-.999 1.729a2.001 2.001 0 0 0 .731 2.732l.505.292a7.683 7.683 0 0 0 0 2.223l-.505.292a2.003 2.003 0 0 0-.731 2.733zm3.326-2.758A5.703 5.703 0 0 1 6 12c0-.462.058-.926.17-1.378a.999.999 0 0 0-.47-1.108l-1.123-.65.998-1.729 1.145.662a.997.997 0 0 0 1.188-.142 6.071 6.071 0 0 1 2.384-1.399A1 1 0 0 0 11 5.3V4h2v1.3a1 1 0 0 0 .708.956 6.083 6.083 0 0 1 2.384 1.399.999.999 0 0 0 1.188.142l1.144-.661 1 1.729-1.124.649a1 1 0 0 0-.47 1.108c.112.452.17.916.17 1.378 0 .461-.058.925-.171 1.378a1 1 0 0 0 .471 1.108l1.123.649-.998 1.729-1.145-.661a.996.996 0 0 0-1.188.142 6.071 6.071 0 0 1-2.384 1.399A1 1 0 0 0 13 18.7l.002 1.3H11v-1.3a1 1 0 0 0-.708-.956 6.083 6.083 0 0 1-2.384-1.399.992.992 0 0 0-1.188-.141l-1.144.662-1-1.729 1.124-.651a1 1 0 0 0 .471-1.108z\"></path>
  304. \t\t\t\t\t</svg>
  305. \t\t\t\t</a>
  306. \t\t\t";
  307.         }
  308.         // line 127
  309.         yield "\t\t\t<a href=\"";
  310.         yield $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("app_edit_password_complete");
  311.         yield "\" class=\"fill-black\" aria-label=\"Lien vers modification du mot de passe\" title=\"Modifier mot de passe\">
  312. \t\t\t\t<svg class=\"icon-large\" xmlns=\"http://www.w3.org/2000/svg\" viewbox=\"0 0 24 24\" style=\"fill: rgba(0, 0, 0, 1);transform: ;msFilter:;\">
  313. \t\t\t\t\t<path d=\"M12 2C9.243 2 7 4.243 7 7v2H6c-1.103 0-2 .897-2 2v9c0 1.103.897 2 2 2h12c1.103 0 2-.897 2-2v-9c0-1.103-.897-2-2-2h-1V7c0-2.757-2.243-5-5-5zM9 7c0-1.654 1.346-3 3-3s3 1.346 3 3v2H9V7zm9.002 13H13v-2.278c.595-.347 1-.985 1-1.722 0-1.103-.897-2-2-2s-2 .897-2 2c0 .736.405 1.375 1 1.722V20H6v-9h12l.002 9z\"></path>
  314. \t\t\t\t</svg>
  315. \t\t\t</a>
  316. \t\t\t<a href=\"";
  317.         // line 132
  318.         yield $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("app_logout");
  319.         yield "\" class=\"fill-black\" aria-label=\"Lien vers déconnexion\" title=\"Déconnexion\">
  320. \t\t\t\t<svg class=\"icon-large\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" viewbox=\"0 0 24 24\" style=\"fill: rgba(0, 0, 0, 1);transform: ;msFilter:;\">
  321. \t\t\t\t\t<path d=\"M16 13v-2H7V8l-5 4 5 4v-3z\"></path>
  322. \t\t\t\t\t<path d=\"M20 3h-9c-1.103 0-2 .897-2 2v4h2V5h9v14h-9v-4H9v4c0 1.103.897 2 2 2h9c1.103 0 2-.897 2-2V5c0-1.103-.897-2-2-2z\"></path>
  323. \t\t\t\t</svg>
  324. \t\t\t</a>
  325. \t\t</div>
  326. \t</div>
  327. </nav>
  328. ";
  329.         
  330.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  331.         
  332.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  333.         yield from [];
  334.     }
  335.     /**
  336.      * @codeCoverageIgnore
  337.      */
  338.     public function getTemplateName(): string
  339.     {
  340.         return "partials/_sidebar.html.twig";
  341.     }
  342.     /**
  343.      * @codeCoverageIgnore
  344.      */
  345.     public function isTraitable(): bool
  346.     {
  347.         return false;
  348.     }
  349.     /**
  350.      * @codeCoverageIgnore
  351.      */
  352.     public function getDebugInfo(): array
  353.     {
  354.         return array (  339 => 132,  330 => 127,  319 => 120,  317 => 119,  311 => 116,  301 => 108,  296 => 105,  293 => 104,  290 => 103,  287 => 102,  285 => 101,  282 => 100,  279 => 99,  276 => 98,  274 => 97,  271 => 96,  268 => 95,  265 => 94,  263 => 93,  260 => 92,  258 => 91,  255 => 90,  250 => 87,  246 => 85,  244 => 84,  230 => 77,  227 => 76,  225 => 75,  222 => 74,  219 => 73,  216 => 72,  213 => 71,  211 => 70,  208 => 69,  205 => 68,  202 => 67,  199 => 66,  196 => 65,  193 => 64,  191 => 63,  188 => 62,  186 => 61,  183 => 60,  181 => 59,  178 => 58,  175 => 57,  173 => 56,  167 => 53,  164 => 52,  162 => 51,  158 => 49,  155 => 48,  152 => 47,  149 => 46,  146 => 45,  142 => 43,  139 => 42,  136 => 41,  133 => 40,  130 => 39,  127 => 38,  124 => 37,  121 => 36,  118 => 35,  116 => 34,  113 => 33,  110 => 32,  107 => 31,  104 => 30,  101 => 29,  98 => 28,  95 => 27,  93 => 26,  90 => 25,  87 => 24,  85 => 23,  82 => 22,  80 => 21,  66 => 12,  51 => 2,  48 => 1,);
  355.     }
  356.     public function getSourceContext(): Source
  357.     {
  358.         return new Source("<nav class=\"header-mobile d-flex d-lg-none justify-content-between align-items-center bg-white  border-1 border-bottom px-4 py-3\">
  359. \t<a class=\"header-logo d-flex align-items-center \" href=\"{{ path('app_home') }}\" aria-label=\"Retour à l'accueil\"><img class=\"w-100\" loading=\"lazy\" src=\"{{ asset('assets/images/Bilbea-logo-H sans.webp') }}\" alt=\"\"/></a>
  360. \t<button id=\"open-sidebar\" type=\"button\" class=\"fill-primary icon-button\" aria-label=\"Menu\" title=\"Menu\">
  361. \t\t<svg class=\"icon-large\" xmlns=\"http://www.w3.org/2000/svg\" viewbox=\"0 0 448 512\"><!--!Font Awesome Free 6.5.1 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license/free Copyright 2024 Fonticons, Inc.--><path d=\"M0 96C0 78.3 14.3 64 32 64H416c17.7 0 32 14.3 32 32s-14.3 32-32 32H32C14.3 128 0 113.7 0 96zM0 256c0-17.7 14.3-32 32-32H416c17.7 0 32 14.3 32 32s-14.3 32-32 32H32c-17.7 0-32-14.3-32-32zM448 416c0 17.7-14.3 32-32 32H32c-17.7 0-32-14.3-32-32s14.3-32 32-32H416c17.7 0 32 14.3 32 32z\"/></svg>
  362. \t</button>
  363. </nav>
  364. <nav id=\"sidebar\" class=\"sidebar border-1 border-end px-3 py-3 py-2 flex-column \">
  365. \t<div class=\"d-flex justify-content-between align-items-center mb-3 gap-4\">
  366. \t\t<a class=\"sidebar-logo d-block w-100\" href=\"{{ path('app_home') }}\" aria-label=\"Retour à l'accueil\"><img class=\"w-100\" loading=\"lazy\" src=\"{{ asset('assets/images/Bilbea-logo-H sans.webp') }}\" alt=\"\"/></a>
  367. \t\t<button id=\"close-sidebar\" type=\"button\" class=\"fill-primary icon-button d-block d-lg-none\" aria-label=\"Fermer le menu\" title=\"Fermer le menu\">
  368. \t\t\t<svg class=\"icon-large\" xmlns=\"http://www.w3.org/2000/svg\" viewbox=\"0 0 384 512\"><!--!Font Awesome Free 6.5.1 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license/free Copyright 2024 Fonticons, Inc.--><path d=\"M342.6 150.6c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0L192 210.7 86.6 105.4c-12.5-12.5-32.8-12.5-45.3 0s-12.5 32.8 0 45.3L146.7 256 41.4 361.4c-12.5 12.5-12.5 32.8 0 45.3s32.8 12.5 45.3 0L192 301.3 297.4 406.6c12.5 12.5 32.8 12.5 45.3 0s12.5-32.8 0-45.3L237.3 256 342.6 150.6z\"/></svg>
  369. \t\t</button>
  370. \t</div>
  371. \t<ul class=\"sidebar-nav navbar-nav fs-6 flex-fill\">
  372. \t\t{% if app.user.companyMember %}
  373. \t\t\t{% set company = app.user.companyMember.company  %}
  374. \t\t\t{% set companyId = app.user.companyMember.company.id  %}
  375. \t\t{% elseif app.request.attributes.get('company')  %}
  376. \t\t\t{% set company = app.request.attributes.get('company')  %}
  377. \t\t\t{% set companyId = app.request.attributes.get('company').id  %}
  378. \t\t{% else %}
  379. \t\t\t{% if app.request.attributes.get('evaluation')  %}
  380. \t\t\t\t{% set company = app.request.attributes.get('evaluation').company  %}
  381. \t\t\t\t{% set companyId = app.request.attributes.get('evaluation').company.id  %}
  382. \t\t\t{% elseif app.request.attributes.get('bilan')  %}
  383. \t\t\t\t{% set company = app.request.attributes.get('bilan').company  %}
  384. \t\t\t\t{% set companyId = app.request.attributes.get('bilan').company.id  %}
  385. \t\t\t{% elseif app.request.attributes.get('labelNR')  %}
  386. \t\t\t\t{% set company = app.request.attributes.get('labelNR').company  %}
  387. \t\t\t\t{% set companyId = app.request.attributes.get('labelNR').company.id  %}
  388. \t\t\t{% elseif app.request.attributes.get('auditNR')  %}
  389. \t\t\t\t{% set company = app.request.attributes.get('auditNR').company  %}
  390. \t\t\t\t{% set companyId = app.request.attributes.get('auditNR').company.id  %}
  391. \t\t\t{% else %}
  392. \t\t\t\t{% set company = null  %}
  393. \t\t\t\t{% set companyId = null  %}
  394. \t\t\t{% endif %}
  395. \t\t{% endif %}
  396. \t\t{% if is_granted('ROLE_COMPANY')  %}
  397. \t\t\t<li>
  398. \t\t\t\t<h4 class=\"fs-5 mt-2\">{{company.name}}</h4>
  399. \t\t\t</li>
  400. \t\t\t{% if is_granted('ROLE_COMPANY_PILOT')  %}
  401. \t\t\t\t{% include 'partials/menu/_sidebar_link.html.twig' with {\"path\": \"app_pilot_manage_members\", \"arguments\" : null, \"linkLabel\": \"Membres\", \"iconPath\": \"icons/_users_icon.html.twig\", \"app\": app} %}
  402. \t\t\t{% endif %}
  403. \t\t\t{# {% include 'partials/menu/_sidebar_link.html.twig' with {\"path\": \"app_roadmap_index\", \"arguments\" : null, \"linkLabel\": \"Dashboard\", \"iconPath\": \"icons/_dashboard_icon.html.twig\", \"app\": app} %} #}
  404. \t\t\t{% include 'partials/menu/_sidebar_link.html.twig' with {\"path\": \"app_roadmap_index\", \"arguments\" : null, \"linkLabel\": \"Feuille de route\", \"iconPath\": \"icons/_calendar_icon.html.twig\", \"app\": app} %}
  405. \t\t\t{% if company.isAuditNR %}
  406. \t\t\t\t{% include 'partials/menu/_sidebar_link.html.twig' with {\"path\": \"app_maturity_nr\", \"arguments\" : null, \"linkLabel\": \"Maturité NR\", \"iconPath\": \"icons/_maturite_icon.html.twig\", \"app\": app} %}
  407. \t\t\t{% endif %}
  408. \t\t\t{% if company.isLabelNR %}
  409. \t\t\t\t{% include 'partials/menu/_sidebar_link.html.twig' with {\"path\": \"app_label_nr\", \"arguments\" : null, \"linkLabel\": \"Label NR\", \"iconPath\": \"icons/_label_icon.html.twig\", \"app\": app} %}
  410. \t\t\t{% endif %}
  411. \t\t\t{% if company.isBilanCarbone %}
  412. \t\t\t\t{% include 'partials/menu/_sidebar_link.html.twig' with {\"path\": \"app_bc_index\", \"arguments\" : null, \"linkLabel\": \"Bilan Carbone SI\", \"iconPath\": \"icons/_bilan_icon.html.twig\", \"app\": app} %}
  413. \t\t\t{% endif %}
  414. \t\t{% endif %}
  415. \t\t{% if is_granted('ROLE_BILBEA') or is_granted('ROLE_ADMIN') %}
  416. \t\t\t<li class=\"nav-item text-end text-lg-start\">
  417. \t\t\t\t<a class=\"d-flex flex-nowrap nav-link fs-6 rounded {% if app.request.get('_route') ==  'app_backoffice' %}active {% endif %}\" aria-current=\"page\" href=\"{{path('app_backoffice')}}\">
  418. \t\t\t\t\t<span class=\"d-flex justify-content-center align-items-center col-2 fill-ongoing\">
  419. \t\t\t\t\t\t<svg class=\"me-2 text-icon\" xmlns=\"http://www.w3.org/2000/svg\" height=\"1em\" viewbox=\"0 0 576 512\"><!--! Font Awesome Free 6.4.2 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license (Commercial License) Copyright 2023 Fonticons, Inc. --><path d=\"M288 32c-80.8 0-145.5 36.8-192.6 80.6C48.6 156 17.3 208 2.5 243.7c-3.3 7.9-3.3 16.7 0 24.6C17.3 304 48.6 356 95.4 399.4C142.5 443.2 207.2 480 288 480s145.5-36.8 192.6-80.6c46.8-43.5 78.1-95.4 93-131.1c3.3-7.9 3.3-16.7 0-24.6c-14.9-35.7-46.2-87.7-93-131.1C433.5 68.8 368.8 32 288 32zM144 256a144 144 0 1 1 288 0 144 144 0 1 1 -288 0zm144-64c0 35.3-28.7 64-64 64c-7.1 0-13.9-1.2-20.3-3.3c-5.5-1.8-11.9 1.6-11.7 7.4c.3 6.9 1.3 13.8 3.2 20.7c13.7 51.2 66.4 81.6 117.6 67.9s81.6-66.4 67.9-117.6c-11.1-41.5-47.8-69.4-88.6-71.1c-5.8-.2-9.2 6.1-7.4 11.7c2.1 6.4 3.3 13.2 3.3 20.3z\"/></svg>
  420. \t\t\t\t\t</span>
  421. \t\t\t\t\t<span>Backoffice</span>
  422. \t\t\t\t</a>
  423. \t\t\t</li>
  424. \t\t\t{% if companyId %}
  425. \t\t\t\t<li>
  426. \t\t\t\t\t<hr class=\"mb-2 mt-1\">
  427. \t\t\t\t\t<h4 class=\"fs-5 mt-2\">{{company.name}}</h4>
  428. \t\t\t\t</li>
  429. \t\t\t\t{# {% include 'partials/menu/_sidebar_link.html.twig' with {\"path\": \"app_roadmap_index\", \"arguments\" : {company: companyId}, \"linkLabel\": \"Dashboard\", \"iconPath\": \"icons/_dashboard_icon.html.twig\", \"app\": app} %} #}
  430. \t\t\t\t{% include 'partials/menu/_sidebar_link.html.twig' with {\"path\": \"app_roadmap_index\", \"arguments\" : {company: companyId}, \"linkLabel\": \"Feuille de route\", \"iconPath\": \"icons/_calendar_icon.html.twig\", \"app\": app} %}
  431. \t\t\t\t{% if company.isAuditNR %}
  432. \t\t\t\t\t{% include 'partials/menu/_sidebar_link.html.twig' with {\"path\": \"app_maturity_nr\", \"arguments\" : {company: companyId}, \"linkLabel\": \"Maturité NR\", \"iconPath\": \"icons/_maturite_icon.html.twig\", \"app\": app} %}
  433. \t\t\t\t{% endif %}
  434. \t\t\t\t{% if company.isLabelNR %}
  435. \t\t\t\t\t{% include 'partials/menu/_sidebar_link.html.twig' with {\"path\": \"app_label_nr\", \"arguments\" : {company: companyId}, \"linkLabel\": \"Label NR\", \"iconPath\": \"icons/_label_icon.html.twig\", \"app\": app} %}
  436. \t\t\t\t{% endif %}
  437. \t\t\t\t{% if company.isBilanCarbone %}
  438. \t\t\t\t\t{% include 'partials/menu/_sidebar_link.html.twig' with {\"path\": \"app_bc_index\", \"arguments\" : {company: companyId}, \"linkLabel\": \"Bilan Carbone SI\", \"iconPath\": \"icons/_bilan_icon.html.twig\", \"app\": app} %}
  439. \t\t\t\t{% endif %}
  440. \t\t\t{% endif %}
  441. \t\t{% endif %}
  442. \t</ul>
  443. \t<div>
  444. \t\t<p class=\"small mb-2\">Connecté en tant que
  445. \t\t\t<br>
  446. \t\t\t<span class=\"text-primary fw-semibold fs-5\">{{app.user.getName}}</span>
  447. \t\t</p>
  448. \t\t<div class=\"d-flex align-items-center gap-2\">
  449. \t\t\t{% if is_granted('ROLE_COMPANY')  %}
  450. \t\t\t\t<a href=\"{{path('app_profile')}}\" class=\"fill-black\" aria-label=\"Lien vers profil\" title=\"Profil\">
  451. \t\t\t\t\t<svg class=\"icon-large\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" viewbox=\"0 0 24 24\" style=\"fill: rgba(0, 0, 0, 1);transform: ;msFilter:;\">
  452. \t\t\t\t\t\t<path d=\"M12 16c2.206 0 4-1.794 4-4s-1.794-4-4-4-4 1.794-4 4 1.794 4 4 4zm0-6c1.084 0 2 .916 2 2s-.916 2-2 2-2-.916-2-2 .916-2 2-2z\"></path>
  453. \t\t\t\t\t\t<path d=\"m2.845 16.136 1 1.73c.531.917 1.809 1.261 2.73.73l.529-.306A8.1 8.1 0 0 0 9 19.402V20c0 1.103.897 2 2 2h2c1.103 0 2-.897 2-2v-.598a8.132 8.132 0 0 0 1.896-1.111l.529.306c.923.53 2.198.188 2.731-.731l.999-1.729a2.001 2.001 0 0 0-.731-2.732l-.505-.292a7.718 7.718 0 0 0 0-2.224l.505-.292a2.002 2.002 0 0 0 .731-2.732l-.999-1.729c-.531-.92-1.808-1.265-2.731-.732l-.529.306A8.1 8.1 0 0 0 15 4.598V4c0-1.103-.897-2-2-2h-2c-1.103 0-2 .897-2 2v.598a8.132 8.132 0 0 0-1.896 1.111l-.529-.306c-.924-.531-2.2-.187-2.731.732l-.999 1.729a2.001 2.001 0 0 0 .731 2.732l.505.292a7.683 7.683 0 0 0 0 2.223l-.505.292a2.003 2.003 0 0 0-.731 2.733zm3.326-2.758A5.703 5.703 0 0 1 6 12c0-.462.058-.926.17-1.378a.999.999 0 0 0-.47-1.108l-1.123-.65.998-1.729 1.145.662a.997.997 0 0 0 1.188-.142 6.071 6.071 0 0 1 2.384-1.399A1 1 0 0 0 11 5.3V4h2v1.3a1 1 0 0 0 .708.956 6.083 6.083 0 0 1 2.384 1.399.999.999 0 0 0 1.188.142l1.144-.661 1 1.729-1.124.649a1 1 0 0 0-.47 1.108c.112.452.17.916.17 1.378 0 .461-.058.925-.171 1.378a1 1 0 0 0 .471 1.108l1.123.649-.998 1.729-1.145-.661a.996.996 0 0 0-1.188.142 6.071 6.071 0 0 1-2.384 1.399A1 1 0 0 0 13 18.7l.002 1.3H11v-1.3a1 1 0 0 0-.708-.956 6.083 6.083 0 0 1-2.384-1.399.992.992 0 0 0-1.188-.141l-1.144.662-1-1.729 1.124-.651a1 1 0 0 0 .471-1.108z\"></path>
  454. \t\t\t\t\t</svg>
  455. \t\t\t\t</a>
  456. \t\t\t{% endif %}
  457. \t\t\t<a href=\"{{path('app_edit_password_complete')}}\" class=\"fill-black\" aria-label=\"Lien vers modification du mot de passe\" title=\"Modifier mot de passe\">
  458. \t\t\t\t<svg class=\"icon-large\" xmlns=\"http://www.w3.org/2000/svg\" viewbox=\"0 0 24 24\" style=\"fill: rgba(0, 0, 0, 1);transform: ;msFilter:;\">
  459. \t\t\t\t\t<path d=\"M12 2C9.243 2 7 4.243 7 7v2H6c-1.103 0-2 .897-2 2v9c0 1.103.897 2 2 2h12c1.103 0 2-.897 2-2v-9c0-1.103-.897-2-2-2h-1V7c0-2.757-2.243-5-5-5zM9 7c0-1.654 1.346-3 3-3s3 1.346 3 3v2H9V7zm9.002 13H13v-2.278c.595-.347 1-.985 1-1.722 0-1.103-.897-2-2-2s-2 .897-2 2c0 .736.405 1.375 1 1.722V20H6v-9h12l.002 9z\"></path>
  460. \t\t\t\t</svg>
  461. \t\t\t</a>
  462. \t\t\t<a href=\"{{path('app_logout')}}\" class=\"fill-black\" aria-label=\"Lien vers déconnexion\" title=\"Déconnexion\">
  463. \t\t\t\t<svg class=\"icon-large\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" viewbox=\"0 0 24 24\" style=\"fill: rgba(0, 0, 0, 1);transform: ;msFilter:;\">
  464. \t\t\t\t\t<path d=\"M16 13v-2H7V8l-5 4 5 4v-3z\"></path>
  465. \t\t\t\t\t<path d=\"M20 3h-9c-1.103 0-2 .897-2 2v4h2V5h9v14h-9v-4H9v4c0 1.103.897 2 2 2h9c1.103 0 2-.897 2-2V5c0-1.103-.897-2-2-2z\"></path>
  466. \t\t\t\t</svg>
  467. \t\t\t</a>
  468. \t\t</div>
  469. \t</div>
  470. </nav>
  471. ""partials/_sidebar.html.twig""/home/clients/b2c9b347357ad143786bc797d7bd0ce1/sites/responsable.bilbea.fr/templates/partials/_sidebar.html.twig");
  472.     }
  473. }