Skip to content

Commit

Permalink
feat: Feature configuration option for disabling CookiePolicyBanner
Browse files Browse the repository at this point in the history
ENABLE_COOKIE_POLICY_BANNER
  • Loading branch information
zzzarius committed Feb 21, 2023
1 parent 2feed0c commit 6d77165
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lms/templates/header/header.html
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@
% endif

<header class="global-header ${'slim' if course else ''}">
% if use_cookie_banner:
% if settings.FEATURES.get('ENABLE_COOKIE_POLICY_BANNER', use_cookie_banner):
${static.renderReact(
component="CookiePolicyBanner",
id="frontend-component-cookie-policy-banner",
Expand Down

0 comments on commit 6d77165

Please sign in to comment.