*/ 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/work-contact-details.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/work-contact-details.html.twig")); // line 1 yield "

Work Contact Details

"; // 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->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, (isset($context["userEditing"]) || array_key_exists("userEditing", $context) ? $context["userEditing"] : (function () { throw new RuntimeError('Variable "userEditing" does not exist.', 13, $this->source); })()), "work_telephone", [], "any", false, false, false, 13), "html", null, true); yield "\"> "; } else { // line 15 yield " env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, (isset($context["userEditing"]) || array_key_exists("userEditing", $context) ? $context["userEditing"] : (function () { throw new RuntimeError('Variable "userEditing" does not exist.', 15, $this->source); })()), "work_telephone", [], "any", false, false, false, 15), "html", null, true); yield "\" disabled> "; } // line 17 yield "
"; // line 24 if (CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, ($context["user"] ?? null), "roles", [], "any", false, true, false, 24), "ROLE_SUPERADMIN", [], "any", true, true, false, 24)) { // line 25 yield " env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, (isset($context["userEditing"]) || array_key_exists("userEditing", $context) ? $context["userEditing"] : (function () { throw new RuntimeError('Variable "userEditing" does not exist.', 25, $this->source); })()), "work_telephone_extension", [], "any", false, false, false, 25), "html", null, true); yield "\"> "; } else { // line 27 yield " env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, (isset($context["userEditing"]) || array_key_exists("userEditing", $context) ? $context["userEditing"] : (function () { throw new RuntimeError('Variable "userEditing" does not exist.', 27, $this->source); })()), "work_telephone_extension", [], "any", false, false, false, 27), "html", null, true); yield "\" disabled> "; } // line 29 yield "
"; // 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_SUPERADMIN", [], "any", true, true, false, 36)) { // line 37 yield " env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, (isset($context["userEditing"]) || array_key_exists("userEditing", $context) ? $context["userEditing"] : (function () { throw new RuntimeError('Variable "userEditing" does not exist.', 37, $this->source); })()), "email", [], "any", false, false, false, 37), "html", null, true); yield "\"> "; } else { // line 39 yield " env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, (isset($context["userEditing"]) || array_key_exists("userEditing", $context) ? $context["userEditing"] : (function () { throw new RuntimeError('Variable "userEditing" does not exist.', 39, $this->source); })()), "email", [], "any", false, false, false, 39), "html", null, true); yield "\" disabled> "; } // line 41 yield "
"; // line 46 if (CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, ($context["user"] ?? null), "roles", [], "any", false, true, false, 46), "ROLE_SUPERADMIN", [], "any", true, true, false, 46)) { // line 47 yield " "; } // line 53 yield "
"; $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof); $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof); yield from []; } /** * @codeCoverageIgnore */ public function getTemplateName(): string { return "partials/user/work-contact-details.html.twig"; } /** * @codeCoverageIgnore */ public function isTraitable(): bool { return false; } /** * @codeCoverageIgnore */ public function getDebugInfo(): array { return array ( 138 => 53, 130 => 47, 128 => 46, 121 => 41, 115 => 39, 109 => 37, 107 => 36, 98 => 29, 92 => 27, 86 => 25, 84 => 24, 75 => 17, 69 => 15, 63 => 13, 61 => 12, 48 => 1,); } public function getSourceContext(): Source { return new Source("

Work Contact Details

{% 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/work-contact-details.html.twig", "/var/www/cds/app/templates/partials/user/work-contact-details.html.twig"); } }