From 7bec4708e69a8f7d2d93d640ec851ca0a7d86df1 Mon Sep 17 00:00:00 2001
From: ankitjavalkar
Date: Mon, 23 Nov 2015 17:49:40 +0530
Subject: Add quiz score table in grade user
---
yaksh/templates/yaksh/grade_user.html | 24 +++++++++++++++++++++---
1 file changed, 21 insertions(+), 3 deletions(-)
(limited to 'yaksh')
diff --git a/yaksh/templates/yaksh/grade_user.html b/yaksh/templates/yaksh/grade_user.html
index 8c094a7..9537251 100644
--- a/yaksh/templates/yaksh/grade_user.html
+++ b/yaksh/templates/yaksh/grade_user.html
@@ -17,9 +17,9 @@
Name: {{ data.user.get_full_name.title }}
{% if data.profile %}
(roll number: {{ data.profile.roll_number }})
-{{ data.profile.position }},
-{{ data.profile.department }},
-{{ data.profile.institute }}
+Position: {{ data.profile.position }}
+Department: {{ data.profile.department }}
+Institute: {{ data.profile.institute }}
{% endif %}
@@ -37,11 +39,27 @@ Start time: {{ paper.start_time }}
Questions | +Marks Obtained | + {% for question, answers in paper.get_question_answers.items %} + {% with answers|last as answer %} +
---|---|
{{ question.id }} | +{{ answer.marks }} | +