From b6d4d05392f5d49a63e5bc9674da85eec77eaf6c Mon Sep 17 00:00:00 2001 From: "L. Ellenbeck" Date: Tue, 4 May 2021 10:09:34 +0200 Subject: [PATCH 1/2] New: user invitation template coscine/issues#1453 --- src/NotificationConfiguration/Actions.json | 28 ++++++++++++++++++++++ 1 file changed, 28 insertions(+) diff --git a/src/NotificationConfiguration/Actions.json b/src/NotificationConfiguration/Actions.json index 15cdc2d..368e197 100644 --- a/src/NotificationConfiguration/Actions.json +++ b/src/NotificationConfiguration/Actions.json @@ -306,5 +306,33 @@ "en": "You will be informed when the quota of a project is changed." }, "group": [] + }, + "user_invitation": { + "channels": { + "available": [ "email" ], + "always": [], + "only": [] + }, + "template": { + "email": { + "de": { + "subject": "[Coscine] Einladung zu Projekt {{_projectName}}", + "body": "{{> header}}Sie wurden zu dem Coscine-Projekt {{_projectName}} eingeladen. Um die Einladung anzunehmen, folgen Sie dem Link und loggen sich in Coscine ein. Einladung annehmen.

Der Link ist für 7 Tage gültig. Falls der Link nicht funktioniert, können Sie die URL direkt aufrufen:
{{confirmation_link}}{{> footer}}" + }, + "en": { + "subject": "[Coscine] Invitation to project {{_projectName}}", + "body": "{{> header}}You have been invited to the Coscine project {{_projectName}}. To accept the invitation, follow the link and log in to Coscine. Accept invitation.

The link is valid for 7 days. If the link does not work, you can access the URL directly:
{{confirmation_link}}{{> footer}}" + } + } + }, + "name": { + "de": "User zu Projekt eingeladen", + "en": "User invited to project" + }, + "description": { + "de": "Sie werden informiert, wenn ein User zum Projekt eingeladen wird.", + "en": "You will be informed when a user is invited to a project." + }, + "group": [] } } -- GitLab From 9cf65aa5f7e93346d8b531f49f17ce52a520a360 Mon Sep 17 00:00:00 2001 From: Petar Hristov Date: Tue, 4 May 2021 12:52:03 +0000 Subject: [PATCH 2/2] Fixed confirmation link href in the english version --- src/NotificationConfiguration/Actions.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/NotificationConfiguration/Actions.json b/src/NotificationConfiguration/Actions.json index 368e197..500c6b6 100644 --- a/src/NotificationConfiguration/Actions.json +++ b/src/NotificationConfiguration/Actions.json @@ -321,7 +321,7 @@ }, "en": { "subject": "[Coscine] Invitation to project {{_projectName}}", - "body": "{{> header}}You have been invited to the Coscine project {{_projectName}}. To accept the invitation, follow the link and log in to Coscine. Accept invitation.

The link is valid for 7 days. If the link does not work, you can access the URL directly:
{{confirmation_link}}{{> footer}}" + "body": "{{> header}}You have been invited to the Coscine project {{_projectName}}. To accept the invitation, follow the link and log in to Coscine. Accept invitation.

The link is valid for 7 days. If the link does not work, you can access the URL directly:
{{confirmation_link}}{{> footer}}" } } }, -- GitLab