Added 3 templates for Users Management portlet

git-svn-id: http://svn.research-infrastructures.eu/public/d4science/gcube/trunk/portal/email-templates-library@148712 82a268e6-3cf1-43bd-a215-b396298e98cf
This commit is contained in:
Massimiliano Assante 2017-05-16 11:29:01 +00:00
parent 869c426823
commit ee214d6116
11 changed files with 4689 additions and 1 deletions

View File

@ -0,0 +1,8 @@
package org.gcube.portal.mailing.message;
public class Constants {
/**
* used to generate links to user profile pages
*/
public static final String USER_PROFILE_OID = "userIdentificationParameter";
}

View File

@ -52,7 +52,7 @@ public class EmailTemplateService {
new EmailBuilder(subject, httpServletRequest, toEmailrecipients.toArray(new String[toEmailrecipients.size()]))
.withTemplate(selectedTemplate)
.cc(ccEmailrecipients.toArray(new String[ccEmailrecipients.size()]))
.bcc(ccEmailrecipients.toArray(new String[bccEmailrecipients.size()]))
.bcc(bccEmailrecipients.toArray(new String[bccEmailrecipients.size()]))
.build();
mailToAdmin.sendEmail();

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -0,0 +1,10 @@
{{GATEWAY_NAME}}
----------------------------------
Hi {{REQUESTING_USER_FIRST_NAME}},
{{USER_FULLNAME}} has approved your access request for {{SELECTED_VRE_NAME}} VRE.
From now on you can access it at {{VRE_URL}} using your email {{REQUESTING_USER_EMAIL}}
---
You received this email because you requested access to {{SELECTED_VRE_NAME}} on {{MANAGE_REQUEST_DATE}}.

View File

@ -0,0 +1,8 @@
{{GATEWAY_NAME}}
----------------------------------
Hi {{REQUESTING_USER_FIRST_NAME}},
we regret to inform you that {{USER_FULLNAME}} has revoked your access to {{SELECTED_VRE_NAME}} VRE.
---
You received this email because you were a member of {{SELECTED_VRE_NAME}} VRE on {{GATEWAY_NAME}}.

View File

@ -0,0 +1,8 @@
{{GATEWAY_NAME}}
----------------------------------
Hi {{REQUESTING_USER_FIRST_NAME}},
we regret to inform you that {{USER_FULLNAME}} has rejected your access request for {{SELECTED_VRE_NAME}} VRE.
---
You received this email because you requested access to {{SELECTED_VRE_NAME}} on {{MANAGE_REQUEST_DATE}}.