Project

General

Profile

« Previous | Next » 

Revision 61023

[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).

View differences:

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;\">" +

Also available in: Unified diff