From 8bfd6122b07b4ca2abbbcf13a4498c856d24ab64 Mon Sep 17 00:00:00 2001 From: Simon Rettberg Date: Wed, 22 Jul 2020 17:15:10 +0200 Subject: [exams] More sanity checks regarding date/time and locations Implausible start/end time, or mismatch between defined exam interval and interval of selected lecture will now be reported. Also, if the list of selected locations contains a location that is not also assiged to the selected lecture, a warning will be displayed. This only triggers if the lecture is restricted to certain locations (exclusive mode, aka "islocationprivate" column. --- .../exams/templates/page-add-edit-exam.html | 209 +++++++++++++++------ 1 file changed, 147 insertions(+), 62 deletions(-) (limited to 'modules-available/exams/templates/page-add-edit-exam.html') diff --git a/modules-available/exams/templates/page-add-edit-exam.html b/modules-available/exams/templates/page-add-edit-exam.html index a45cbac2..eb77e751 100644 --- a/modules-available/exams/templates/page-add-edit-exam.html +++ b/modules-available/exams/templates/page-add-edit-exam.html @@ -10,6 +10,8 @@