*/ private array $macros = []; public function __construct(Environment $env) { parent::__construct($env); $this->source = $this->getSourceContext(); $this->parent = false; $this->blocks = [ ]; } protected function doDisplay(array $context, array $blocks = []): iterable { $macros = $this->macros; $__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"]; $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "partials/sidebar.html.twig")); $__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"]; $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "partials/sidebar.html.twig")); // line 1 yield "
  • Menu
  • "; // line 36 if (CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, ($context["user"] ?? null), "roles", [], "any", false, true, false, 36), "ROLE_ADMIN", [], "any", true, true, false, 36)) { // line 37 yield "
  • My Account
  • Calendar
  • "; } // line 48 yield " "; // line 49 if (CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, ($context["user"] ?? null), "roles", [], "any", false, true, false, 49), "ROLE_MARKETING", [], "any", true, true, false, 49)) { // line 50 yield "
  • Intel
  • "; } // line 56 yield " "; // line 58 if (CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, ($context["user"] ?? null), "roles", [], "any", false, true, false, 58), "ROLE_SUPERADMIN", [], "any", true, true, false, 58)) { // line 59 yield "
  • Documents
  • Users
  • "; } else { // line 70 yield "
  • Directory
  • "; } // line 76 yield " "; // line 78 if (CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, ($context["user"] ?? null), "roles", [], "any", false, true, false, 78), "ROLE_DEVELOPER", [], "any", true, true, false, 78)) { // line 79 yield "
  • Developer
  • "; } // line 92 yield "
"; $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof); $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof); yield from []; } /** * @codeCoverageIgnore */ public function getTemplateName(): string { return "partials/sidebar.html.twig"; } /** * @codeCoverageIgnore */ public function isTraitable(): bool { return false; } /** * @codeCoverageIgnore */ public function getDebugInfo(): array { return array ( 161 => 92, 146 => 79, 144 => 78, 140 => 76, 132 => 70, 119 => 59, 117 => 58, 113 => 56, 105 => 50, 103 => 49, 100 => 48, 87 => 37, 85 => 36, 48 => 1,); } public function getSourceContext(): Source { return new Source("
", "partials/sidebar.html.twig", "/var/www/cds-intranet/app/templates/partials/sidebar.html.twig"); } }