Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
E
edx-platform
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
edx
edx-platform
Commits
410fbfd1
Commit
410fbfd1
authored
Oct 24, 2017
by
Gabe Mulley
Committed by
GitHub
Oct 24, 2017
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #16324 from edx/mulby/fix-unresolved-var
fix malformed template variable
parents
6d4e34bb
59e173de
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
4 deletions
+6
-4
openedx/core/djangoapps/schedules/management/commands/tests/test_send_upgrade_reminder.py
+2
-0
openedx/core/djangoapps/schedules/templates/schedules/edx_ace/upgradereminder/email/body.html
+4
-4
No files found.
openedx/core/djangoapps/schedules/management/commands/tests/test_send_upgrade_reminder.py
View file @
410fbfd1
...
...
@@ -307,6 +307,8 @@ class TestUpgradeReminder(FilteredQueryCountMixin, CacheIsolationTestCase):
for
(
_name
,
(
_msg
,
email
),
_kwargs
)
in
mock_channel
.
deliver
.
mock_calls
:
for
template
in
attr
.
astuple
(
email
):
self
.
assertNotIn
(
"TEMPLATE WARNING"
,
template
)
self
.
assertNotIn
(
"{{"
,
template
)
self
.
assertNotIn
(
"}}"
,
template
)
def
_get_template_overrides
(
self
):
templates_override
=
deepcopy
(
settings
.
TEMPLATES
)
...
...
openedx/core/djangoapps/schedules/templates/schedules/edx_ace/upgradereminder/email/body.html
View file @
410fbfd1
...
...
@@ -34,14 +34,14 @@
{% if course_ids|length > 1 %}
{% blocktrans trimmed %}
We hope you are enjoying learning with us so far on
<strong>
{{ platform_name }}
</strong>
! A
verified certificate allows you to highlight your new knowledge and skills. An
{{ platform_name
}} certificate is official and easily shareable.
verified certificate allows you to highlight your new knowledge and skills. An
{{ platform_name
}} certificate is official and easily shareable.
{% endblocktrans %}
{% else %}
{% blocktrans trimmed %}
We hope you are enjoying learning with us so far in
<strong>
{{ first_course_name }}
</strong>
! A
verified certificate allows you to highlight your new knowledge and skills. An
{{ platform_name
}} certificate is official and easily shareable.
verified certificate allows you to highlight your new knowledge and skills. An
{{ platform_name
}} certificate is official and easily shareable.
{% endblocktrans %}
{% endif %}
</p>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment