From c722673dbdfaaef4417baf34fa3aca5560ca2019 Mon Sep 17 00:00:00 2001 From: Jannat Patel Date: Tue, 26 Apr 2022 15:27:35 +0530 Subject: [PATCH] fix: dont show notify button from outline if already opted --- lms/lms/widgets/CourseOutline.html | 25 +++++++++++++++---------- lms/www/courses/course.html | 2 +- 2 files changed, 16 insertions(+), 11 deletions(-) diff --git a/lms/lms/widgets/CourseOutline.html b/lms/lms/widgets/CourseOutline.html index b2dd678e..43350d50 100644 --- a/lms/lms/widgets/CourseOutline.html +++ b/lms/lms/widgets/CourseOutline.html @@ -77,15 +77,20 @@ aria-hidden="true"> diff --git a/lms/www/courses/course.html b/lms/www/courses/course.html index a214d1a0..5f243002 100644 --- a/lms/www/courses/course.html +++ b/lms/www/courses/course.html @@ -16,7 +16,7 @@
{{ CourseHeaderOverlay(course) }} {{ Description(course) }} - {{ widgets.CourseOutline(course=course, membership=membership) }} + {{ widgets.CourseOutline(course=course, membership=membership, is_user_interested=is_user_interested) }} {{ widgets.Reviews(course=course, membership=membership) }}