Update to Angular 16 #16

Merged
k.triantafyllou merged 66 commits from angular-16 into develop 2023-10-30 10:57:26 +01:00
1 changed files with 12 additions and 0 deletions
Showing only changes of commit b69e19fa17 - Show all commits

View File

@ -93,6 +93,18 @@ export class Composer {
return email; return email;
} }
public static composeEmailForDevelop(contactForm: any, admins: any): Email {
let email: Email = new Email();
email.subject = "OpenAIRE - Develop [" + properties.environment.toUpperCase() + "]";
email.body = "<div style='font-size:" + this.noteBodySize + "'>"
+ "<span><b>Subject</b>: " + (contactForm.subject ? contactForm.subject : '-') + "</span><br>"
+ "<p>" + contactForm.message + "</p>"
+ "</div>";
email.recipients = admins;
return email;
}
public static composeEmailForUsageCounts(contactForm: any, admins: any): Email { public static composeEmailForUsageCounts(contactForm: any, admins: any): Email {
let email: Email = new Email(); let email: Email = new Email();