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 @@
+ +
@@ -23,6 +25,7 @@ {{/locations}}
+ {{lang_checkLocationSelectionHint}}
@@ -77,10 +80,10 @@ -
-
- {{lang_duration}}: - -
+
+ {{lang_duration}}: - + +
@@ -88,29 +91,43 @@
-
-
-

{{lang_autoStartInfo}}

-
- - - - -
+
+

{{lang_autoStartInfo}}

+
+ + + +
-
-
-

{{lang_autoLoginInfo}}

+ {{lang_sanityCheck}} +
+
+
{{lang_examStartBeforeLectureStart}}
+
{{lang_examStartAfterLectureStart}}
+
{{lang_examStartAfterLectureEnd}}
+
{{lang_examEndBeforeLectureEnd}}
+
{{lang_examEndAfterLectureEnd}}
+
+ {{lang_lectureTimespan}}: +
-
- - +
+ {{lang_lectureNotForLocation}}: +
+
+
+
+

{{lang_autoLoginInfo}}

+
@@ -126,7 +143,7 @@
- +