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
16 lines
493 B
HTML
16 lines
493 B
HTML
<%page expression_filter="h"/>
|
|
<%! from django.utils.translation import ugettext as _ %>
|
|
|
|
<div class="wrapper-header">
|
|
|
|
<header class="header-app" role="banner">
|
|
<h1 class="header-app-title">
|
|
<a class="logo" href="${logo_url}">
|
|
<img class="logo-img" src="${logo_src}" alt="${_('{platform_name} Home').format(platform_name=platform_name)}" />
|
|
</a>
|
|
<span class="sr-only">${logo_subtitle}</span>
|
|
</h1>
|
|
</header>
|
|
|
|
</div>
|