*/ 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/user/user-roles.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/user/user-roles.html.twig")); // line 1 yield "

Permissions

"; // line 12 if (CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, ($context["user"] ?? null), "roles", [], "any", false, true, false, 12), "ROLE_SUPERADMIN", [], "any", true, true, false, 12)) { // line 13 yield " env, $this->source, CoreExtension::getAttribute($this->env, $this->source, ($context["data"] ?? null), "roles", [], "any", false, true, false, 13), "ROLE_ADMIN", [], "any", true, true, false, 13)) { yield "checked"; } yield "> "; } else { // line 15 yield " env, $this->source, CoreExtension::getAttribute($this->env, $this->source, ($context["data"] ?? null), "roles", [], "any", false, true, false, 15), "ROLE_ADMIN", [], "any", true, true, false, 15)) { yield "checked"; } yield " disabled> "; } // line 17 yield "
"; // line 25 if (CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, ($context["user"] ?? null), "roles", [], "any", false, true, false, 25), "ROLE_SUPERADMIN", [], "any", true, true, false, 25)) { // line 26 yield " env, $this->source, CoreExtension::getAttribute($this->env, $this->source, ($context["data"] ?? null), "roles", [], "any", false, true, false, 26), "ROLE_SUPERADMIN", [], "any", true, true, false, 26)) { yield "checked"; } yield "> "; } else { // line 28 yield " env, $this->source, CoreExtension::getAttribute($this->env, $this->source, ($context["data"] ?? null), "roles", [], "any", false, true, false, 28), "ROLE_SUPERADMIN", [], "any", true, true, false, 28)) { yield "checked"; } yield " disabled> "; } // line 30 yield "
"; // line 38 if (CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, ($context["user"] ?? null), "roles", [], "any", false, true, false, 38), "ROLE_SUPERADMIN", [], "any", true, true, false, 38)) { // line 39 yield " env, $this->source, CoreExtension::getAttribute($this->env, $this->source, ($context["data"] ?? null), "roles", [], "any", false, true, false, 39), "ROLE_MARKETING", [], "any", true, true, false, 39)) { yield "checked"; } yield "> "; } else { // line 41 yield " env, $this->source, CoreExtension::getAttribute($this->env, $this->source, ($context["data"] ?? null), "roles", [], "any", false, true, false, 41), "ROLE_MARKETING", [], "any", true, true, false, 41)) { yield "checked"; } yield " disabled> "; } // line 43 yield "
"; // line 50 if (CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, ($context["user"] ?? null), "roles", [], "any", false, true, false, 50), "ROLE_SUPERADMIN", [], "any", true, true, false, 50)) { // line 51 yield " env, $this->source, CoreExtension::getAttribute($this->env, $this->source, ($context["data"] ?? null), "roles", [], "any", false, true, false, 51), "ROLE_DEVELOPER", [], "any", true, true, false, 51)) { yield "checked"; } yield "> "; } else { // line 53 yield " env, $this->source, CoreExtension::getAttribute($this->env, $this->source, ($context["data"] ?? null), "roles", [], "any", false, true, false, 53), "ROLE_DEVELOPER", [], "any", true, true, false, 53)) { yield "checked"; } yield " disabled> "; } // line 55 yield "
"; // line 66 if (CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, ($context["user"] ?? null), "roles", [], "any", false, true, false, 66), "ROLE_SUPERADMIN", [], "any", true, true, false, 66)) { // line 67 yield " "; } // line 73 yield "
"; $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof); $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof); yield from []; } /** * @codeCoverageIgnore */ public function getTemplateName(): string { return "partials/user/user-roles.html.twig"; } /** * @codeCoverageIgnore */ public function isTraitable(): bool { return false; } /** * @codeCoverageIgnore */ public function getDebugInfo(): array { return array ( 185 => 73, 177 => 67, 175 => 66, 162 => 55, 154 => 53, 146 => 51, 144 => 50, 135 => 43, 127 => 41, 119 => 39, 117 => 38, 107 => 30, 99 => 28, 91 => 26, 89 => 25, 79 => 17, 71 => 15, 63 => 13, 61 => 12, 48 => 1,); } public function getSourceContext(): Source { return new Source("

Permissions

{% if user.roles.ROLE_SUPERADMIN is defined %} {% else %} {% endif %}
{% if user.roles.ROLE_SUPERADMIN is defined %} {% else %} {% endif %}
{% if user.roles.ROLE_SUPERADMIN is defined %} {% else %} {% endif %}
{% if user.roles.ROLE_SUPERADMIN is defined %} {% else %} {% endif %}
{% if user.roles.ROLE_SUPERADMIN is defined %} {% endif %}
", "partials/user/user-roles.html.twig", "/var/www/cds-intranet/app/templates/partials/user/user-roles.html.twig"); } }