From 7a834136f3f88665605e8eee73be1f9e584e63a6 Mon Sep 17 00:00:00 2001
From: adityacp
Date: Wed, 19 Apr 2017 12:57:10 +0530
Subject: Change in Templates - Add additional message for 404 error. - Change
grade user template to show label for correct/incorrect answer - Change view
answerpaper to provide download facility for students
---
yaksh/templates/404.html | 4 +++-
yaksh/templates/yaksh/grade_user.html | 13 +++++++++++--
yaksh/templates/yaksh/view_answerpaper.html | 8 +++++++-
3 files changed, 21 insertions(+), 4 deletions(-)
diff --git a/yaksh/templates/404.html b/yaksh/templates/404.html
index 8d43ec5..e9d99de 100644
--- a/yaksh/templates/404.html
+++ b/yaksh/templates/404.html
@@ -1,5 +1,7 @@
{% extends "base.html" %}
{% block content %}
-{{ exception }}
+It seems that you have encountered an error
+Type of Error - {{ exception }}
+Please contact your administrator
{% endblock %}
diff --git a/yaksh/templates/yaksh/grade_user.html b/yaksh/templates/yaksh/grade_user.html
index 311af5c..1ac4757 100644
--- a/yaksh/templates/yaksh/grade_user.html
+++ b/yaksh/templates/yaksh/grade_user.html
@@ -46,7 +46,7 @@
{% endif %}
-{% if quiz_file_status %}
+{% if has_quiz_assignments %}
Download All Assignments
@@ -164,12 +164,21 @@ Status : Passed