Skip to content

Commit

Permalink
SAK-29239 Changed to just use the list, fixed a property based on cod…
Browse files Browse the repository at this point in the history
…e review
  • Loading branch information
jonespm committed Jun 17, 2015
1 parent 2c75e65 commit b8d72f2
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -903,7 +903,7 @@ content_review.accepted.types.delimiter=,
content_review.accepted.types.lparen=(
content_review.accepted.types.rparen=)

noti.releaseresubmission.subject.content=Email notification for assignment
noti.releaseresubmission.subject.content=Assignment submission has been corrected
noti.releaseresubmission.text=Your submission to assignment "{0}" has been corrected and it allows resubmissions until the due date. Please go to {1} to view details.
noti.releaseresubmission.noresubmit.text=Your submission to assignment "{0}" has been corrected. Please go to {1} to view details.

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2979,9 +2979,9 @@ private String htmlContentReleaseResubmission(AssignmentSubmission s){
buffer.append(rb.getString("noti.site.title") + " " + siteTitle + newline);
buffer.append(rb.getString("noti.site.url") + " <a href=\""+ siteUrl+ "\">" + siteUrl + "</a>"+ newline);
// notification text
//Get the actual person that submitted, for a group submission just get anyone from that group
String userId = s.getSubmitterId();
if (a != null && a.isGroup()) {
//Get the actual person that submitted, for a group submission just get the first person from that group (This is why the array is used)
String userId = null;
if (s.getSubmitterIds() != null && s.getSubmitterIds().size() > 0) {
userId = (String) s.getSubmitterIds().get(0);
}
if (canSubmit(context,a,userId)) {
Expand Down

0 comments on commit b8d72f2

Please sign in to comment.