From 329394dcf07baa20f0bc2a9cca30d3321aaf9849 Mon Sep 17 00:00:00 2001 From: Ross Date: Mon, 20 Oct 2025 21:37:59 +0100 Subject: [PATCH] Refactor exam overview template for improved layout and accessibility, adding alerts for JSON status and user group requirements. --- .../generic/exam_overview_headers.html | 285 +++++++++--------- 1 file changed, 145 insertions(+), 140 deletions(-) diff --git a/generic/templates/generic/exam_overview_headers.html b/generic/templates/generic/exam_overview_headers.html index 7d0d3d87..cb02f8a1 100644 --- a/generic/templates/generic/exam_overview_headers.html +++ b/generic/templates/generic/exam_overview_headers.html @@ -1,161 +1,166 @@ {% include "generic/exam_link_headers.html" %} -

Exam: {{ exam }}

-{% include 'exam_notes.html' %} +
+
+
+

Exam: {{ exam }}

+ {% include 'exam_notes.html' %} + {% if exam.examcollection %} +
Part of collection: {{ exam.examcollection }}
+ {% endif %} -{% if exam.examcollection %} -
This exam is part of the collection: {{ exam.examcollection }}
-{% endif %} - - -{% if exam.recreate_json %} - -{% endif %} - - -{% if exam.exam_mode %} - {% if exam.exam_open_access %} - {% else %} - {% if not exam.cid_user_groups.count and not exam.user_user_groups.count %} - - {% if not candidate_count.0 and not candidate_count.1 %} -