Commit 9c63d1f3 by Gabe Mulley Committed by GitHub

Merge pull request #16251 from edx/include-upsell-in-10-day

include upsell messaging in the 10 day nudge emails
parents b7011ec8 71a62f82
...@@ -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: 10px solid #005686; border-top: 12px solid #005686;
border-bottom: 10px solid #005686; border-bottom: 12px solid #005686;
border-right: 16px solid #005686; border-right: 50px solid #005686;
border-left: 16px solid #005686; border-left: 50px 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>
......
...@@ -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 %}
...@@ -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>
......
...@@ -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>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment