From 9ed9ac5ab23f5eaa963700afc0a768490ef5de0d Mon Sep 17 00:00:00 2001 From: Salim B Date: Mon, 20 May 2024 09:28:04 +0200 Subject: [PATCH] fix: tweak invite and verify e-mail templates (#8529) --- .../nocodb/src/controllers/auth/ui/emailTemplates/invite.ts | 6 +++--- .../nocodb/src/controllers/auth/ui/emailTemplates/verify.ts | 4 ++-- .../src/services/base-users/ui/emailTemplates/invite.ts | 6 +++--- .../src/services/base-users/ui/emailTemplates/verify.ts | 4 ++-- 4 files changed, 10 insertions(+), 10 deletions(-) diff --git a/packages/nocodb/src/controllers/auth/ui/emailTemplates/invite.ts b/packages/nocodb/src/controllers/auth/ui/emailTemplates/invite.ts index db2d3b7c0d..6636e3cb37 100644 --- a/packages/nocodb/src/controllers/auth/ui/emailTemplates/invite.ts +++ b/packages/nocodb/src/controllers/auth/ui/emailTemplates/invite.ts @@ -132,8 +132,8 @@ export default `

Hi,

- I invited you to be "<%- roles -%>" of the NocoDB base "<%- baseName %>". - Click the button below to to accept my invitation.

+ You have been invited to become "<%- roles -%>" of the NocoDB base "<%- baseName %>". + Click the button below to accept the invitation.

- Thanks regards <%- adminEmail %>.

+ Have a nice day,
<%- adminEmail %>

diff --git a/packages/nocodb/src/controllers/auth/ui/emailTemplates/verify.ts b/packages/nocodb/src/controllers/auth/ui/emailTemplates/verify.ts index 11702cc659..cc22d866a2 100644 --- a/packages/nocodb/src/controllers/auth/ui/emailTemplates/verify.ts +++ b/packages/nocodb/src/controllers/auth/ui/emailTemplates/verify.ts @@ -132,7 +132,7 @@ export default `

Hi,

- Please verify your email address by clicking the following button.

+ Please verify your e-mail address by clicking the following button.

- Thanks regards NocoDB.

+ Thank you and have a nice day,
<%- adminEmail %>

diff --git a/packages/nocodb/src/services/base-users/ui/emailTemplates/invite.ts b/packages/nocodb/src/services/base-users/ui/emailTemplates/invite.ts index db2d3b7c0d..6636e3cb37 100644 --- a/packages/nocodb/src/services/base-users/ui/emailTemplates/invite.ts +++ b/packages/nocodb/src/services/base-users/ui/emailTemplates/invite.ts @@ -132,8 +132,8 @@ export default `

Hi,

- I invited you to be "<%- roles -%>" of the NocoDB base "<%- baseName %>". - Click the button below to to accept my invitation.

+ You have been invited to become "<%- roles -%>" of the NocoDB base "<%- baseName %>". + Click the button below to accept the invitation.

- Thanks regards <%- adminEmail %>.

+ Have a nice day,
<%- adminEmail %>

diff --git a/packages/nocodb/src/services/base-users/ui/emailTemplates/verify.ts b/packages/nocodb/src/services/base-users/ui/emailTemplates/verify.ts index 11702cc659..fbc923516d 100644 --- a/packages/nocodb/src/services/base-users/ui/emailTemplates/verify.ts +++ b/packages/nocodb/src/services/base-users/ui/emailTemplates/verify.ts @@ -132,7 +132,7 @@ export default `

Hi,

- Please verify your email address by clicking the following button.

+ Please verify your e-mail address by clicking the following button.

- Thanks regards NocoDB.

+ Thank you and have a nice day,
<%- adminEmail %>