From 84f9d1b357a14d33a7dc917a370dfb4ac2ba7ae0 Mon Sep 17 00:00:00 2001 From: qtw97 Date: Mon, 20 Nov 2023 17:16:28 -0500 Subject: [PATCH] Update courses.html --- lms/templates/courseware/courses.html | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/lms/templates/courseware/courses.html b/lms/templates/courseware/courses.html index 80b1a240f904..beea2871c735 100644 --- a/lms/templates/courseware/courses.html +++ b/lms/templates/courseware/courses.html @@ -7,6 +7,9 @@ <%inherit file="../main.html" /> <% course_discovery_enabled = settings.FEATURES.get('ENABLE_COURSE_DISCOVERY') + filter_enabled = settings.FEATURES.get('ENABLE_FILTER') + sortby_enabled = settings.FEATURES.get('ENABLE_SORTBY') + %> <%namespace name='static' file='../static_content.html'/> @@ -44,7 +47,7 @@
- + % if filter_enabled:
@@ -54,6 +57,8 @@ 3
+ % endif +
@@ -71,6 +76,8 @@
+ + % if sortby_enabled:
@@ -79,6 +86,7 @@
+ % endif