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

Personal Contact Details

"; // line 12 if ((array_key_exists("mode", $context) && ((isset($context["mode"]) || array_key_exists("mode", $context) ? $context["mode"] : (function () { throw new RuntimeError('Variable "mode" does not exist.', 12, $this->source); })()) == "view"))) { // line 13 yield "
"; // line 14 if ((CoreExtension::getAttribute($this->env, $this->source, (isset($context["data"]) || array_key_exists("data", $context) ? $context["data"] : (function () { throw new RuntimeError('Variable "data" does not exist.', 14, $this->source); })()), "personal_telephone", [], "any", false, false, false, 14) != "")) { // line 15 yield " "; yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, (isset($context["data"]) || array_key_exists("data", $context) ? $context["data"] : (function () { throw new RuntimeError('Variable "data" does not exist.', 15, $this->source); })()), "personal_telephone", [], "any", false, false, false, 15), "html", null, true); yield " "; } else { // line 17 yield " Not provided "; } // line 19 yield "
"; } else { // line 21 yield " env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, (isset($context["data"]) || array_key_exists("data", $context) ? $context["data"] : (function () { throw new RuntimeError('Variable "data" does not exist.', 21, $this->source); })()), "personal_telephone", [], "any", false, false, false, 21), "html", null, true); yield "\"> "; } // line 23 yield "
"; // line 30 if ((array_key_exists("mode", $context) && ((isset($context["mode"]) || array_key_exists("mode", $context) ? $context["mode"] : (function () { throw new RuntimeError('Variable "mode" does not exist.', 30, $this->source); })()) == "view"))) { // line 31 yield "
"; // line 32 if ((CoreExtension::getAttribute($this->env, $this->source, (isset($context["data"]) || array_key_exists("data", $context) ? $context["data"] : (function () { throw new RuntimeError('Variable "data" does not exist.', 32, $this->source); })()), "personal_email", [], "any", false, false, false, 32) != "")) { // line 33 yield " "; yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, (isset($context["data"]) || array_key_exists("data", $context) ? $context["data"] : (function () { throw new RuntimeError('Variable "data" does not exist.', 33, $this->source); })()), "personal_email", [], "any", false, false, false, 33), "html", null, true); yield " "; } else { // line 35 yield " Not provided "; } // line 37 yield "
"; } else { // line 39 yield " env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, (isset($context["data"]) || array_key_exists("data", $context) ? $context["data"] : (function () { throw new RuntimeError('Variable "data" does not exist.', 39, $this->source); })()), "personal_email", [], "any", false, false, false, 39), "html", null, true); yield "\"> "; } // line 41 yield "
Home Address
"; // line 59 if ((array_key_exists("mode", $context) && ((isset($context["mode"]) || array_key_exists("mode", $context) ? $context["mode"] : (function () { throw new RuntimeError('Variable "mode" does not exist.', 59, $this->source); })()) == "view"))) { // line 60 yield "
"; // line 61 if ((CoreExtension::getAttribute($this->env, $this->source, (isset($context["data"]) || array_key_exists("data", $context) ? $context["data"] : (function () { throw new RuntimeError('Variable "data" does not exist.', 61, $this->source); })()), "personal_address_street1", [], "any", false, false, false, 61) != "")) { // line 62 yield " "; yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, (isset($context["data"]) || array_key_exists("data", $context) ? $context["data"] : (function () { throw new RuntimeError('Variable "data" does not exist.', 62, $this->source); })()), "personal_address_street1", [], "any", false, false, false, 62), "html", null, true); yield " "; } else { // line 64 yield " Not provided "; } // line 66 yield "
"; } else { // line 68 yield " env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, (isset($context["data"]) || array_key_exists("data", $context) ? $context["data"] : (function () { throw new RuntimeError('Variable "data" does not exist.', 68, $this->source); })()), "personal_address_street1", [], "any", false, false, false, 68), "html", null, true); yield "\" placeholder=\"Street 1\"> "; } // line 70 yield "
"; // line 77 if ((array_key_exists("mode", $context) && ((isset($context["mode"]) || array_key_exists("mode", $context) ? $context["mode"] : (function () { throw new RuntimeError('Variable "mode" does not exist.', 77, $this->source); })()) == "view"))) { // line 78 yield "
"; // line 79 if ((CoreExtension::getAttribute($this->env, $this->source, (isset($context["data"]) || array_key_exists("data", $context) ? $context["data"] : (function () { throw new RuntimeError('Variable "data" does not exist.', 79, $this->source); })()), "personal_address_street2", [], "any", false, false, false, 79) != "")) { // line 80 yield " "; yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, (isset($context["data"]) || array_key_exists("data", $context) ? $context["data"] : (function () { throw new RuntimeError('Variable "data" does not exist.', 80, $this->source); })()), "personal_address_street2", [], "any", false, false, false, 80), "html", null, true); yield " "; } else { // line 82 yield " Not provided "; } // line 84 yield "
"; } else { // line 86 yield " env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, (isset($context["data"]) || array_key_exists("data", $context) ? $context["data"] : (function () { throw new RuntimeError('Variable "data" does not exist.', 86, $this->source); })()), "personal_address_street2", [], "any", false, false, false, 86), "html", null, true); yield "\" placeholder=\"Street 2\"> "; } // line 88 yield "
"; // line 95 if ((array_key_exists("mode", $context) && ((isset($context["mode"]) || array_key_exists("mode", $context) ? $context["mode"] : (function () { throw new RuntimeError('Variable "mode" does not exist.', 95, $this->source); })()) == "view"))) { // line 96 yield "
"; // line 97 if ((CoreExtension::getAttribute($this->env, $this->source, (isset($context["data"]) || array_key_exists("data", $context) ? $context["data"] : (function () { throw new RuntimeError('Variable "data" does not exist.', 97, $this->source); })()), "personal_address_city", [], "any", false, false, false, 97) != "")) { // line 98 yield " "; yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, (isset($context["data"]) || array_key_exists("data", $context) ? $context["data"] : (function () { throw new RuntimeError('Variable "data" does not exist.', 98, $this->source); })()), "personal_address_city", [], "any", false, false, false, 98), "html", null, true); yield " "; } else { // line 100 yield " Not provided "; } // line 102 yield "
"; } else { // line 104 yield " env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, (isset($context["data"]) || array_key_exists("data", $context) ? $context["data"] : (function () { throw new RuntimeError('Variable "data" does not exist.', 104, $this->source); })()), "personal_address_city", [], "any", false, false, false, 104), "html", null, true); yield "\"> "; } // line 106 yield "
"; // line 113 if ((array_key_exists("mode", $context) && ((isset($context["mode"]) || array_key_exists("mode", $context) ? $context["mode"] : (function () { throw new RuntimeError('Variable "mode" does not exist.', 113, $this->source); })()) == "view"))) { // line 114 yield "
"; // line 115 if ((CoreExtension::getAttribute($this->env, $this->source, (isset($context["data"]) || array_key_exists("data", $context) ? $context["data"] : (function () { throw new RuntimeError('Variable "data" does not exist.', 115, $this->source); })()), "personal_address_postcode", [], "any", false, false, false, 115) != "")) { // line 116 yield " "; yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, (isset($context["data"]) || array_key_exists("data", $context) ? $context["data"] : (function () { throw new RuntimeError('Variable "data" does not exist.', 116, $this->source); })()), "personal_address_postcode", [], "any", false, false, false, 116), "html", null, true); yield " "; } else { // line 118 yield " Not provided "; } // line 120 yield "
"; } else { // line 122 yield " env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, (isset($context["data"]) || array_key_exists("data", $context) ? $context["data"] : (function () { throw new RuntimeError('Variable "data" does not exist.', 122, $this->source); })()), "personal_address_postcode", [], "any", false, false, false, 122), "html", null, true); yield "\"> "; } // line 124 yield "
"; $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof); $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof); yield from []; } /** * @codeCoverageIgnore */ public function getTemplateName(): string { return "partials/user/personal-contact-details.html.twig"; } /** * @codeCoverageIgnore */ public function isTraitable(): bool { return false; } /** * @codeCoverageIgnore */ public function getDebugInfo(): array { return array ( 299 => 137, 295 => 135, 291 => 133, 289 => 132, 279 => 124, 273 => 122, 269 => 120, 265 => 118, 259 => 116, 257 => 115, 254 => 114, 252 => 113, 243 => 106, 237 => 104, 233 => 102, 229 => 100, 223 => 98, 221 => 97, 218 => 96, 216 => 95, 207 => 88, 201 => 86, 197 => 84, 193 => 82, 187 => 80, 185 => 79, 182 => 78, 180 => 77, 171 => 70, 165 => 68, 161 => 66, 157 => 64, 151 => 62, 149 => 61, 146 => 60, 144 => 59, 124 => 41, 118 => 39, 114 => 37, 110 => 35, 104 => 33, 102 => 32, 99 => 31, 97 => 30, 88 => 23, 82 => 21, 78 => 19, 74 => 17, 68 => 15, 66 => 14, 63 => 13, 61 => 12, 48 => 1,); } public function getSourceContext(): Source { return new Source("

