From 06b925435d8f8df31bcd434e022fb59e2f3e6a10 Mon Sep 17 00:00:00 2001 From: pateljannat Date: Mon, 27 Sep 2021 12:46:11 +0530 Subject: [PATCH] fix: preview message --- community/lms/widgets/ChapterTeaser.html | 2 +- community/www/batch/learn.html | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/community/lms/widgets/ChapterTeaser.html b/community/lms/widgets/ChapterTeaser.html index 5225d78e..f31b3d11 100644 --- a/community/lms/widgets/ChapterTeaser.html +++ b/community/lms/widgets/ChapterTeaser.html @@ -35,7 +35,7 @@ {% elif is_instructor and not lesson.include_in_preview %} {{ lesson.title }} diff --git a/community/www/batch/learn.html b/community/www/batch/learn.html index 2ae5287b..4ff7a10e 100644 --- a/community/www/batch/learn.html +++ b/community/www/batch/learn.html @@ -48,7 +48,7 @@ {% if membership or lesson.include_in_preview or is_instructor %}
- {% if is_instructor %} + {% if is_instructor and not lesson.include_in_preview %} This lesson is not available for preview. As you are the Instructor of the course only you can see it. ×