Skip to content

Commit

Permalink
Update courses.html
Browse files Browse the repository at this point in the history
  • Loading branch information
qwqtw committed Nov 20, 2023
1 parent c82f876 commit 84f9d1b
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion lms/templates/courseware/courses.html
Original file line number Diff line number Diff line change
Expand Up @@ -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'/>
Expand Down Expand Up @@ -44,7 +47,7 @@

<div class="filter-search-container">


% if filter_enabled:
<!-- Filter Section -->
<div class="filter-container">
<!-- Filter Box with Icon and Count -->
Expand All @@ -54,6 +57,8 @@
<span style="font-weight: 600; font-size: 12px; color: #ED4338;">3</span>
</div>
</div>
% endif

<!-- Search Bar -->
<div class="search-container">
<div class="search-info" >
Expand All @@ -71,6 +76,8 @@
</div>

</div>

% if sortby_enabled:

<!-- Sort By Dropdown -->
<div class="sort-section">
Expand All @@ -79,6 +86,7 @@
<!-- add options here -->
</select>
</div>
% endif

</div>

Expand Down

0 comments on commit 84f9d1b

Please sign in to comment.