From 64546afb6d3a84c3731b4bb5279b6adcbad28d20 Mon Sep 17 00:00:00 2001 From: Douglas Hall Date: Tue, 14 Jun 2016 15:52:22 -0400 Subject: [PATCH 1/2] Get platform name via microsite configuration for forgot password page --- openedx/core/djangoapps/user_api/views.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/openedx/core/djangoapps/user_api/views.py b/openedx/core/djangoapps/user_api/views.py index 63bd3518a8..bc243a6c1b 100644 --- a/openedx/core/djangoapps/user_api/views.py +++ b/openedx/core/djangoapps/user_api/views.py @@ -77,7 +77,7 @@ class LoginSessionView(APIView): # Translators: These instructions appear on the login form, immediately # below a field meant to hold the user's email address. email_instructions = _("The email address you used to register with {platform_name}").format( - platform_name=settings.PLATFORM_NAME + platform_name=get_themed_value('PLATFORM_NAME', settings.PLATFORM_NAME) ) form_desc.add_field( From 5e13fb496fe099cb430e25e6c356a469d8c827be Mon Sep 17 00:00:00 2001 From: Douglas Hall Date: Tue, 14 Jun 2016 22:50:05 -0400 Subject: [PATCH 2/2] Get platform name via microsite configuration for forgot password page --- openedx/core/djangoapps/user_api/views.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/openedx/core/djangoapps/user_api/views.py b/openedx/core/djangoapps/user_api/views.py index bc243a6c1b..38cfde0ab6 100644 --- a/openedx/core/djangoapps/user_api/views.py +++ b/openedx/core/djangoapps/user_api/views.py @@ -920,7 +920,7 @@ class PasswordResetView(APIView): # Translators: These instructions appear on the password reset form, # immediately below a field meant to hold the user's email address. email_instructions = _(u"The email address you used to register with {platform_name}").format( - platform_name=settings.PLATFORM_NAME + platform_name=get_themed_value('PLATFORM_NAME', settings.PLATFORM_NAME) ) form_desc.add_field(