Revision 61023
Added by Konstantina Galouni almost 3 years ago
modules/uoa-claims/trunk/src/main/java/eu/dnetlib/data/emailSender/EmailSender.java | ||
---|---|---|
422 | 422 |
messageContent = "There are new Claims for: '" + openaire_name +"' project for which you seem to be a contact person." + |
423 | 423 |
"<br>Click <a href=\""+openaireClaimsPageUrl+"\">here</a> to curate these Claims."; |
424 | 424 |
} else if(type.equals("community")) { |
425 |
openaireClaimsPageUrl = openaireCommunityClaimsPage + openaire_id; |
|
426 |
manageUserNotificationsPage = manageCommunityUserNotificationsPage + openaire_id; |
|
425 |
openaireClaimsPageUrl = openaireCommunityClaimsPage.replace("{community}", openaire_id); |
|
427 | 426 |
|
427 |
manageUserNotificationsPage = manageCommunityUserNotificationsPage.replace("{community}", openaire_id); |
|
428 |
|
|
428 | 429 |
subject = "[OpenAIRE-Connect] "+openaire_name+": Links notification"; |
429 | 430 |
messageContent = |
430 | 431 |
" <div style=\"font-size:14px;\">" + |
modules/uoa-claims/trunk/src/main/resources/eu/dnetlib/data/claims/springContext-claims.properties | ||
---|---|---|
23 | 23 |
services.claims.mail.specialRecipients = invalid_recipient@email.com |
24 | 24 |
services.claims.mail.contactMail = openaire.test@gmail.com |
25 | 25 |
services.claims.mail.openaireProjectClaimsPage = http://duffy.di.uoa.gr:4300/claims-project-manager?openaireId= |
26 |
services.claims.mail.openaireCommunityClaimsPage = http://duffy.di.uoa.gr:4200/claims?communityId=
|
|
27 |
services.claims.mail.manageCommunityUserNotificationsPage = https://beta.admin.connect.openaire.eu/manage-user-notifications?communityId=
|
|
26 |
services.claims.mail.openaireCommunityClaimsPage = http://duffy.di.uoa.gr:5000/{community}/users/claims
|
|
27 |
services.claims.mail.manageCommunityUserNotificationsPage = http://duffy.di.uoa.gr:5000/{community}/users/notifications
|
|
28 | 28 |
|
29 | 29 |
services.claims.mail.sendEmailNotifications = false |
30 | 30 |
|
Also available in: Unified diff
[Trunk | Claims Service]:
1. springContext-claims.properties: Updated "services.claims.mail.openaireCommunityClaimsPage" and "services.claims.mail.manageCommunityUserNotificationsPage" to use the new admin portal urls (Admin portal redesign).
2. EmailSender.java: Build urls by replacing "{community}" with openaire_id in "openaireCommunityClaimsPage" and "manageCommunityUserNotificationsPage" properties, (Admin portal redesign - new urls).