diff --git a/lms/djangoapps/course_goals/management/commands/goal_reminder_email.py b/lms/djangoapps/course_goals/management/commands/goal_reminder_email.py
index cb7b5cef37..e43fedcb6b 100644
--- a/lms/djangoapps/course_goals/management/commands/goal_reminder_email.py
+++ b/lms/djangoapps/course_goals/management/commands/goal_reminder_email.py
@@ -92,6 +92,7 @@ def send_ace_message(goal, session_id):
message_context.update({
'email': user.email,
+ 'user_name': user.username,
'platform_name': configuration_helpers.get_value('PLATFORM_NAME', settings.PLATFORM_NAME),
'course_name': course_name,
'course_id': str(goal.course_key),
@@ -103,6 +104,8 @@ def send_ace_message(goal, session_id):
'omit_unsubscribe_link': True,
'courses_url': getattr(settings, 'ACE_EMAIL_COURSES_URL', None),
'programs_url': getattr(settings, 'ACE_EMAIL_PROGRAMS_URL', None),
+ 'goal_reminder_banner_url': settings.GOAL_REMINDER_BANNER_URL,
+ 'goal_reminder_profile_url': settings.GOAL_REMINDER_PROFILE_URL,
})
options = {
diff --git a/lms/djangoapps/course_goals/templates/course_goals/edx_ace/goalreminder/email/base_body.html b/lms/djangoapps/course_goals/templates/course_goals/edx_ace/goalreminder/email/base_body.html
new file mode 100644
index 0000000000..4253f59200
--- /dev/null
+++ b/lms/djangoapps/course_goals/templates/course_goals/edx_ace/goalreminder/email/base_body.html
@@ -0,0 +1,90 @@
+{% load django_markup %}
+{% load i18n %}
+
+{% load ace %}
+
+{% load acetags %}
+
+{% get_current_language as LANGUAGE_CODE %}
+{% get_current_language_bidi as LANGUAGE_BIDI %}
+
+{# This is preview text that is visible in the inbox view of many email clients but not visible in the actual #}
+{# email itself. #}
+
+
+{% block preview_text %}{% endblock %}
+
+
+{% for image_src in channel.tracker_image_sources %}
+
+{% endfor %}
+
+{% google_analytics_tracking_pixel %}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ |
+ {% block content %}{% endblock %}
+ |
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/lms/djangoapps/course_goals/templates/course_goals/edx_ace/goalreminder/email/body.html b/lms/djangoapps/course_goals/templates/course_goals/edx_ace/goalreminder/email/body.html
index a94187584d..115a6075eb 100644
--- a/lms/djangoapps/course_goals/templates/course_goals/edx_ace/goalreminder/email/body.html
+++ b/lms/djangoapps/course_goals/templates/course_goals/edx_ace/goalreminder/email/body.html
@@ -1,4 +1,5 @@
-{% extends 'ace_common/edx_ace/common/base_body.html' %}
+{% extends 'course_goals/edx_ace/goalreminder/email/base_body.html' %}
+
{% load i18n %}
{% load django_markup %}
{% load static %}
@@ -21,119 +22,150 @@
{# email client support for style sheets is pretty spotty, so we have to inline all of these styles #}
{# we're using important below to override inline styles and my understanding is for email clients where media queries do not work, they'll simply see the desktop css on their phone #}
-