Skip to content

Commit

Permalink
SAK-47848 grader. Added curly brace instruction to grader feedback (#…
Browse files Browse the repository at this point in the history
…12018)

(cherry picked from commit 2dd26d4)
  • Loading branch information
adrianfish authored and ern committed Oct 31, 2023
1 parent 0624771 commit 649fb33
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
6 changes: 5 additions & 1 deletion webcomponents/bundle/src/main/bundle/grader.properties
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,11 @@ notes_present=There are private notes on this submission
unsaved_notes_present=The private notes on this submission is not saved
unsaved_text_warning=Changes are not going to be saved. Click on 'Cancel' again to confirm.
profile_image='s profile image
inline_feedback_instruction=This is the submitted text, with your feedback. To add more feedback, click 'Add Feedback' at the bottom of the submission, then click 'Done' when you're finished. <strong>Your changes won't be saved until you click one of the save buttons in the grader.</strong>
inline_feedback_instruction=Below is the submission from a student. You can insert comments in this \
text by clicking 'Add Feedback' at the bottom of the submission - comments surrounded by double \
curly braces {{<span class="highlight">like this</span>}} will appear red to the student. Click \
'Done' when you're finished. <strong>Your changes won't be saved until you click one of the save \
buttons in the grader.</strong>
confirm_exceed_max_grade=The grade you entered is greater than the max of {}. Is that okay?
unlimited=Unlimited
hide_history=Hide History
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -296,6 +296,7 @@ export class SakaiGrader extends graderRenderingMixin(gradableDataMixin(SakaiEle
} else {
if (!cancelling) {
this.submission.feedbackText = this.feedbackTextEditor.getData();
bootstrap.Offcanvas.getOrCreateInstance(document.getElementById("grader")).show();
this.requestUpdate();
} else {
this.feedbackTextEditor.setData(this.submission.feedbackText, () => this.modified = false);
Expand Down

0 comments on commit 649fb33

Please sign in to comment.