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
9c63d1f3
Commit
9c63d1f3
authored
Oct 18, 2017
by
Gabe Mulley
Committed by
GitHub
Oct 18, 2017
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #16251 from edx/include-upsell-in-10-day
include upsell messaging in the 10 day nudge emails
parents
b7011ec8
71a62f82
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
55 additions
and
25 deletions
+55
-25
openedx/core/djangoapps/schedules/templates/schedules/edx_ace/recurringnudge_day10/email/body.html
+32
-6
openedx/core/djangoapps/schedules/templates/schedules/edx_ace/recurringnudge_day10/email/body.txt
+8
-0
openedx/core/djangoapps/schedules/templates/schedules/edx_ace/recurringnudge_day3/email/body.html
+12
-16
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 @
9c63d1f3
...
@@ -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 }}"
...
@@ -49,16 +50,41 @@
...
@@ -49,16 +50,41 @@
-webkit-border-radius: 4px;
-webkit-border-radius: 4px;
-moz-border-radius: 4px;
-moz-border-radius: 4px;
background-color: #005686;
background-color: #005686;
border-top: 1
0
px solid #005686;
border-top: 1
2
px solid #005686;
border-bottom: 1
0
px solid #005686;
border-bottom: 1
2
px solid #005686;
border-right:
16
px solid #005686;
border-right:
50
px solid #005686;
border-left:
16
px solid #005686;
border-left:
50
px 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 "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: 4px;
-webkit-border-radius: 4px;
-moz-border-radius: 4px;
background-color: #FFFFFF;
border: 3px solid #1e8142;
display: inline-block;
padding: 8px 65px;
"
>
<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 @
9c63d1f3
...
@@ -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/recurringnudge_day3/email/body.html
View file @
9c63d1f3
...
@@ -46,16 +46,15 @@
...
@@ -46,16 +46,15 @@
style="
style="
color: #ffffff;
color: #ffffff;
text-decoration: none;
text-decoration: none;
border-radius:
.3rem
;
border-radius:
4px
;
-webkit-border-radius:
.3rem
;
-webkit-border-radius:
4px
;
-moz-border-radius:
.3rem
;
-moz-border-radius:
4px
;
background-color: #005686;
background-color: #005686;
border-top:
.15rem
solid #005686;
border-top:
12px
solid #005686;
border-bottom:
.15rem
solid #005686;
border-bottom:
12px
solid #005686;
border-right:
.15rem
solid #005686;
border-right:
50px
solid #005686;
border-left:
.15rem
solid #005686;
border-left:
50px
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 "Start learning now" %}
</b></font>
<font
color=
"#ffffff"
><b>
{% trans "Start learning now" %}
</b></font>
...
@@ -73,16 +72,13 @@
...
@@ -73,16 +72,13 @@
style=
"
style=
"
color: #1e8142;
color: #1e8142;
text-decoration: none;
text-decoration: none;
border-radius:
.3rem
;
border-radius:
4px
;
-webkit-border-radius:
.3rem
;
-webkit-border-radius:
4px
;
-moz-border-radius:
.3rem
;
-moz-border-radius:
4px
;
background-color: #FFFFFF;
background-color: #FFFFFF;
border-top: .15rem solid #1e8142;
border: 3px solid #1e8142;
border-bottom: .15rem solid #1e8142;
border-right: .15rem solid #1e8142;
border-left: .15rem solid #1e8142;
display: inline-block;
display: inline-block;
padding:
1rem 6.1rem
;
padding:
8px 65px
;
"
>
"
>
<font
color=
"#1e8142"
><b>
{% trans "Upgrade Now" %}
</b></font>
<font
color=
"#1e8142"
><b>
{% trans "Upgrade Now" %}
</b></font>
</a>
</a>
...
...
openedx/core/djangoapps/schedules/templates/schedules/edx_ace/upgradereminder/email/body.html
View file @
9c63d1f3
...
@@ -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