${_("Noted by")}
+${_("Noted by")}
${_("Supported by the following organizations")}
+${_("Supported by the following organizations")}
- @@ -116,4 +116,4 @@ course_mode_class = course_mode if course_mode else ''
diff --git a/lms/djangoapps/certificates/models.py b/lms/djangoapps/certificates/models.py index e7ed44964f..1e83418fa7 100644 --- a/lms/djangoapps/certificates/models.py +++ b/lms/djangoapps/certificates/models.py @@ -558,12 +558,10 @@ class CertificateHtmlViewConfiguration(ConfigurationModel): { "default": { "url": "http://www.edx.org", - "logo_src": "http://www.edx.org/static/images/logo.png", - "logo_alt": "Valid Certificate" + "logo_src": "http://www.edx.org/static/images/logo.png" }, "honor": { - "logo_src": "http://www.edx.org/static/images/honor-logo.png", - "logo_alt": "Honor Certificate" + "logo_src": "http://www.edx.org/static/images/honor-logo.png" } } """ diff --git a/lms/djangoapps/certificates/tests/test_models.py b/lms/djangoapps/certificates/tests/test_models.py index 755f2b233c..0935c3df8e 100644 --- a/lms/djangoapps/certificates/tests/test_models.py +++ b/lms/djangoapps/certificates/tests/test_models.py @@ -101,12 +101,10 @@ class CertificateHtmlViewConfigurationTest(TestCase): self.configuration_string = """{ "default": { "url": "http://www.edx.org", - "logo_src": "http://www.edx.org/static/images/logo.png", - "logo_alt": "Valid Certificate" + "logo_src": "http://www.edx.org/static/images/logo.png" }, "honor": { - "logo_src": "http://www.edx.org/static/images/honor-logo.png", - "logo_alt": "Honor Certificate" + "logo_src": "http://www.edx.org/static/images/honor-logo.png" } }""" self.config = CertificateHtmlViewConfiguration(configuration=self.configuration_string) @@ -134,12 +132,10 @@ class CertificateHtmlViewConfigurationTest(TestCase): expected_config = { "default": { "url": "http://www.edx.org", - "logo_src": "http://www.edx.org/static/images/logo.png", - "logo_alt": "Valid Certificate" + "logo_src": "http://www.edx.org/static/images/logo.png" }, "honor": { - "logo_src": "http://www.edx.org/static/images/honor-logo.png", - "logo_alt": "Honor Certificate" + "logo_src": "http://www.edx.org/static/images/honor-logo.png" } } self.assertEquals(self.config.get_config(), expected_config) diff --git a/lms/djangoapps/certificates/views.py b/lms/djangoapps/certificates/views.py index 343b8572e6..963ce40304 100644 --- a/lms/djangoapps/certificates/views.py +++ b/lms/djangoapps/certificates/views.py @@ -500,7 +500,6 @@ def render_html_view(request, user_id, course_id): # Translators: This line appears as a byline to a header image and describes the purpose of the page context['logo_subtitle'] = _("Certificate Validation") - context['logo_alt'] = context.get('platform_name') invalid_template_path = 'certificates/invalid.html' # Kick the user back to the "Invalid" screen if the feature is disabled diff --git a/lms/templates/certificates/_accomplishment-banner.html b/lms/templates/certificates/_accomplishment-banner.html index d835caad1c..f8f8d81d02 100644 --- a/lms/templates/certificates/_accomplishment-banner.html +++ b/lms/templates/certificates/_accomplishment-banner.html @@ -32,26 +32,27 @@