From 4481ab0f563de80caf3ad88ce5a092adad804fd2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bj=C3=B6rn=20Fromme?= Date: Fri, 19 Aug 2022 15:56:24 +0200 Subject: [PATCH] Avoid error in case of missing teaserimage of region --- .../Private/Partials/Region/Teaser.html | 32 +++++++++++++++---- 1 file changed, 26 insertions(+), 6 deletions(-) diff --git a/public/typo3conf/ext/ep_theme/Resources/Private/Partials/Region/Teaser.html b/public/typo3conf/ext/ep_theme/Resources/Private/Partials/Region/Teaser.html index 54d5abd4..35870f27 100644 --- a/public/typo3conf/ext/ep_theme/Resources/Private/Partials/Region/Teaser.html +++ b/public/typo3conf/ext/ep_theme/Resources/Private/Partials/Region/Teaser.html @@ -7,12 +7,32 @@
{ep:icon(icon: 'flag-{region.country.code -> f:format.case(mode: \'lower\')}', class: 'w-8 h-6 absolute top-0 left-0')} - + + + + + + + + + + + + + + + + + +