From d16041026f1e2082eba5af22b1b87dc2119fbd83 Mon Sep 17 00:00:00 2001 From: Ross Date: Mon, 19 Jan 2026 12:24:59 +0000 Subject: [PATCH] Add links to question stems in exam scores user template for authenticated and unauthenticated users --- physics/templates/physics/exam_scores_user.html | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/physics/templates/physics/exam_scores_user.html b/physics/templates/physics/exam_scores_user.html index 7836b5ae..806d8973 100644 --- a/physics/templates/physics/exam_scores_user.html +++ b/physics/templates/physics/exam_scores_user.html @@ -22,7 +22,13 @@ {% endif %}
-
{{ question.stem|safe }}
+
+ {% if request.user.is_authenticated %} + {{ question.stem|safe }} + {% else %} + {{ question.stem|safe }} + {% endif %} +