Files
edx-platform/lms/templates/certificates/valid.html
Adeel Khan d9d4ae5535 Fix invalid certificate page for a11y and translation.
Invalid certificate page has hardcoded lang='en' for
html, that would cause a11y issue for other languages user.
Some of screen reader text is not under translation. This patch
would fix both issues.

LEARNER-3110
2018-01-25 14:02:12 +05:00

17 lines
607 B
HTML

<%page expression_filter="h"/>
<%inherit file="accomplishment-base.html" />
<%! from django.utils.translation import ugettext as _ %>
% if user.is_authenticated() and user.id == int(accomplishment_user_id):
<%include file="_accomplishment-banner.html" />
% endif
<%include file="_accomplishment-introduction.html" />
<%include file="_accomplishment-rendering.html" />
<div class="wrapper-about">
<aside role="complementary" class="about" aria-label=${_("About edX Certificates")}>
<%include file="_about-edx.html" />
<%include file="_about-accomplishments.html" />
</aside>
</div>