Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 0 additions & 5 deletions lms/templates/header/navbar-not-authenticated.html
Original file line number Diff line number Diff line change
Expand Up @@ -6,13 +6,10 @@
<%namespace file='../main.html' import="login_query"/>

<%!
from django.urls import reverse
from django.utils.translation import gettext as _
from six import text_type
%>

<%
mktg_site_enabled = static.get_value('ENABLE_MKTG_SITE', settings.FEATURES.get('ENABLE_MKTG_SITE', False))
courses_are_browsable = settings.FEATURES.get('COURSES_ARE_BROWSABLE')
allows_login = not settings.FEATURES['DISABLE_LOGIN_BUTTON'] and not combined_login_and_register
can_discover_courses = settings.FEATURES.get('ENABLE_COURSE_DISCOVERY')
Expand All @@ -21,7 +18,6 @@
%>
<nav class="nav-links" aria-label=${_("Supplemental Links")}>
<div class="main">
% if mktg_site_enabled:
<div class="mobile-nav-item hidden-mobile nav-item">
<a href="${marketing_link('HOW_IT_WORKS')}">${_("How it Works")}</a>
</div>
Expand All @@ -33,7 +29,6 @@
<div class="mobile-nav-item hidden-mobile nav-item">
<a href="${marketing_link('SCHOOLS')}">${_("Schools")}</a>
</div>
% endif
% if allows_login:
% if can_discover_courses:
<div class="mobile-nav-item hidden-mobile nav-item">
Expand Down