*/ 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", "user-view.html.twig")); $__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"]; $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "user-view.html.twig")); // line 1 yield Twig\Extension\CoreExtension::include($this->env, $context, "partials/main.html.twig"); yield " "; // line 5 yield Twig\Extension\CoreExtension::include($this->env, $context, "partials/title-meta.html.twig", (isset($context["page"]) || array_key_exists("page", $context) ? $context["page"] : (function () { throw new RuntimeError('Variable "page" does not exist.', 5, $this->source); })())); yield " "; // line 7 yield Twig\Extension\CoreExtension::include($this->env, $context, "partials/head-css.html.twig"); yield "
"; // line 16 yield Twig\Extension\CoreExtension::include($this->env, $context, "partials/menu.html.twig"); yield "
"; // line 26 yield Twig\Extension\CoreExtension::include($this->env, $context, "partials/page-title.html.twig", (isset($context["page"]) || array_key_exists("page", $context) ? $context["page"] : (function () { throw new RuntimeError('Variable "page" does not exist.', 26, $this->source); })())); yield " "; // line 28 yield Twig\Extension\CoreExtension::include($this->env, $context, "partials/validation.html.twig"); yield "
"; // line 33 yield Twig\Extension\CoreExtension::include($this->env, $context, "partials/user/user-required.html.twig", ["mode" => "view"]); yield " "; // line 35 if (CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, ($context["user"] ?? null), "roles", [], "any", false, true, false, 35), "ROLE_SUPERADMIN", [], "any", true, true, false, 35)) { // line 36 yield " "; yield Twig\Extension\CoreExtension::include($this->env, $context, "partials/user/user-employment-details.html.twig", ["mode" => "view"]); yield " "; // line 38 yield Twig\Extension\CoreExtension::include($this->env, $context, "partials/user/user-files.html.twig", ["mode" => "view"]); yield " "; } // line 40 yield " "; // line 41 yield Twig\Extension\CoreExtension::include($this->env, $context, "partials/user/work-contact-details.html.twig", ["mode" => "view"]); yield " "; // line 43 if (CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, ($context["user"] ?? null), "roles", [], "any", false, true, false, 43), "ROLE_SUPERADMIN", [], "any", true, true, false, 43)) { // line 44 yield " "; yield Twig\Extension\CoreExtension::include($this->env, $context, "partials/user/personal-contact-details.html.twig", ["mode" => "view"]); yield " "; // line 46 yield Twig\Extension\CoreExtension::include($this->env, $context, "partials/user/emergency-contact-details.html.twig", ["mode" => "view"]); yield " "; } // line 48 yield "
"; // line 56 yield Twig\Extension\CoreExtension::include($this->env, $context, "partials/footer.html.twig"); yield "
"; // line 62 yield Twig\Extension\CoreExtension::include($this->env, $context, "partials/vendor-scripts.html.twig"); yield " "; $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof); $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof); yield from []; } /** * @codeCoverageIgnore */ public function getTemplateName(): string { return "user-view.html.twig"; } /** * @codeCoverageIgnore */ public function isTraitable(): bool { return false; } /** * @codeCoverageIgnore */ public function getDebugInfo(): array { return array ( 156 => 62, 147 => 56, 137 => 48, 132 => 46, 126 => 44, 124 => 43, 119 => 41, 116 => 40, 111 => 38, 105 => 36, 103 => 35, 98 => 33, 90 => 28, 85 => 26, 72 => 16, 60 => 7, 55 => 5, 48 => 1,); } public function getSourceContext(): Source { return new Source("{{ include('partials/main.html.twig') }} {{ include('partials/title-meta.html.twig', page) }} {{ include('partials/head-css.html.twig') }}
{{ include('partials/menu.html.twig') }}
{{ include('partials/page-title.html.twig', page) }} {{ include('partials/validation.html.twig') }}
{{ include('partials/user/user-required.html.twig', {mode: 'view'}) }} {% if user.roles.ROLE_SUPERADMIN is defined %} {{ include('partials/user/user-employment-details.html.twig', {mode: 'view'}) }} {{ include('partials/user/user-files.html.twig', {mode: 'view'}) }} {% endif %} {{ include('partials/user/work-contact-details.html.twig', {mode: 'view'}) }} {% if user.roles.ROLE_SUPERADMIN is defined %} {{ include('partials/user/personal-contact-details.html.twig', {mode: 'view'}) }} {{ include('partials/user/emergency-contact-details.html.twig', {mode: 'view'}) }} {% endif %}
{{ include('partials/footer.html.twig') }}
{{ include('partials/vendor-scripts.html.twig') }} ", "user-view.html.twig", "/var/www/cds-intranet/app/templates/user-view.html.twig"); } }