Personal Contact Details

{% if mode is defined and mode == 'view' %}
{% if data.personal_telephone != '' %} {{ data.personal_telephone }} {% else %} Not provided {% endif %}
{% else %} {% endif %}
{% if mode is defined and mode == 'view' %}
{% if data.personal_email != '' %} {{ data.personal_email }} {% else %} Not provided {% endif %}
{% else %} {% endif %}
Home Address
{% if mode is defined and mode == 'view' %}
{% if data.personal_address_street1 != '' %} {{ data.personal_address_street1 }} {% else %} Not provided {% endif %}
{% else %} {% endif %}
{% if mode is defined and mode == 'view' %}
{% if data.personal_address_street2 != '' %} {{ data.personal_address_street2 }} {% else %} Not provided {% endif %}
{% else %} {% endif %}
{% if mode is defined and mode == 'view' %}
{% if data.personal_address_city != '' %} {{ data.personal_address_city }} {% else %} Not provided {% endif %}
{% else %} {% endif %}
{% if mode is defined and mode == 'view' %}
{% if data.personal_address_postcode != '' %} {{ data.personal_address_postcode }} {% else %} Not provided {% endif %}
{% else %} {% endif %}
", "partials/user/personal-contact-details.html.twig", "/var/www/cds-intranet/app/templates/partials/user/personal-contact-details.html.twig"); } }