summaryrefslogtreecommitdiff
path: root/yaksh/templates
diff options
context:
space:
mode:
authoradityacp2018-03-01 19:00:55 +0530
committeradityacp2018-03-21 17:32:41 +0530
commit65c368a1360a83c2b10458ec61a4b74d9ac8e9f5 (patch)
tree970a031b18d4fe87eadee2c488ead5f6a6292d45 /yaksh/templates
parent95f5f27c18380e2fb2f33526c467e822dd10c4d8 (diff)
downloadonline_test-65c368a1360a83c2b10458ec61a4b74d9ac8e9f5.tar.gz
online_test-65c368a1360a83c2b10458ec61a4b74d9ac8e9f5.tar.bz2
online_test-65c368a1360a83c2b10458ec61a4b74d9ac8e9f5.zip
Show student grade in course status page
Diffstat (limited to 'yaksh/templates')
-rw-r--r--yaksh/templates/yaksh/course_detail.html6
1 files changed, 6 insertions, 0 deletions
diff --git a/yaksh/templates/yaksh/course_detail.html b/yaksh/templates/yaksh/course_detail.html
index a5d10a7..9fcae68 100644
--- a/yaksh/templates/yaksh/course_detail.html
+++ b/yaksh/templates/yaksh/course_detail.html
@@ -136,12 +136,14 @@
<th>Sr No.</th>
<th>Students</th>
<th>Total</th>
+ <th>Grade</th>
<th colspan="{{modules|length}}">Modules</th>
</tr>
<tr>
<th scope="row"></th>
<th></th>
<th></th>
+ <th></th>
{% if modules %}
{% for module in modules %}
<th>
@@ -171,6 +173,10 @@
{% course_completion_percent course student as c_percent %}
{{c_percent}} %
</td>
+ <td>
+ {% course_grade course student as grade %}
+ {{grade}}
+ </td>
{% if modules %}
{% for module in modules %}
<td>