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