From f17504e1a0b5406a23eff7592accfa69c89ba311 Mon Sep 17 00:00:00 2001 From: Jannat Patel Date: Tue, 29 Apr 2025 15:51:03 +0530 Subject: [PATCH] fix: hide start learning button if self enrollment is disabled --- frontend/src/components/CourseCardOverlay.vue | 9 +++++---- frontend/src/pages/Lesson.vue | 15 ++++++++++++++- lms/lms/utils.py | 7 ++++++- 3 files changed, 25 insertions(+), 6 deletions(-) diff --git a/frontend/src/components/CourseCardOverlay.vue b/frontend/src/components/CourseCardOverlay.vue index 1b344616..1847182e 100644 --- a/frontend/src/components/CourseCardOverlay.vue +++ b/frontend/src/components/CourseCardOverlay.vue @@ -48,12 +48,13 @@ -
{{ __('Contact the Administrator to enroll for this course.') }} -
+ + + {{ __('Contact the Administrator to enroll for this course.') }} +