summaryrefslogtreecommitdiff
path: root/yaksh
diff options
context:
space:
mode:
authorankitjavalkar2019-01-08 15:58:26 +0530
committerankitjavalkar2019-01-08 15:58:26 +0530
commit83949a7cc5e4fe1f8697d0873015466ec8e96110 (patch)
treebb1e656615beb27b3e5ecc3f9930631c77cbc485 /yaksh
parent75c5ed2569715610dd0d4864659501d101eb640d (diff)
downloadonline_test-83949a7cc5e4fe1f8697d0873015466ec8e96110.tar.gz
online_test-83949a7cc5e4fe1f8697d0873015466ec8e96110.tar.bz2
online_test-83949a7cc5e4fe1f8697d0873015466ec8e96110.zip
Fix Overall Course Completion percentage in Student interface
Diffstat (limited to 'yaksh')
-rw-r--r--yaksh/templates/yaksh/course_modules.html4
1 files changed, 2 insertions, 2 deletions
diff --git a/yaksh/templates/yaksh/course_modules.html b/yaksh/templates/yaksh/course_modules.html
index 9d936d6..990c843 100644
--- a/yaksh/templates/yaksh/course_modules.html
+++ b/yaksh/templates/yaksh/course_modules.html
@@ -18,7 +18,7 @@
<div class="row justify-content-md-center yakshwell ">
<div class="col-md-10 bg-light card">
<div class="row align-items-center">
- <div class="col h4"> {{course}} </div>
+ <div class="col h4"> {{ course.name }} </div>
<div class="col-md-3 ml-auto yakshwell">
<div class="row align-items-center">
<div class="col-sm-6"> Overall
@@ -26,7 +26,7 @@
</div>
<div class="col-sm-5">
<span class="progress">
- <span class="progress-bar bg-warning " role="progressbar" style="width: 50%; color: black;" aria-valuenow="50" aria-valuemin="0" aria-valuemax="100">50% completed</span>
+ <span class="progress-bar bg-warning " role="progressbar" style="width: {{ course_percentage }}%; color: black;" aria-valuenow="50" aria-valuemin="0" aria-valuemax="100">{{ course_percentage }} % completed</span>
</span>
</div>
</div>