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:
parent
869c426823
commit
ee214d6116
|
@ -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";
|
||||||
|
}
|
|
@ -52,7 +52,7 @@ public class EmailTemplateService {
|
||||||
new EmailBuilder(subject, httpServletRequest, toEmailrecipients.toArray(new String[toEmailrecipients.size()]))
|
new EmailBuilder(subject, httpServletRequest, toEmailrecipients.toArray(new String[toEmailrecipients.size()]))
|
||||||
.withTemplate(selectedTemplate)
|
.withTemplate(selectedTemplate)
|
||||||
.cc(ccEmailrecipients.toArray(new String[ccEmailrecipients.size()]))
|
.cc(ccEmailrecipients.toArray(new String[ccEmailrecipients.size()]))
|
||||||
.bcc(ccEmailrecipients.toArray(new String[bccEmailrecipients.size()]))
|
.bcc(bccEmailrecipients.toArray(new String[bccEmailrecipients.size()]))
|
||||||
.build();
|
.build();
|
||||||
|
|
||||||
mailToAdmin.sendEmail();
|
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
File diff suppressed because it is too large
Load Diff
|
@ -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}}.
|
File diff suppressed because it is too large
Load Diff
|
@ -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}}.
|
File diff suppressed because it is too large
Load Diff
|
@ -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}}.
|
Loading…
Reference in New Issue