From 93b182c3333398a9fcc17cb6a701c11d1203b5a2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bj=C3=B6rn=20Fromme?= Date: Wed, 17 Jul 2024 14:44:14 +0200 Subject: [PATCH] feat: don't render whatsapp link unless configured --- .../Private/Partials/ContactBar.html | 22 ++++++----- .../Resources/Private/Partials/Footer.html | 38 ++++++++++--------- 2 files changed, 32 insertions(+), 28 deletions(-) diff --git a/public/typo3conf/ext/ep_theme/Resources/Private/Partials/ContactBar.html b/public/typo3conf/ext/ep_theme/Resources/Private/Partials/ContactBar.html index 91ebdb25..1b4d577d 100644 --- a/public/typo3conf/ext/ep_theme/Resources/Private/Partials/ContactBar.html +++ b/public/typo3conf/ext/ep_theme/Resources/Private/Partials/ContactBar.html @@ -32,16 +32,18 @@ {settings.contactFormToEmail} - - {ep:icon(icon: 'whatsapp', class: 'contact-bar__icon')} -
- {settings.whatsApp} -
-
+ + + {ep:icon(icon: 'whatsapp', class: 'contact-bar__icon')} +
+ {settings.whatsApp} +
+
+
-
-
- {ep:icon(icon: 'whatsapp', class: 'w-12 h-12 text-white')} -
- - WhatsApp - - - {settings.whatsApp} - + +
+
+ {ep:icon(icon: 'whatsapp', class: 'w-12 h-12 text-white')} +
+ + WhatsApp + + + {settings.whatsApp} + +
+
+
+ {f:translate(key: 'label.whatsapp_instructions', extensionName: 'ep_theme')}
-
- {f:translate(key: 'label.whatsapp_instructions', extensionName: 'ep_theme')} -
-
+