<%page expression_filter="h"/> <%namespace name='static' file='../static_content.html'/> <%! from django.utils.translation import gettext as _ from openedx.core.djangolib.markup import HTML, Text %> <%inherit file="../main.html" /> {% if BRANDING_STATIC_TEMPLATE_SERVER_ERROR %} {{ BRANDING_STATIC_TEMPLATE_SERVER_ERROR }} {% else %}

<%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("{platform_name}").format(platform_name=Text(static.get_platform_name())) )} % endif

<%block name="pagecontent"> % if page_content: ${page_content} % else: ${Text(_('Please wait a few seconds and then reload the page.'))} % endif

{% endif %}