diff --git a/src/main/java/cloudgene/mapred/core/Template.java b/src/main/java/cloudgene/mapred/core/Template.java index ae470683..1ffef7f8 100644 --- a/src/main/java/cloudgene/mapred/core/Template.java +++ b/src/main/java/cloudgene/mapred/core/Template.java @@ -22,30 +22,39 @@ public class Template { public static final String USER_EMAIL_DESCRIPTION = "USER_EMAIL_DESCRIPTION"; public static final String USER_WITHOUT_EMAIL_DESCRIPTION = "USER_WITHOUT_EMAIL_DESCRIPTION"; - + public static final Template[] SNIPPETS = new Template[] { new Template(MAINTENANCE_MESSAGE, "Sorry, our service is currently under maintenance. Imputation Server is expected to be down until Tuesday 08:00 AM EDT."), new Template(FOOTER, - "

powered by Cloudgene

"), + "

powered by Cloudgene

"), new Template(REGISTER_MAIL, - "Dear %s,\nThis email has been sent automatically by the \"%s\" system to confirm that your profile has now been registered.\n\n" - + "To confirm your email address, please click on this activation link %s"), + """ + Dear %s, + This email has been sent automatically by the "%s" system to confirm that your profile has now been registered. + + To confirm your email address, please click on this activation link %s"""), new Template(RETIRE_JOB_MAIL, - "Dear %s,\nYour job retires in %s days! All imputation results will be deleted at that time.\n\n" - + "Please ensure that you have downloaded all results from https://imputationserver.sph.umich.edu/start.html#!jobs/%s"), + """ + Dear %s, + Your job retires in %s days! All imputation results will be deleted at that time. + + Please ensure that you have downloaded all results from https://imputationserver.sph.umich.edu/start.html#!jobs/%s"""), new Template(RECOVERY_MAIL, - "Dear %s,\nThis email has been sent automatically by the \"%s\" system.\n\n" - + "To reset your password, please click on this link %s. "), + """ + Dear %s, + This email has been sent automatically by the "%s" system. + + To reset your password, please click on this link %s."""), new Template(FOOTER_SUBMIT_JOB, ""), - - new Template(TERMS, "I will not attempt to re-identify or contact research participants.
" + + + new Template(TERMS, "I will not attempt to re-identify or contact research participants.
" + "I will report any inadvertent data release, security breach or other data management incident of which I become aware."), new Template(USER_EMAIL_DESCRIPTION, "Receive email notifications when jobs are completed."),