include upsell messaging in the 10 day nudge emails
This commit is contained in:
@@ -34,8 +34,9 @@
|
||||
{% endblocktrans %}
|
||||
{% endif %}
|
||||
</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
|
||||
{% if course_ids|length > 1 %}
|
||||
href="{{ dashboard_url }}"
|
||||
@@ -45,20 +46,49 @@
|
||||
style="
|
||||
color: #ffffff;
|
||||
text-decoration: none;
|
||||
border-radius: 4px;
|
||||
-webkit-border-radius: 4px;
|
||||
-moz-border-radius: 4px;
|
||||
border-radius: .3rem;
|
||||
-webkit-border-radius: .3rem;
|
||||
-moz-border-radius: .3rem;
|
||||
background-color: #005686;
|
||||
border-top: 10px solid #005686;
|
||||
border-bottom: 10px solid #005686;
|
||||
border-right: 16px solid #005686;
|
||||
border-left: 16px solid #005686;
|
||||
border-top: .15rem solid #005686;
|
||||
border-bottom: .15rem solid #005686;
|
||||
border-right: .15rem solid #005686;
|
||||
border-left: .15rem solid #005686;
|
||||
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>
|
||||
</a>
|
||||
</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>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
@@ -12,3 +12,11 @@
|
||||
{% endblocktrans %}
|
||||
{% trans "Keep learning" %} <{{course_url}}>
|
||||
{% 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 %}
|
||||
|
||||
@@ -33,7 +33,7 @@
|
||||
<a href="{{ upsell_link }}">
|
||||
<img
|
||||
src="{{ cert_image }}"
|
||||
alt="{% blocktrans %}Example print-out of a verified certificate{% endblocktrans %}"
|
||||
alt="{% trans 'Example print-out of a verified certificate' %}"
|
||||
style="
|
||||
display: block;
|
||||
margin-right: auto;
|
||||
@@ -48,7 +48,7 @@
|
||||
</a>
|
||||
|
||||
<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
|
||||
href="{{ upsell_link }}"
|
||||
style="
|
||||
@@ -64,7 +64,7 @@
|
||||
border-left: 16px solid #005686;
|
||||
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>
|
||||
</a>
|
||||
</p>
|
||||
|
||||
Reference in New Issue
Block a user