From 6671abe5f77367dbf9fba28ab4b0a391096ac482 Mon Sep 17 00:00:00 2001 From: Muhammad Faraz Maqsood Date: Tue, 5 Mar 2024 15:33:04 +0500 Subject: [PATCH] correct inline issue for progress percentage --- .../edx_ace/usercourseprogressemail/email/body.html | 2 +- .../edx_ace/usercourseprogressemail/email/body.txt | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/openedx/features/sdaia_features/course_progress/templates/course_progress/edx_ace/usercourseprogressemail/email/body.html b/openedx/features/sdaia_features/course_progress/templates/course_progress/edx_ace/usercourseprogressemail/email/body.html index 1e992f80499f..ed68b5eb908f 100644 --- a/openedx/features/sdaia_features/course_progress/templates/course_progress/edx_ace/usercourseprogressemail/email/body.html +++ b/openedx/features/sdaia_features/course_progress/templates/course_progress/edx_ace/usercourseprogressemail/email/body.html @@ -26,7 +26,7 @@

{% autoescape off %} {# xss-lint: disable=django-blocktrans-missing-escape-filter #} - {% blocktrans %}You’ve completed {% endblocktrans %}

{{ current_progress }}%

{% blocktrans %} of {% endblocktrans %}"{{ course_name }}". + {% blocktrans %}You’ve completed {% endblocktrans %}{{ current_progress }}%{% blocktrans %} of {% endblocktrans %}"{{ course_name }}". {% endautoescape %}

diff --git a/openedx/features/sdaia_features/course_progress/templates/course_progress/edx_ace/usercourseprogressemail/email/body.txt b/openedx/features/sdaia_features/course_progress/templates/course_progress/edx_ace/usercourseprogressemail/email/body.txt index 40cca999bfbf..56ae33c7635a 100644 --- a/openedx/features/sdaia_features/course_progress/templates/course_progress/edx_ace/usercourseprogressemail/email/body.txt +++ b/openedx/features/sdaia_features/course_progress/templates/course_progress/edx_ace/usercourseprogressemail/email/body.txt @@ -7,6 +7,6 @@ {% blocktrans %}Awesome!{% endblocktrans %} {% endif %} {% blocktrans %}{{ full_name }}{% endblocktrans %} -{% blocktrans %}You’ve completed {% endblocktrans %}

{{ current_progress }}%

{% blocktrans %} of {% endblocktrans %}"{{ course_name }}". +{% blocktrans %}You’ve completed {% endblocktrans %}{{ current_progress }}%{% blocktrans %} of {% endblocktrans %}"{{ course_name }}". {% blocktrans %}Keep it up! Continue your learning journey {% endblocktrans %}{% blocktrans %} here{% endblocktrans %}. {% endautoescape %}