Files
edx-platform/lms/templates/static_templates/server-error.html
Ahtisham Shahid f6be77d493 Removed tech email form error templates
fixed tests

fixed test fail

Fixed failing tests
2020-04-01 14:53:01 +05:00

33 lines
1.1 KiB
HTML

<%page expression_filter="h"/>
<%namespace name='static' file='../static_content.html'/>
<%!
from django.utils.translation import ugettext as _
from openedx.core.djangolib.markup import HTML, Text
%>
<%inherit file="../main.html" />
<main id="main" aria-label="Content" tabindex="-1">
<section class="outside-app">
<h1>
<%block name="pageheader">
% if page_header:
${page_header}
% else:
${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()))
)}
% endif
</%block>
</h1>
<p>
<%block name="pagecontent">
% if page_content:
${page_content}
% else:
${Text(_('Please wait a few seconds and then reload the page.'))}
% endif
</%block>
</p>
</section>
</main>