+
{% if course.get_chapters() | length %}
@@ -25,13 +29,32 @@
{{ course.get_upcoming_batches() | length }} Open Batches
{% endif %}
+ {% set certificate = course.is_certified() %}
+ {% if certificate and show_progress_indicators %}
+
View
+ Certificate
+ {% endif %}
+
{{ course.title }}
+ {% if membership and show_progress_indicators %}
+ {% set progress = course.get_course_progress() %}
+
+ {% else %}
+ {% endif %}
+
- {% set membership = course.get_membership(frappe.session.user) %}
{% set lesson_index = course.get_lesson_index(membership.current_lesson) if membership and
membership.current_lesson
diff --git a/community/lms/widgets/CourseTeaser.html b/community/lms/widgets/CourseTeaser.html
index 2b7b54ec..53bc6362 100644
--- a/community/lms/widgets/CourseTeaser.html
+++ b/community/lms/widgets/CourseTeaser.html
@@ -12,7 +12,7 @@
{% endif %}
{% with author = course.get_instructor() %}
- {{ widgets.Avatar(member=author, avatar_class="avatar-medium") }}
{{ author.full_name }}
+ {{ widgets.Avatar(member=author, avatar_class="avatar-medium") }}
{{ author.full_name }}
{% endwith %}
diff --git a/community/lms/widgets/InstructorSection.html b/community/lms/widgets/InstructorSection.html
deleted file mode 100644
index 9c96c294..00000000
--- a/community/lms/widgets/InstructorSection.html
+++ /dev/null
@@ -1,6 +0,0 @@
-
diff --git a/community/lms/widgets/MemberCard.html b/community/lms/widgets/MemberCard.html
index 77f00556..3ed9ed5d 100644
--- a/community/lms/widgets/MemberCard.html
+++ b/community/lms/widgets/MemberCard.html
@@ -11,5 +11,5 @@
Created {{ course_count }} {{ suffix }}