From ab72a9d87d633d76c09c2f9f07f54318eddff357 Mon Sep 17 00:00:00 2001 From: Waheed Ahmed Date: Wed, 24 Jun 2020 14:12:02 +0500 Subject: [PATCH] Fix embargo message issues. PROD-1753 --- .../lms/templates/static_templates/embargo.html | 8 ++++---- lms/templates/static_templates/embargo.html | 12 ++++++------ 2 files changed, 10 insertions(+), 10 deletions(-) diff --git a/common/test/test-theme/lms/templates/static_templates/embargo.html b/common/test/test-theme/lms/templates/static_templates/embargo.html index 284824fa20..b7006b0111 100644 --- a/common/test/test-theme/lms/templates/static_templates/embargo.html +++ b/common/test/test-theme/lms/templates/static_templates/embargo.html @@ -12,12 +12,12 @@ from openedx.core.djangolib.markup import HTML, Text

${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), - )} + )}

diff --git a/lms/templates/static_templates/embargo.html b/lms/templates/static_templates/embargo.html index bb2188e7eb..4a22d27ed4 100644 --- a/lms/templates/static_templates/embargo.html +++ b/lms/templates/static_templates/embargo.html @@ -15,13 +15,13 @@ from openedx.core.djangolib.markup import HTML, Text % endif

- <%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), - )}} + )}