diff --git a/community/lms/web_template/course_cards/course_cards.html b/community/lms/web_template/course_cards/course_cards.html
index 693223e5..437ab432 100644
--- a/community/lms/web_template/course_cards/course_cards.html
+++ b/community/lms/web_template/course_cards/course_cards.html
@@ -3,7 +3,7 @@
{% for course_row in courses %}
{% set course = frappe.get_doc("LMS Course", course_row.course) %}
- {{ widgets.CourseCard(course=course, show_progress_indicators=True) }}
+ {{ widgets.CourseCard(course=course, read_only=False) }}
{% endfor %}
diff --git a/community/lms/widgets/CourseCard.html b/community/lms/widgets/CourseCard.html
index 38a51591..e73a46f2 100644
--- a/community/lms/widgets/CourseCard.html
+++ b/community/lms/widgets/CourseCard.html
@@ -7,6 +7,10 @@
{% for tag in course.get_tags() %}
{{ tag }}
{% endfor %}
+ {% set progress = course.get_course_progress() %}
+ {% if membership and not read_only %}
+ {{ frappe.utils.rounded(progress) }}%
+ {% endif %}
{% if not course.image %}
{{ course.title[0] }}
@@ -29,25 +33,11 @@
{{ course.get_upcoming_batches() | length }} Open Batches
{% endif %}
- {% set certificate = course.is_certified() %}
- {% if certificate and show_progress_indicators %}
- Get
- Certificate
- {% endif %}
{{ course.title }}
- {% if membership and show_progress_indicators %}
- {% set progress = course.get_course_progress() %}
-
- {% else %}
-
- {% endif %}
-
+ {% endif %}
{% endif %}
+