Files
edx-platform/lms/templates/certificates/invalid.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

19 lines
921 B
HTML

<%page expression_filter="h"/>
<%inherit file="accomplishment-base.html" />
<%! from django.utils.translation import ugettext as _ %>
<div class="wrapper-content status status-invalid">
<div class="wrapper-content-grid">
<main class="content content-main">
<section class="">
<h2 class="title">${_("Cannot Find Certificate")}</h2>
<div class="copy">
<p>${_("We cannot find a certificate with this URL or ID number. If you are trying to validate a certificate, make sure that the URL or ID number is correct. If you are sure that the URL or ID number is correct, contact support.")}</p>
</div>
</section>
</main>
<aside role="complementary" class="content-secondary about" aria-label="${_('About {platform_name} Certificates').format(platform_name=platform_name)}">
</aside>
</div>
</div>