diff --git a/openedx/core/djangoapps/schedules/templates/schedules/edx_ace/recurringnudge_day10/email/body.html b/openedx/core/djangoapps/schedules/templates/schedules/edx_ace/recurringnudge_day10/email/body.html index 9f35e91fe4..de78d32c26 100644 --- a/openedx/core/djangoapps/schedules/templates/schedules/edx_ace/recurringnudge_day10/email/body.html +++ b/openedx/core/djangoapps/schedules/templates/schedules/edx_ace/recurringnudge_day10/email/body.html @@ -2,7 +2,7 @@ {% load i18n %} {% block preview_text %} - {% if courses|length > 1 %} + {% if course_ids|length > 1 %} {% blocktrans trimmed %} Many {{ platform_name }} learners are completing more problems every week, and participating in the discussion forums. What do you want to do to keep learning? @@ -22,7 +22,7 @@

{% trans "Keep up the momentum!" %}

- {% if courses|length > 1 %} + {% if course_ids|length > 1 %} {% blocktrans trimmed %} Many edX learners are completing more problems every week, and participating in the discussion forums. What do you want to do to keep learning? @@ -37,7 +37,7 @@

1 %} + {% if course_ids|length > 1 %} href="{{ dashboard_url }}" {% else %} href="{{ course_url }}" diff --git a/openedx/core/djangoapps/schedules/templates/schedules/edx_ace/recurringnudge_day10/email/body.txt b/openedx/core/djangoapps/schedules/templates/schedules/edx_ace/recurringnudge_day10/email/body.txt index 301042ae93..bbc5f29dc6 100644 --- a/openedx/core/djangoapps/schedules/templates/schedules/edx_ace/recurringnudge_day10/email/body.txt +++ b/openedx/core/djangoapps/schedules/templates/schedules/edx_ace/recurringnudge_day10/email/body.txt @@ -1,5 +1,5 @@ {% load i18n %} -{% if courses|length > 1 %} +{% if course_ids|length > 1 %} {% blocktrans trimmed %} Many edX learners are completing more problems every week, and participating in the discussion forums. What do you want to do to keep learning? diff --git a/openedx/core/djangoapps/schedules/templates/schedules/edx_ace/recurringnudge_day10/email/from_name.txt b/openedx/core/djangoapps/schedules/templates/schedules/edx_ace/recurringnudge_day10/email/from_name.txt index f07331f68a..d25f5d3e4a 100644 --- a/openedx/core/djangoapps/schedules/templates/schedules/edx_ace/recurringnudge_day10/email/from_name.txt +++ b/openedx/core/djangoapps/schedules/templates/schedules/edx_ace/recurringnudge_day10/email/from_name.txt @@ -1,4 +1,4 @@ -{% if courses|length > 1 %} +{% if course_ids|length > 1 %} {{ platform_name }} {% else %} {{ course_name }} diff --git a/openedx/core/djangoapps/schedules/templates/schedules/edx_ace/recurringnudge_day3/email/body.html b/openedx/core/djangoapps/schedules/templates/schedules/edx_ace/recurringnudge_day3/email/body.html index 0ff5da03b8..0d7dacd7da 100644 --- a/openedx/core/djangoapps/schedules/templates/schedules/edx_ace/recurringnudge_day3/email/body.html +++ b/openedx/core/djangoapps/schedules/templates/schedules/edx_ace/recurringnudge_day3/email/body.html @@ -2,7 +2,7 @@ {% load i18n %} {% block preview_text %} - {% if courses|length > 1 %} + {% if course_ids|length > 1 %} {% blocktrans trimmed %} Remember when you enrolled in {{ course_name }}, and other courses on edX.org? We do, and we’re glad to have you! Come see what everyone is learning. @@ -22,7 +22,7 @@

{% trans "Keep learning today" %}.

- {% if courses|length > 1 %} + {% if course_ids|length > 1 %} {% blocktrans trimmed %} Remember when you enrolled in {{ course_name }}, and other courses on edX.org? We do, and we’re glad to have you! Come see what everyone is learning. @@ -38,7 +38,7 @@

1 %} + {% if course_ids|length > 1 %} href="{{ dashboard_url }}" {% else %} href="{{ course_url }}" diff --git a/openedx/core/djangoapps/schedules/templates/schedules/edx_ace/recurringnudge_day3/email/body.txt b/openedx/core/djangoapps/schedules/templates/schedules/edx_ace/recurringnudge_day3/email/body.txt index d8f94e1268..a3abd340a1 100644 --- a/openedx/core/djangoapps/schedules/templates/schedules/edx_ace/recurringnudge_day3/email/body.txt +++ b/openedx/core/djangoapps/schedules/templates/schedules/edx_ace/recurringnudge_day3/email/body.txt @@ -1,6 +1,6 @@ {% load i18n %} -{% if courses|length > 1 %} +{% if course_ids|length > 1 %} {% blocktrans trimmed %} Remember when you enrolled in {{ course_name }}, and other courses on edX.org? We do, and we’re glad to have you! Come see what everyone is learning. diff --git a/openedx/core/djangoapps/schedules/templates/schedules/edx_ace/recurringnudge_day3/email/from_name.txt b/openedx/core/djangoapps/schedules/templates/schedules/edx_ace/recurringnudge_day3/email/from_name.txt index f07331f68a..d25f5d3e4a 100644 --- a/openedx/core/djangoapps/schedules/templates/schedules/edx_ace/recurringnudge_day3/email/from_name.txt +++ b/openedx/core/djangoapps/schedules/templates/schedules/edx_ace/recurringnudge_day3/email/from_name.txt @@ -1,4 +1,4 @@ -{% if courses|length > 1 %} +{% if course_ids|length > 1 %} {{ platform_name }} {% else %} {{ course_name }} diff --git a/openedx/core/djangoapps/schedules/templates/schedules/edx_ace/recurringnudge_day3/email/subject.txt b/openedx/core/djangoapps/schedules/templates/schedules/edx_ace/recurringnudge_day3/email/subject.txt index 717483b444..e35b890798 100644 --- a/openedx/core/djangoapps/schedules/templates/schedules/edx_ace/recurringnudge_day3/email/subject.txt +++ b/openedx/core/djangoapps/schedules/templates/schedules/edx_ace/recurringnudge_day3/email/subject.txt @@ -1,5 +1,5 @@ {% load i18n %} -{% if courses|length > 1 %} +{% if course_ids|length > 1 %} {% blocktrans %}Keep learning on {{ platform_name }}{% endblocktrans %} {% else %} {% blocktrans %}Keep learning in {{course_name}}{% endblocktrans %} diff --git a/requirements/edx/base.txt b/requirements/edx/base.txt index 82ee0d1c69..1e559a8abb 100644 --- a/requirements/edx/base.txt +++ b/requirements/edx/base.txt @@ -38,7 +38,7 @@ django==1.8.18 django-waffle==0.12.0 djangorestframework-jwt==1.11.0 enum34==1.1.6 -edx-ace==0.1.4 +edx-ace==0.1.5 edx-ccx-keys==0.2.1 edx-celeryutils==0.2.6 edx-drf-extensions==1.2.3