From c04f586f8ac85bf0fd0290b97c8d727e4e21274c Mon Sep 17 00:00:00 2001
From: ankitjavalkar
Date: Wed, 9 Jan 2019 15:18:30 +0530
Subject: Multiple changes in new UI: - Deprecate usage of
'course_completion_percent' custom template tag - Replace old code in
course_detail.html
---
yaksh/templates/yaksh/course_detail.html | 66 +++++++++++++-------------------
yaksh/templatetags/custom_filters.py | 5 ---
2 files changed, 26 insertions(+), 45 deletions(-)
(limited to 'yaksh')
diff --git a/yaksh/templates/yaksh/course_detail.html b/yaksh/templates/yaksh/course_detail.html
index 0fee438..54af854 100644
--- a/yaksh/templates/yaksh/course_detail.html
+++ b/yaksh/templates/yaksh/course_detail.html
@@ -141,61 +141,47 @@
- Sr No.
- Students
- Total
+ Email
+ Current Unit
+ Course Completion Percentage
Grade
- Modules
-
-
-
-
-
- {% if modules %}
- {% for module in modules %}
-
- {{module.name}}
- ({{module.get_learning_units|length}} Units)
-
- {% endfor %}
- {% else %}
-
-
- View Units
-
- {% endif %}