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
7ab0f39d
Unverified
Commit
7ab0f39d
authored
Oct 16, 2017
by
Gabe Mulley
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
include upsell messaging in the 10 day nudge emails
parent
80126fc7
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
50 additions
and
12 deletions
+50
-12
openedx/core/djangoapps/schedules/templates/schedules/edx_ace/recurringnudge_day10/email/body.html
+39
-9
openedx/core/djangoapps/schedules/templates/schedules/edx_ace/recurringnudge_day10/email/body.txt
+8
-0
openedx/core/djangoapps/schedules/templates/schedules/edx_ace/upgradereminder/email/body.html
+3
-3
No files found.
openedx/core/djangoapps/schedules/templates/schedules/edx_ace/recurringnudge_day10/email/body.html
View file @
7ab0f39d
...
@@ -34,8 +34,9 @@
...
@@ -34,8 +34,9 @@
{% endblocktrans %}
{% endblocktrans %}
{% endif %}
{% endif %}
</p>
</p>
<p>
<p>
<!-- email client support for style sheets is pretty spotty, so we have to inline all of these styles -->
{# email client support for style sheets is pretty spotty, so we have to inline all of these styles #}
<a
<a
{%
if
course_ids
|
length
>
1 %}
{%
if
course_ids
|
length
>
1 %}
href="{{ dashboard_url }}"
href="{{ dashboard_url }}"
...
@@ -45,20 +46,49 @@
...
@@ -45,20 +46,49 @@
style="
style="
color: #ffffff;
color: #ffffff;
text-decoration: none;
text-decoration: none;
border-radius:
4px
;
border-radius:
.3rem
;
-webkit-border-radius:
4px
;
-webkit-border-radius:
.3rem
;
-moz-border-radius:
4px
;
-moz-border-radius:
.3rem
;
background-color: #005686;
background-color: #005686;
border-top:
10px
solid #005686;
border-top:
.15rem
solid #005686;
border-bottom:
10px
solid #005686;
border-bottom:
.15rem
solid #005686;
border-right:
16px
solid #005686;
border-right:
.15rem
solid #005686;
border-left:
16px
solid #005686;
border-left:
.15rem
solid #005686;
display: inline-block;
display: inline-block;
padding: 1rem 5rem;
">
">
<!-- old email clients require the use of the font tag :( -->
{# old email clients require the use of the font tag :( #}
<font
color=
"#ffffff"
><b>
{% trans "Keep learning" %}
</b></font>
<font
color=
"#ffffff"
><b>
{% trans "Keep learning" %}
</b></font>
</a>
</a>
</p>
</p>
{% if show_upsell %}
<p>
{% blocktrans trimmed %}
Don't miss the opportunity to highlight your new knowledge and skills by earning a verified
certificate. Upgrade by {{ user_schedule_upgrade_deadline_time }}.
{% endblocktrans %}
</p>
<p>
<a
href=
"{{ upsell_link }}"
style=
"
color: #1e8142;
text-decoration: none;
border-radius: .3rem;
-webkit-border-radius: .3rem;
-moz-border-radius: .3rem;
background-color: #FFFFFF;
border-top: .15rem solid #1e8142;
border-bottom: .15rem solid #1e8142;
border-right: .15rem solid #1e8142;
border-left: .15rem solid #1e8142;
display: inline-block;
padding: 1rem 6.1rem;
"
>
<font
color=
"#1e8142"
><b>
{% trans "Upgrade Now" %}
</b></font>
</a>
</p>
{% endif %}
</td>
</td>
</tr>
</tr>
</table>
</table>
...
...
openedx/core/djangoapps/schedules/templates/schedules/edx_ace/recurringnudge_day10/email/body.txt
View file @
7ab0f39d
...
@@ -12,3 +12,11 @@
...
@@ -12,3 +12,11 @@
{% endblocktrans %}
{% endblocktrans %}
{% trans "Keep learning" %} <{{course_url}}>
{% trans "Keep learning" %} <{{course_url}}>
{% endif %}
{% endif %}
{% if show_upsell %}
{% blocktrans trimmed %}
Don't miss the opportunity to highlight your new knowledge and skills by earning a verified
certificate. Upgrade by {{ user_schedule_upgrade_deadline_time }}.
Upgrade Now! <{{ upsell_link }}>
{% endblocktrans %}
{% endif %}
openedx/core/djangoapps/schedules/templates/schedules/edx_ace/upgradereminder/email/body.html
View file @
7ab0f39d
...
@@ -33,7 +33,7 @@
...
@@ -33,7 +33,7 @@
<a
href=
"{{ upsell_link }}"
>
<a
href=
"{{ upsell_link }}"
>
<img
<img
src=
"{{ cert_image }}"
src=
"{{ cert_image }}"
alt=
"{%
blocktrans %}Example print-out of a verified certificate{% endblocktrans
%}"
alt=
"{%
trans 'Example print-out of a verified certificate'
%}"
style=
"
style=
"
display: block;
display: block;
margin-right: auto;
margin-right: auto;
...
@@ -48,7 +48,7 @@
...
@@ -48,7 +48,7 @@
</a>
</a>
<p>
<p>
<!-- email client support for style sheets is pretty spotty, so we have to inline all of these styles -->
{# email client support for style sheets is pretty spotty, so we have to inline all of these styles #}
<a
<a
href=
"{{ upsell_link }}"
href=
"{{ upsell_link }}"
style=
"
style=
"
...
@@ -64,7 +64,7 @@
...
@@ -64,7 +64,7 @@
border-left: 16px solid #005686;
border-left: 16px solid #005686;
display: inline-block;
display: inline-block;
"
>
"
>
<!-- old email clients require the use of the font tag :( -->
{# old email clients require the use of the font tag :( #}
<font
color=
"#ffffff"
><b>
{% trans "Upgrade now" %}
</b></font>
<font
color=
"#ffffff"
><b>
{% trans "Upgrade now" %}
</b></font>
</a>
</a>
</p>
</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