Sending skip links to single main, making more relevant
This commit is contained in:
@@ -6,17 +6,19 @@ from openedx.core.djangolib.markup import Text, HTML
|
||||
%>
|
||||
<%inherit file="../main.html" />
|
||||
|
||||
<section class="outside-app">
|
||||
<h1>
|
||||
${Text(_(u"There has been a 500 error on the {platform_name} servers")).format(
|
||||
platform_name=HTML("<em>{platform_name}</em>").format(platform_name=Text(static.get_platform_name()))
|
||||
)}
|
||||
</h1>
|
||||
<p>
|
||||
${Text(_('Please wait a few seconds and then reload the page. If the problem persists, please email us at {email}.')).format(
|
||||
email=HTML('<a href="mailto:{email}">{email}</a>').format(
|
||||
email=Text(static.get_tech_support_email_address())
|
||||
)
|
||||
)}
|
||||
</p>
|
||||
</section>
|
||||
<main id="main" aria-label="Content" tabindex="-1">
|
||||
<section class="outside-app">
|
||||
<h1>
|
||||
${Text(_(u"There has been a 500 error on the {platform_name} servers")).format(
|
||||
platform_name=HTML("<em>{platform_name}</em>").format(platform_name=Text(static.get_platform_name()))
|
||||
)}
|
||||
</h1>
|
||||
<p>
|
||||
${Text(_('Please wait a few seconds and then reload the page. If the problem persists, please email us at {email}.')).format(
|
||||
email=HTML('<a href="mailto:{email}">{email}</a>').format(
|
||||
email=Text(static.get_tech_support_email_address())
|
||||
)
|
||||
)}
|
||||
</p>
|
||||
</section>
|
||||
</main>
|
||||
|
||||
Reference in New Issue
Block a user