fix multi-course emails and update ACE

This commit is contained in:
Gabe Mulley
2017-09-25 12:28:29 -04:00
committed by Gabe Mulley
parent 71ab4eccef
commit a2dc27e6b1
8 changed files with 12 additions and 12 deletions

View File

@@ -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 @@
<h1>{% trans "Keep up the momentum!" %}</h1>
<p>
{% 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 @@
<p>
<!-- email client support for style sheets is pretty spotty, so we have to inline all of these styles -->
<a
{% if courses|length > 1 %}
{% if course_ids|length > 1 %}
href="{{ dashboard_url }}"
{% else %}
href="{{ course_url }}"

View File

@@ -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?

View File

@@ -1,4 +1,4 @@
{% if courses|length > 1 %}
{% if course_ids|length > 1 %}
{{ platform_name }}
{% else %}
{{ course_name }}

View File

@@ -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 were glad
to have you! Come see what everyone is learning.
@@ -22,7 +22,7 @@
<h1>{% trans "Keep learning today" %}.</h1>
<p>
{% if courses|length > 1 %}
{% if course_ids|length > 1 %}
{% blocktrans trimmed %}
Remember when you enrolled in <strong>{{ course_name }}</strong>, and other courses on edX.org? We do, and were glad
to have you! Come see what everyone is learning.
@@ -38,7 +38,7 @@
<p>
<!-- email client support for style sheets is pretty spotty, so we have to inline all of these styles -->
<a
{% if courses|length > 1 %}
{% if course_ids|length > 1 %}
href="{{ dashboard_url }}"
{% else %}
href="{{ course_url }}"

View File

@@ -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 were glad
to have you! Come see what everyone is learning.

View File

@@ -1,4 +1,4 @@
{% if courses|length > 1 %}
{% if course_ids|length > 1 %}
{{ platform_name }}
{% else %}
{{ course_name }}

View File

@@ -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 %}

View File

@@ -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