From 2bacd94bfbbbdfc716b476cae729049605e8d160 Mon Sep 17 00:00:00 2001 From: Ross Date: Mon, 3 Jan 2022 17:57:26 +0000 Subject: [PATCH] . --- templates/exam_list.html | 4 ++-- templates/exam_overview_js.html | 3 ++- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/templates/exam_list.html b/templates/exam_list.html index 315727bc..7328a8f3 100644 --- a/templates/exam_list.html +++ b/templates/exam_list.html @@ -8,7 +8,7 @@ {% for exam in exams %} {% if exam.active %}
  • - {{exam.name}} + {{exam.name}} {% if marking %}Mark{% endif %} Candidates Scores @@ -78,7 +78,7 @@ display: inline-block; } -.exam-publish-results-switch { +.exam-publish-results-switch, .exam-active-switch { display: none; } diff --git a/templates/exam_overview_js.html b/templates/exam_overview_js.html index a422714a..6fc26f9d 100644 --- a/templates/exam_overview_js.html +++ b/templates/exam_overview_js.html @@ -16,7 +16,8 @@ console.log(data); if (data.status == "success") { - toastr.info('Exam state changed.') + toastr.info(`Exam: ${data.name} [${data.id}] + Active state changed to: ${data.publish_results}.`) } // show some message according to the response. // For eg. A message box showing that the status has been changed