From cc956355f8ddb13e9430f6e41ab183eebc848530 Mon Sep 17 00:00:00 2001 From: maheshgudi Date: Mon, 8 Jan 2018 16:57:42 +0530 Subject: Allow access to previous completed questions in exercises --- yaksh/templates/exam.html | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/yaksh/templates/exam.html b/yaksh/templates/exam.html index ce1d3b8..012adbe 100644 --- a/yaksh/templates/exam.html +++ b/yaksh/templates/exam.html @@ -60,6 +60,10 @@ {% else %} {% if qid.id == question.id %}
  • {{ forloop.counter }}
  • + {% elif qid in paper.get_questions_answered %} +
  • {{ forloop.counter }}
  • {% else %}
  • {{ forloop.counter }}
  • {% endif %} -- cgit