Fix embargo message issues.
PROD-1753
This commit is contained in:
@@ -12,12 +12,12 @@ from openedx.core.djangolib.markup import HTML, Text
|
||||
<section class="outside-app">
|
||||
<p>
|
||||
${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,"
|
||||
"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(
|
||||
)).format(
|
||||
platform_name=Text(settings.PLATFORM_NAME),
|
||||
)}
|
||||
)}
|
||||
</p>
|
||||
</section>
|
||||
</main>
|
||||
|
||||
@@ -15,13 +15,13 @@ from openedx.core.djangolib.markup import HTML, Text
|
||||
</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(
|
||||
<%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>
|
||||
|
||||
Reference in New Issue
Block a user