diff options
-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> |