Fix embargo message issues.

PROD-1753
This commit is contained in:
Waheed Ahmed
2020-06-24 14:12:02 +05:00
parent b7500cd2a0
commit ab72a9d87d
2 changed files with 10 additions and 10 deletions

View File

@@ -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>

View File

@@ -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>