diff options
author | ankitjavalkar | 2019-01-08 15:58:26 +0530 |
---|---|---|
committer | ankitjavalkar | 2019-01-08 15:58:26 +0530 |
commit | 83949a7cc5e4fe1f8697d0873015466ec8e96110 (patch) | |
tree | bb1e656615beb27b3e5ecc3f9930631c77cbc485 | |
parent | 75c5ed2569715610dd0d4864659501d101eb640d (diff) | |
download | online_test-83949a7cc5e4fe1f8697d0873015466ec8e96110.tar.gz online_test-83949a7cc5e4fe1f8697d0873015466ec8e96110.tar.bz2 online_test-83949a7cc5e4fe1f8697d0873015466ec8e96110.zip |
Fix Overall Course Completion percentage in Student interface
-rw-r--r-- | yaksh/templates/yaksh/course_modules.html | 4 |
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> |