From a1ab04ed7ee4816d81bd8424ee78293a157be6c1 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Mon, 13 Jul 2026 13:02:46 +0000 Subject: [PATCH 1/3] Initial plan From 5edacbcceb4288bb43611c97956c0b7871ec66fb Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Mon, 13 Jul 2026 13:04:11 +0000 Subject: [PATCH 2/3] Update theme templates for removed marketing site flag --- .../emails/enroll_email_allowedmessage.txt | 6 ++---- .../header/navbar-not-authenticated.html | 5 ----- .../bootstrap/navbar-not-authenticated.html | 2 -- .../navigation/navbar-not-authenticated.html | 20 +++++++++---------- 4 files changed, 11 insertions(+), 22 deletions(-) diff --git a/lms/templates/emails/enroll_email_allowedmessage.txt b/lms/templates/emails/enroll_email_allowedmessage.txt index dd0c759..9c76816 100644 --- a/lms/templates/emails/enroll_email_allowedmessage.txt +++ b/lms/templates/emails/enroll_email_allowedmessage.txt @@ -11,7 +11,7 @@ ${_("You have been invited to join {course_name} at {course_url} by a " % if auto_enroll: ${_("To access the course visit {course_url} and login.").format(course_url=course_url)} -% elif course_about_url is not None: +% else: ${_("To access the course visit {course_about_url} and register for the course.").format( course_about_url=course_about_url)} @@ -29,11 +29,9 @@ ${_("Once you have registered and logged in, visit the course site at " "{course_about_url} to complete your enrollment.").format( course_about_url=course_about_url )} -% elif course_about_url is not None: +% else: ${_("Once you have logged in with Touchstone, visit {course_about_url} " "to join the course.").format(course_about_url=course_about_url)} -% else: -${_("You can then enroll in {course_name}.").format(course_name=display_name or course.display_name_with_default_escaped)} % endif % endif diff --git a/lms/templates/header/navbar-not-authenticated.html b/lms/templates/header/navbar-not-authenticated.html index 4436436..5e26a7c 100644 --- a/lms/templates/header/navbar-not-authenticated.html +++ b/lms/templates/header/navbar-not-authenticated.html @@ -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') @@ -21,7 +18,6 @@ %>