30 lines
976 B
HTML
30 lines
976 B
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" />
|
|
|
|
<%block name="pagetitle">${_("Page Not Found")}</%block>
|
|
|
|
<main id="main" aria-label="Content" tabindex="-1">
|
|
<section class="outside-app">
|
|
<h1>
|
|
<%block name="pageheader">${page_header or _("Page not found")}</%block>
|
|
</h1>
|
|
<p>
|
|
<%block name="pagecontent">
|
|
% if page_content:
|
|
${page_content}
|
|
% else:
|
|
${Text(_('The page that you were looking for was not found. Go back to the {link_start}homepage{link_end} .')).format(
|
|
link_start=HTML('<a href="/">'),
|
|
link_end=HTML('</a>')
|
|
)}
|
|
% endif
|
|
</%block>
|
|
</p>
|
|
</section>
|
|
</main>
|