diff --git a/lms/djangoapps/student_account/test/test_views.py b/lms/djangoapps/student_account/test/test_views.py index d021f6689e73..0d1aece20b6c 100644 --- a/lms/djangoapps/student_account/test/test_views.py +++ b/lms/djangoapps/student_account/test/test_views.py @@ -660,6 +660,7 @@ def test_enterprise_register(self, url_name, ec_present, ec_name, logo_url, mock expected_message = welcome_message.format( start_bold=u'', end_bold=u'', + line_break=u'
', enterprise_name=ec_name, platform_name=settings.PLATFORM_NAME ) diff --git a/lms/envs/common.py b/lms/envs/common.py index 490379a156d5..74ee56fd245d 100644 --- a/lms/envs/common.py +++ b/lms/envs/common.py @@ -3392,8 +3392,10 @@ def _make_locale_paths(settings): ENTERPRISE_PLATFORM_WELCOME_TEMPLATE = _(u'Welcome to {platform_name}.') ENTERPRISE_SPECIFIC_BRANDED_WELCOME_TEMPLATE = _( u'{start_bold}{enterprise_name}{end_bold} has partnered with {start_bold}' - '{platform_name}{end_bold} to offer you high-quality learning opportunities ' - 'from the world\'s best universities.' + '{platform_name}{end_bold} to offer you always available, high-quality learning ' + 'programs to help you advance your knowledge and your career. ' + '{line_break}Please continue with registration, or log in if you are an existing user, ' + 'and press continue to start learning.' ) ENTERPRISE_TAGLINE = '' ENTERPRISE_EXCLUDED_REGISTRATION_FIELDS = { diff --git a/lms/static/sass/views/_login-register.scss b/lms/static/sass/views/_login-register.scss index a8a124a6d2a9..b2065429fbbe 100644 --- a/lms/static/sass/views/_login-register.scss +++ b/lms/static/sass/views/_login-register.scss @@ -10,7 +10,7 @@ height: 100%; padding-left: $baseline; padding-right: $baseline; - margin-left: auto; + margin: auto; } .login-register.border-left { diff --git a/openedx/features/enterprise_support/utils.py b/openedx/features/enterprise_support/utils.py index e939641942d0..9ba7714114f6 100644 --- a/openedx/features/enterprise_support/utils.py +++ b/openedx/features/enterprise_support/utils.py @@ -90,9 +90,10 @@ def get_enterprise_sidebar_context(enterprise_customer): settings.ENTERPRISE_SPECIFIC_BRANDED_WELCOME_TEMPLATE ) - branded_welcome_string = branded_welcome_template.format( - start_bold=u'', - end_bold=u'', + branded_welcome_string = Text(branded_welcome_template).format( + start_bold=HTML(''), + end_bold=HTML(''), + line_break=HTML('
'), enterprise_name=enterprise_customer['name'], platform_name=platform_name )