diff --git a/community/lms/widgets/CourseCard.html b/community/lms/widgets/CourseCard.html
index 3934316f..43fe45e9 100644
--- a/community/lms/widgets/CourseCard.html
+++ b/community/lms/widgets/CourseCard.html
@@ -63,7 +63,9 @@
- {% if not read_only %}
+ {% if read_only %}
+
+ {% else %}
{% set lesson_index = course.get_lesson_index(membership.current_lesson) if membership and
membership.current_lesson else '1.1' %}