diff --git a/openedx/core/djangoapps/notifications/templates/notifications/batched_email_header.html b/openedx/core/djangoapps/notifications/templates/notifications/batched_email_header.html new file mode 100644 index 0000000000..0509e97f3e --- /dev/null +++ b/openedx/core/djangoapps/notifications/templates/notifications/batched_email_header.html @@ -0,0 +1,28 @@ +{% load i18n %} + + + + + + + + + + + + + +
+ + {% trans "Unsubscribe" as tmsg %}{{ tmsg | force_escape }} + +
+ logo_url +
+ {% trans "Recent activity" as tmsg %}{{ tmsg | force_escape }} +
diff --git a/openedx/core/djangoapps/notifications/templates/notifications/edx_ace/batched_email/email/body.html b/openedx/core/djangoapps/notifications/templates/notifications/edx_ace/batched_email/email/body.html new file mode 100644 index 0000000000..7b4c04a5db --- /dev/null +++ b/openedx/core/djangoapps/notifications/templates/notifications/edx_ace/batched_email/email/body.html @@ -0,0 +1,26 @@ +{% load i18n %} + + + + +
+ + + + + + + + + + + + +
+ {% include 'notifications/batched_email_header.html' %} +
+ {% include 'notifications/digest_content.html' %} +
+ {% include 'notifications/digest_footer.html' %} +
+
diff --git a/openedx/core/djangoapps/notifications/templates/notifications/edx_ace/batched_email/email/body.txt b/openedx/core/djangoapps/notifications/templates/notifications/edx_ace/batched_email/email/body.txt new file mode 100644 index 0000000000..0677a5199e --- /dev/null +++ b/openedx/core/djangoapps/notifications/templates/notifications/edx_ace/batched_email/email/body.txt @@ -0,0 +1,3 @@ +{% load i18n %} + +{% trans "Recent activity on" %} {{ platform_name }} diff --git a/openedx/core/djangoapps/notifications/templates/notifications/edx_ace/batched_email/email/from_name.txt b/openedx/core/djangoapps/notifications/templates/notifications/edx_ace/batched_email/email/from_name.txt new file mode 100644 index 0000000000..dcbc23c004 --- /dev/null +++ b/openedx/core/djangoapps/notifications/templates/notifications/edx_ace/batched_email/email/from_name.txt @@ -0,0 +1 @@ +{{ platform_name }} diff --git a/openedx/core/djangoapps/notifications/templates/notifications/edx_ace/batched_email/email/head.html b/openedx/core/djangoapps/notifications/templates/notifications/edx_ace/batched_email/email/head.html new file mode 100644 index 0000000000..7a24f14872 --- /dev/null +++ b/openedx/core/djangoapps/notifications/templates/notifications/edx_ace/batched_email/email/head.html @@ -0,0 +1,5 @@ +{% load i18n %} +{% get_current_language as LANGUAGE_CODE %} + +{{ platform_name }} + diff --git a/openedx/core/djangoapps/notifications/templates/notifications/edx_ace/batched_email/email/subject.txt b/openedx/core/djangoapps/notifications/templates/notifications/edx_ace/batched_email/email/subject.txt new file mode 100644 index 0000000000..0677a5199e --- /dev/null +++ b/openedx/core/djangoapps/notifications/templates/notifications/edx_ace/batched_email/email/subject.txt @@ -0,0 +1,3 @@ +{% load i18n %} + +{% trans "Recent activity on" %} {{ platform_name }}