From 0e1673740758bd0f2bc4277f8e7e8f905571dc84 Mon Sep 17 00:00:00 2001 From: Paul Werner Date: Thu, 5 Oct 2023 07:34:34 +0200 Subject: [PATCH] feat: optional email heading logo --- theme/keywind/email/html-src/components/atoms/header.ftl | 8 +++++++- theme/keywind/email/html/components/atoms/header.ftl | 8 +++++++- theme/keywind/email/theme.properties | 4 +++- 3 files changed, 17 insertions(+), 3 deletions(-) diff --git a/theme/keywind/email/html-src/components/atoms/header.ftl b/theme/keywind/email/html-src/components/atoms/header.ftl index ad676c5..63d075c 100644 --- a/theme/keywind/email/html-src/components/atoms/header.ftl +++ b/theme/keywind/email/html-src/components/atoms/header.ftl @@ -2,7 +2,13 @@
- logo + <#if (properties.headingLogoUrl!"") != ""> + logo + <#else> +

+ ${kcSanitize(kcSanitize(realmName!""))} +

+
diff --git a/theme/keywind/email/html/components/atoms/header.ftl b/theme/keywind/email/html/components/atoms/header.ftl index 116ae3f..a8d522c 100644 --- a/theme/keywind/email/html/components/atoms/header.ftl +++ b/theme/keywind/email/html/components/atoms/header.ftl @@ -2,7 +2,13 @@
- logo + <#if (properties.headingLogoUrl!"") != ""> + logo + <#else> +

+ ${kcSanitize(kcSanitize(realmName!""))} +

+
diff --git a/theme/keywind/email/theme.properties b/theme/keywind/email/theme.properties index f1dbb72..5012e0a 100644 --- a/theme/keywind/email/theme.properties +++ b/theme/keywind/email/theme.properties @@ -1 +1,3 @@ -parent=base \ No newline at end of file +parent=base + +headingLogoUrl=