From ea63ccafa99403ed802e931bb5b214aec973058e Mon Sep 17 00:00:00 2001
From: Muhammad Faraz Maqsood
Date: Tue, 5 Mar 2024 15:00:36 +0500
Subject: [PATCH] add red color 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 4fc6ad78596a..ae213484d812 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 {{ current_progress }}% of "{{ course_name }}". {% endblocktrans %}
+ {% 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 e1d62e4c0b9b..69c4ac1bd31b 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 {{ current_progress }}% of "{{ course_name }}".{% endblocktrans %}
+{% 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 %}