CLASSROOMIO-T-154: Notify tutors when a student submits an exercise

CLASSROOMIO-T-154: Fix textarea grade issue

CLASSROOMIO-T-154: Get it to work properly

Merge branch 'CLASSROOMIO-T-154' of https://gitlab.com/thenextgreat/classroomio into CLASSROOMIO-T-154

CLASSROOMIO-T-154: PR fixes
CLASSROOMIO-T-154:Updated the code

Merge branch 'main' into CLASSROOMIO-T-154

CLASSROOMIO-T-154:Notify tutors when a student submits an exercise


Co-authored-by: Ifeanyi Nwosu <ifeanyi@digdippa.com>
Co-authored-by: Rotimi Best <rotimiibitoyeemma@gmail.com>


Merge-request: CLASSROOMIO-MR-109
Merged-by: Best Admin <best@digdippa.com>
This commit is contained in:
emmanuel
2023-10-20 04:16:07 +00:00
committed by Space Cloud
co-authored by Rotimi Best
parent 91f28a345f
commit 0f2d60534d
15 changed files with 159 additions and 91 deletions
@@ -114,12 +114,9 @@
${
status_id == 3
? `<p>Your score was ${totalMark}/${maxMark}</p>
<div>
<a class="button" href="${exerciseLink}">View your Result</a>
<div>`
: `<div>
<a class="button" href="${exerciseLink}">Open Exercise</a>
<div>`
<a class="button" href="${exerciseLink}">View your Result</a>
`
: `<a class="button" href="${exerciseLink}">Open Exercise</a>`
}
<p>This exercise is for <strong>${
lessonDetails.title
@@ -254,7 +251,7 @@
total: totalPoints
}).then((res) => console.log('Updated submission', res));
snackbar.success();
snackbar.success('Grading saved and student notified');
await Promise.all(updates);
}