Skip to content

Commit

Permalink
SAK-32000 Notify to students about the instructor's comments (sakaipr…
Browse files Browse the repository at this point in the history
  • Loading branch information
annuelo authored and juanjmerono committed Jan 18, 2017
1 parent dc1d397 commit 1eef090
Showing 1 changed file with 12 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2982,6 +2982,11 @@ private String htmlContentReleaseGrade(AssignmentSubmission s)
String linkToToolInSite = "<a href=\"" + developerHelperService.getToolViewURL( "sakai.assignment.grades", null, null, null ) + "\">" + siteTitle + "</a>";
buffer.append(rb.getFormattedMessage("noti.releasegrade.text", new String[]{a.getTitle(), linkToToolInSite}));

// Instructor's comments
buffer.append(newline + newline);
buffer.append(rb.getString("gen.instrcomment") + newline);
buffer.append(s.getFeedbackComment() + newline);

return buffer.toString();
}
private String htmlContentReleaseResubmission(AssignmentSubmission s){
Expand Down Expand Up @@ -3017,8 +3022,13 @@ private String htmlContentReleaseResubmission(AssignmentSubmission s){
else {
buffer.append(rb.getFormattedMessage("noti.releaseresubmission.noresubmit.text", new String[]{a.getTitle(), linkToToolInSite}));
}

return buffer.toString();

// Instructor's comments
buffer.append(newline + newline);
buffer.append(rb.getString("gen.instrcomment") + newline);
buffer.append(s.getFeedbackComment() + newline);

return buffer.toString();
}

private String htmlContentAttachments(AssignmentSubmission s){
Expand Down

0 comments on commit 1eef090

Please sign in to comment.