diff --git a/backend/src/middleware/helpers/email/templateBuilder.js b/backend/src/middleware/helpers/email/templateBuilder.js index 8098b38fe..12624f5ac 100644 --- a/backend/src/middleware/helpers/email/templateBuilder.js +++ b/backend/src/middleware/helpers/email/templateBuilder.js @@ -98,7 +98,8 @@ export const wrongAccountTemplate = ({ email }) => { export const notificationTemplate = ({ email, notification }) => { const actionUrl = new URL('/notifications', CONFIG.CLIENT_URI) - const renderParams = { ...defaultParams, name: notification.to.name, actionUrl } + const settingsUrl = new URL('/settings/notifications', CONFIG.CLIENT_URI) + const renderParams = { ...defaultParams, name: notification.to.name, settingsUrl, actionUrl } let content switch (notification.to.locale) { case 'de': diff --git a/backend/src/middleware/helpers/email/templates/de/notification.html b/backend/src/middleware/helpers/email/templates/de/notification.html index b3c60b26e..d935424be 100644 --- a/backend/src/middleware/helpers/email/templates/de/notification.html +++ b/backend/src/middleware/helpers/email/templates/de/notification.html @@ -71,7 +71,7 @@
|
- PS: Möchtest du keine E-Mails mehr erhalten, dann ändere deine PS: Möchtest du keine E-Mails mehr erhalten, dann ändere deine Benachrichtigungseinstellungen. |
|
- PS: If you don't want to receive e-mails anymore, change your PS: If you don't want to receive e-mails anymore, change your notification settings. |