From 58834b369ad12c7197e334d197079df4b2a82f70 Mon Sep 17 00:00:00 2001 From: SvenV Date: Wed, 25 Oct 2023 17:47:19 +0200 Subject: [PATCH] SGD8-2569: Change person columns style --- .../custom/nodes/node--person--full.html.twig | 98 ++++++++++--------- 1 file changed, 50 insertions(+), 48 deletions(-) diff --git a/templates/custom/nodes/node--person--full.html.twig b/templates/custom/nodes/node--person--full.html.twig index 3ba250bfd..6d91e9be6 100644 --- a/templates/custom/nodes/node--person--full.html.twig +++ b/templates/custom/nodes/node--person--full.html.twig @@ -16,56 +16,58 @@ {% block article_content_summary %}
-

{{ 'Contact details'|t }}

-
    - {% if person_address|render|striptags|trim is not empty %} -
  • - - {{ person_address }} -
  • - {% endif %} - {% if person_phone|render|striptags|trim is not empty %} -
  • - - {{ person_phone }} -
  • - {% endif %} - {% if person_cellphone|render|striptags|trim is not empty %} -
  • - - {{ person_cellphone }} -
  • - {% endif %} - {% if person_fax|render|striptags|trim is not empty %} -
  • - - {{ person_fax }}({{ 'Fax' }}) -
  • - {% endif %} - {% if person_email|render|striptags|trim is not empty %} -
  • - - {{ person_email }} -
  • - {% endif %} - {% if person_website|render|striptags|trim is not empty %} -
  • - - {{ person_website }} -
  • - {% endif %} -
-
-
- {% if person_image|render is not empty %} - {% spaceless %} -
- {{ person_image }} +
+
+
    + {% if person_address|render|striptags|trim is not empty %} +
  • + + {{ person_address }} +
  • + {% endif %} + {% if person_phone|render|striptags|trim is not empty %} +
  • + + {{ person_phone }} +
  • + {% endif %} + {% if person_cellphone|render|striptags|trim is not empty %} +
  • + + {{ person_cellphone }} +
  • + {% endif %} + {% if person_fax|render|striptags|trim is not empty %} +
  • + + {{ person_fax }}({{ 'Fax' }}) +
  • + {% endif %} + {% if person_email|render|striptags|trim is not empty %} +
  • + + {{ person_email }} +
  • + {% endif %} + {% if person_website|render|striptags|trim is not empty %} +
  • + + {{ person_website }} +
  • + {% endif %} +
- {% endspaceless %} - {% endif %} -
+
+ {% if person_image|render is not empty %} + {% spaceless %} +
+ {{ person_image }} +
+ {% endspaceless %} + {% endif %} +
+
{% endblock %}