diff --git a/shorts/templates/shorts/exam_scores_user.html b/shorts/templates/shorts/exam_scores_user.html index 3afd3f79..eb5fd585 100644 --- a/shorts/templates/shorts/exam_scores_user.html +++ b/shorts/templates/shorts/exam_scores_user.html @@ -8,13 +8,15 @@
${data.history}`);
}
+ if (data.feedback) {
+ $(".question-display-block .question-feedback").empty().append(`Feedback:${data.feedback}`);
+ } else {
+ $(".question-display-block .question-feedback").empty();
+ }
console.log(data)
if (data.answers && data.answers.length > 0) {
// Format: [[answer, score], ...]
diff --git a/shorts/templates/shorts/mark_answer.html b/shorts/templates/shorts/mark_answer.html
index e8b9df9d..5c14cced 100644
--- a/shorts/templates/shorts/mark_answer.html
+++ b/shorts/templates/shorts/mark_answer.html
@@ -174,37 +174,71 @@
({{ unmarked|length }} answer{{ unmarked|length|pluralize }} left to mark)
History: {{ question.history }}
-Region: {{ question.get_regions }}
-Examination: {{ question.get_examinations }}
-Abnormality: {{ question.get_abnormalities }}
-Feedback: {{ question.feedback }}
-{{answer.answer}}
+
+ History: {{ question.history }}
+Region: {{ question.get_regions }}
+Examination: {{ question.get_examinations }}
+Abnormality: {{ question.get_abnormalities }}
+Feedback: {{ question.feedback }}
{{ answer.answer }}
+