diff --git a/lms/public/css/style.css b/lms/public/css/style.css index 7e10ceb0..b4d7b719 100644 --- a/lms/public/css/style.css +++ b/lms/public/css/style.css @@ -628,16 +628,6 @@ input[type=checkbox] { margin-bottom: 1rem; } -.lesson-progress { - background: #BFDDF7; - padding: 4px 8px 4px; - font-size: 10px; - line-height: 120%; - margin-left: 1rem; - border-radius: var(--border-radius-md); - font-weight: bold; -} - .profile-page { padding-top: 0; } diff --git a/lms/www/batch/learn.html b/lms/www/batch/learn.html index 67cd8b63..f5805fea 100644 --- a/lms/www/batch/learn.html +++ b/lms/www/batch/learn.html @@ -70,11 +70,14 @@ data-index="{{ lesson_index }}" data-course="{{ course.name }}" data-chapter="{{ chapter }}" {% if lesson.name %} data-lesson="{{ lesson.name }}" {% endif %} >{% if lesson.title %}{{ lesson.title }}{% endif %} - + + {% if get_progress(course.name, lesson.name) == 'Complete' %} + {{ _("COMPLETED") }} + {% endif %} {% if (is_instructor or has_course_moderator_role()) and not lesson.edit_mode %} - + {% endif %} @@ -145,42 +148,23 @@ {% macro pagination(prev_url, next_url) %} -