diff --git a/backend/src/emails/templates/greatingFormularImprint.pug b/backend/src/emails/templates/greatingFormularImprint.pug index 7aaae5c52..d7d8c3a14 100644 --- a/backend/src/emails/templates/greatingFormularImprint.pug +++ b/backend/src/emails/templates/greatingFormularImprint.pug @@ -4,6 +4,10 @@ p(style='margin-top: 24px;') = t('emails.general.yourGradidoTeam') p(style='margin-top: 24px;')= '—————' p(style='margin-top: 24px;') + if t('general.imprintImageURL').length > 0 + div(style='position: relative; left: -22px;') + img(src=t('general.imprintImageURL'), width='200', alt=t('general.imprintImageAlt')) + br each line in t('general.imprint').split(/\n/) = line br diff --git a/backend/src/emails/templates/hello.pug b/backend/src/emails/templates/hello.pug index aca50a907..3e2591951 100644 --- a/backend/src/emails/templates/hello.pug +++ b/backend/src/emails/templates/hello.pug @@ -1 +1 @@ -p(style='margin-bottom: 24px;')= t('emails.general.helloName', { firstName, lastName }) +p= t('emails.general.helloName', { firstName, lastName }) diff --git a/backend/src/locales/de.json b/backend/src/locales/de.json index 0886e10e6..2a90e41d4 100644 --- a/backend/src/locales/de.json +++ b/backend/src/locales/de.json @@ -57,6 +57,8 @@ }, "general": { "decimalSeparator": ",", - "imprint": "Gradido-Akademie\nInstitut für Wirtschaftsbionik\nPfarrweg 2\n74653 Künzelsau\nDeutschland" + "imprint": "Gradido-Akademie\nInstitut für Wirtschaftsbionik\nPfarrweg 2\n74653 Künzelsau\nDeutschland", + "imprintImageAlt": "Gradido-Akademie Logo", + "imprintImageURL": "https://gdd.gradido.net/img/brand/green.png" } } diff --git a/backend/src/locales/en.json b/backend/src/locales/en.json index c4aaf315f..3b25f8ae4 100644 --- a/backend/src/locales/en.json +++ b/backend/src/locales/en.json @@ -57,6 +57,8 @@ }, "general": { "decimalSeparator": ".", - "imprint": "Gradido-Akademie\nInstitut für Wirtschaftsbionik\nPfarrweg 2\n74653 Künzelsau\nDeutschland" + "imprint": "Gradido-Akademie\nInstitut für Wirtschaftsbionik\nPfarrweg 2\n74653 Künzelsau\nDeutschland", + "imprintImageAlt": "Gradido-Akademie Logo", + "imprintImageURL": "https://gdd.gradido.net/img/brand/green.png" } }