From 6b3b255cfdcd13dffe4eede23ffc7449aafb32fe Mon Sep 17 00:00:00 2001 From: viveksantayana Date: Wed, 8 Dec 2021 12:46:33 +0000 Subject: [PATCH] Only show topics to revise if failed --- ref-test/quiz/templates/quiz/result.html | 2 +- ref-test/quiz/views.py | 18 ++++++++++++------ 2 files changed, 13 insertions(+), 7 deletions(-) diff --git a/ref-test/quiz/templates/quiz/result.html b/ref-test/quiz/templates/quiz/result.html index b0fd705..2603d6b 100644 --- a/ref-test/quiz/templates/quiz/result.html +++ b/ref-test/quiz/templates/quiz/result.html @@ -30,7 +30,7 @@ {% if entry.results.grade == 'fail' %} - Unfortunately, you have not passed the theory exam in this attempt. For your next attempt, it might help to revise the following topics: + Unfortunately, you have not passed the theory exam in this attempt. For your next attempt, it might help to brush up on the following topics: