From 735bb640b626f43aa889faa2b76c0715a8abbcc7 Mon Sep 17 00:00:00 2001 From: Paulo Gustavo Veiga Date: Mon, 11 Apr 2022 10:05:30 -0300 Subject: [PATCH] Minor fix --- .../main/java/com/wisemapping/mail/NotificationService.java | 2 +- wise-webapp/src/main/resources/mail/baseLayout.vm | 3 ++- wise-webapp/src/main/resources/mail/newCollaboration.vm | 2 +- 3 files changed, 4 insertions(+), 3 deletions(-) diff --git a/wise-webapp/src/main/java/com/wisemapping/mail/NotificationService.java b/wise-webapp/src/main/java/com/wisemapping/mail/NotificationService.java index dfc23caa..a2f184eb 100644 --- a/wise-webapp/src/main/java/com/wisemapping/mail/NotificationService.java +++ b/wise-webapp/src/main/java/com/wisemapping/mail/NotificationService.java @@ -71,7 +71,7 @@ final public class NotificationService { model.put("baseUrl", getBaseUrl()); model.put("senderMail", user.getEmail()); model.put("message", message); - model.put("supportEmail", mailer.getSupportEmail()); + model.put("doNotReplay", messageSource.getMessage("EMAIL.DO_NOT_REPLAY", new Object[]{mailer.getSupportEmail()}, locale)); mailer.sendEmail(formMail, collabEmail, subject, model, "newCollaboration.vm"); } catch (Exception e) { diff --git a/wise-webapp/src/main/resources/mail/baseLayout.vm b/wise-webapp/src/main/resources/mail/baseLayout.vm index d9fe9547..fe0972b1 100644 --- a/wise-webapp/src/main/resources/mail/baseLayout.vm +++ b/wise-webapp/src/main/resources/mail/baseLayout.vm @@ -33,5 +33,6 @@ -

${doNotReplay}

+

${doNotReplay}

+ \ No newline at end of file diff --git a/wise-webapp/src/main/resources/mail/newCollaboration.vm b/wise-webapp/src/main/resources/mail/newCollaboration.vm index 98a57c33..b5c49b19 100755 --- a/wise-webapp/src/main/resources/mail/newCollaboration.vm +++ b/wise-webapp/src/main/resources/mail/newCollaboration.vm @@ -33,6 +33,6 @@ -

${doNot}

+

${doNotReplay}

\ No newline at end of file