Commit 74a116c9 by Diana Huang Committed by Zia Fazal

Update embargo copy.

ECOM-963

update copy in tests
parent a891cdb1
...@@ -54,7 +54,7 @@ class EmbargoMiddlewareTests(ModuleStoreTestCase): ...@@ -54,7 +54,7 @@ class EmbargoMiddlewareTests(ModuleStoreTestCase):
CourseEnrollment.enroll(self.user, self.regular_course.id) CourseEnrollment.enroll(self.user, self.regular_course.id)
CourseEnrollment.enroll(self.user, self.embargo_course.id) CourseEnrollment.enroll(self.user, self.embargo_course.id)
# Text from lms/templates/static_templates/embargo.html # Text from lms/templates/static_templates/embargo.html
self.embargo_text = "Unfortunately, at this time edX must comply with export controls, and we cannot allow you to access this particular course." self.embargo_text = "Unfortunately, at this time edX must comply with export controls, and we cannot allow you to access this course."
self.patcher = mock.patch.object(pygeoip.GeoIP, 'country_code_by_addr', self.mock_country_code_by_addr) self.patcher = mock.patch.object(pygeoip.GeoIP, 'country_code_by_addr', self.mock_country_code_by_addr)
self.patcher.start() self.patcher.start()
......
...@@ -6,11 +6,9 @@ ...@@ -6,11 +6,9 @@
<section class="outside-app"> <section class="outside-app">
<p> <p>
${_("Our system indicates that you are trying to access this {platform_name} " ${_("Our system indicates that you are trying to access this {platform_name} "
"course from a country currently subject to U.S. economic and trade " "course from a country or region currently subject to U.S. economic and trade "
"sanctions. Unfortunately, at this time {platform_name} must comply with " "sanctions. Unfortunately, at this time {platform_name} must comply with "
"export controls, and we cannot allow you to access this particular course. " "export controls, and we cannot allow you to access this course."
"Feel free to browse our catalogue to find other courses you may be "
"interested in taking."
).format( ).format(
platform_name=settings.PLATFORM_NAME, platform_name=settings.PLATFORM_NAME,
)} )}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment