Files
edx-platform/lms/templates/static_templates/embargo.html
Mike 0e2b667bb4 Added ability to change header and content of static pages in two ways.
1. Using the pageheader and pagecontent block names.
2. Setting SiteConfiguration settings for each individual html page.

Co-authored by: Tomasz Gargas <tomasz@opencraft.com>
2018-03-24 21:37:09 +01:00

29 lines
1.1 KiB
HTML

<%page expression_filter="h"/>
<%!
from django.utils.translation import ugettext as _
from openedx.core.djangolib.markup import HTML, Text
%>
<%inherit file="../main.html" />
<%block name="pagetitle">${_("This Course Unavailable In Your Country")}</%block>
<main id="main" aria-label="Content" tabindex="-1">
<section class="outside-app">
% if page_header:
<h1>
<%block name="pageheader">${page_header}</%block>
</h1>
% endif
<p>
<%block name="pagecontent">${page_content or Text(_("Our system indicates that you are trying to access this {platform_name} "
"course from a country or region currently subject to U.S. economic and trade sanctions."
"Unfortunately, because {platform_name} is required to comply with export controls,"
"we cannot allow you to access this course at this time."
)).format(
platform_name=Text(settings.PLATFORM_NAME),
)}}
</%block>
</p>
</section>
</main>