From 7ea43a6f44aab64160026c6e823f07cfc5f37e7e Mon Sep 17 00:00:00 2001 From: Ross Date: Mon, 19 Jan 2026 12:53:19 +0000 Subject: [PATCH] Refactor score display logic in exam scores user template for accuracy --- anatomy/templates/anatomy/exam_scores_user.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/anatomy/templates/anatomy/exam_scores_user.html b/anatomy/templates/anatomy/exam_scores_user.html index 47a8d160..42825365 100644 --- a/anatomy/templates/anatomy/exam_scores_user.html +++ b/anatomy/templates/anatomy/exam_scores_user.html @@ -32,9 +32,9 @@ {% if exam.publish_results or view_all_results %}
Marks: - {% if score|int >= 2 %} + {% if score == 2 %} {{ score }} - {% elif score|int == 1 %} + {% elif score == 1 %} {{ score }} {% else %} {{ score }}