diff --git a/generic/templates/generic/exam_scores_base.html b/generic/templates/generic/exam_scores_base.html
index 22443086..29b281c7 100644
--- a/generic/templates/generic/exam_scores_base.html
+++ b/generic/templates/generic/exam_scores_base.html
@@ -1,7 +1,6 @@
{% extends exam.app_name|add:'/exams.html' %}
{% block content %}
- {{plot|safe}}
{{ exam.name }}
{% if cached_scores %}
@@ -19,8 +18,8 @@
{% if missing_users %}
The following users results have not been submitted:
- {% for user_id in missing_users %}
- {{user_id}},
+ {% for user in missing_users %}
+ {{user}} ({{user.id}}),
{% endfor %}
{% endif %}
@@ -34,6 +33,7 @@
{% endif %}
+ {{plot|safe}}
Stats
Candidates: {{cids|length}}
diff --git a/generic/views.py b/generic/views.py
index f905d949..6e23ffd8 100644
--- a/generic/views.py
+++ b/generic/views.py
@@ -2076,10 +2076,16 @@ class ExamViews(View, LoginRequiredMixin):
exam.save()
+ missing_user_ids = valid_user_users - user_ids
+
+ missing_users = []
+ if missing_user_ids:
+ missing_users = User.objects.filter(pk__in=missing_user_ids)
+
template_variables = {
"cids": sorted(cids),
"missing_cids": valid_cid_users - plain_cids,
- "missing_users": valid_user_users - user_ids,
+ "missing_users": missing_users,
# "cid_passcodes": cid_passcodes,
"exam": exam,
"unmarked": unmarked,
diff --git a/rad/static/css/anatomy.css b/rad/static/css/anatomy.css
index c2f1b4d1..0d19af58 100644
--- a/rad/static/css/anatomy.css
+++ b/rad/static/css/anatomy.css
@@ -959,4 +959,13 @@ form .submit-button {
h1, h2, h3, h4, h5, h6 {
margin-top: 10px;
-}
\ No newline at end of file
+}
+
+.cid-candidate-list li {
+ display: grid;
+ grid-template-columns: 150px repeat(auto-fill, 400px);
+}
+
+.cid-candidate-list div {
+}
+