From 98775e565c99fd6486fb5908a5ca9be491db9b1c Mon Sep 17 00:00:00 2001
From: mahesh
Date: Tue, 16 Jan 2018 01:13:49 +0530
Subject: Add test case order in view_answerpaper
---
yaksh/templates/yaksh/view_answerpaper.html | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
(limited to 'yaksh/templates')
diff --git a/yaksh/templates/yaksh/view_answerpaper.html b/yaksh/templates/yaksh/view_answerpaper.html
index 410b578..971ef77 100644
--- a/yaksh/templates/yaksh/view_answerpaper.html
+++ b/yaksh/templates/yaksh/view_answerpaper.html
@@ -34,7 +34,7 @@
Start time: {{ paper.start_time }}
End time : {{ paper.end_time }}
Percentage obtained: {{ paper.percent }}%
- {% if paper.passed == 0 %}
+ {% if paper.passed %}
Status : Failed
{% else %}
Status : Passed
@@ -55,7 +55,8 @@