sendReminderToReporter(process.getIndividualProgramProcess(), participant);
}
}
private void sendReminderToReporter(PhdIndividualProgramProcess process, PhdParticipant participant) {
final AlertMessage subject =
AlertMessage
.create(AlertMessage.get("message.phd.remind.jury.reviews.subject", process.getPhdProgram().getName()))
.isKey(false).withPrefix(false);
String partialBody = null;
if (!hasExceededLimitForReview(process.getThesisProcess())) {
partialBody =
AlertMessage.get("message.phd.remind.jury.reviews.body", process.getPerson().getName(),
process.getProcessNumber(), daysLeftUntilDeadline(process.getThesisProcess()));
} else {
partialBody =
AlertMessage.get("message.phd.remind.jury.reviews.body.late", process.getPerson().getName(),
process.getProcessNumber());
}
final AlertMessage body =
AlertMessage
.create(partialBody
+ "\n\n"
+ getAccessInformation(process, participant,
"message.phd.request.jury.reviews.coordinator.access",