From 53e18e296ec496c1040d295ac70a2a144aaf695c Mon Sep 17 00:00:00 2001 From: Ross Date: Thu, 6 Nov 2025 22:09:31 +0000 Subject: [PATCH] Improve exam display layout by adding badges for questions and candidates in the exam list --- generic/templates/generic/partials/_exam_list.html | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/generic/templates/generic/partials/_exam_list.html b/generic/templates/generic/partials/_exam_list.html index d405fa1e..7bef9b9e 100644 --- a/generic/templates/generic/partials/_exam_list.html +++ b/generic/templates/generic/partials/_exam_list.html @@ -9,9 +9,15 @@
-
- {% if exam.exam_mode %}Exam:{% else %}Packet:{% endif %} {{ exam }} -
+
+ + {% if exam.exam_mode %}Exam:{% else %}Packet:{% endif %} {{ exam }} + + + Questions: {{ exam.get_questions|length }} + Candidates: {{ exam.stats_candidates|default:0|floatformat:0 }} + +
Authors: {{ exam.get_authors }} {% if exam.exam_mode %} {% if app_name in "rapids longs anatomy" %}