|
1 | | -{% extends 'ace_common/edx_ace/common/base_body.html' %} |
| 1 | +{% extends 'schedules/edx_ace/courseupdate/email/base_body.html' %} |
| 2 | + |
2 | 3 | {% load i18n %} |
3 | 4 | {% load django_markup %} |
| 5 | +{% load static %} |
4 | 6 |
|
5 | 7 | {% block preview_text %} |
6 | 8 | {% filter force_escape %} |
|
11 | 13 | {% endblock %} |
12 | 14 |
|
13 | 15 | {% block content %} |
14 | | -<table width="100%" align="left" border="0" cellpadding="0" cellspacing="0" role="presentation"> |
| 16 | +<table width="100%" style="margin-bottom: 30px;" align="left" border="0" cellpadding="0" cellspacing="0" role="presentation"> |
| 17 | + <style> |
| 18 | + .course-text{ |
| 19 | + span{ |
| 20 | + padding-left: 12px; |
| 21 | + padding-right: 12px; |
| 22 | + padding-top: 10px; |
| 23 | + padding-bottom: 10px; |
| 24 | + } |
| 25 | + } |
| 26 | + </style> |
| 27 | +{% if route_enabled %} |
15 | 28 | <tr> |
16 | 29 | <td> |
17 | | - <p> |
18 | | - {% blocktrans trimmed asvar tmsg %} |
19 | | - We hope you're enjoying {start_strong}{course_name}{end_strong}! |
20 | | - We want to let you know what you can look forward to in week {week_num}: |
21 | | - {% endblocktrans %} |
22 | | - {% interpolate_html tmsg start_strong='<strong>'|safe end_strong='</strong>'|safe course_name=course_name|force_escape|safe week_num=week_num|force_escape|safe %} |
23 | | - <ul> |
24 | | - {% for highlight in week_highlights %} |
25 | | - <li>{{ highlight }}</li> |
26 | | - {% endfor %} |
27 | | - </ul> |
28 | | - </p> |
29 | 30 | <p> |
30 | 31 | {% filter force_escape %} |
31 | | - {% blocktrans trimmed %} |
32 | | - With self-paced courses, you learn on your own schedule. |
33 | | - We encourage you to spend time with the course each week. |
34 | | - Your focused attention will pay off in the end! |
35 | | - {% endblocktrans %} |
| 32 | + {% blocktrans %}This is a routed Account Activation email for {{ routed_profile_name }} ({{ routed_user_email }}): {{ routed_profile_name }}{% endblocktrans %} |
36 | 33 | {% endfilter %} |
| 34 | + <br /> |
37 | 35 | </p> |
38 | | - |
39 | | - {% filter force_escape %} |
40 | | - {% blocktrans asvar course_cta_text %}Resume your course now{% endblocktrans %} |
41 | | - {% endfilter %} |
42 | | - {% include "ace_common/edx_ace/common/return_to_course_cta.html" with course_cta_text=course_cta_text%} |
43 | | - |
44 | | - {% include "ace_common/edx_ace/common/upsell_cta.html"%} |
45 | 36 | </td> |
46 | 37 | </tr> |
| 38 | +{% endif %} |
| 39 | +<tr> |
| 40 | + <td> |
| 41 | + <img |
| 42 | + src="{{ self_paced_banner_url }}" |
| 43 | + style="margin-bottom: 16px; width: 600px;" |
| 44 | + width= "600" |
| 45 | + height="265" |
| 46 | + alt="{% trans 'Welcome to edX. It’s time for your next career move' as tmsg %}{{ tmsg | force_escape }}" |
| 47 | + /> |
| 48 | + </td> |
| 49 | +</tr> |
| 50 | +<tr> |
| 51 | + <td> |
| 52 | + <p style="margin-top: 16px; color: #1F453D; font-family: Arial; font-size: 30px; font-weight: 700; line-height: 36px; margin-left: 30px;"> |
| 53 | + {% trans "We hope you’re enjoying Introduction to Data Science with Python!" as tmsg %}{{ tmsg | force_escape }} |
| 54 | + </p> |
| 55 | + <p style="margin-top: 16px; color: #000000; font-family: Arial; font-size: 16px; font-weight: 400; line-height: 24px; margin-left: 30px;"> |
| 56 | + {% trans "We want to let you know what you can look forward to in week two: " as tmsg %}{{ tmsg | force_escape }} |
| 57 | + </p> |
| 58 | + <ul style="margin-bottom: 16px; list-style: disc;"> |
| 59 | + <li> |
| 60 | + <p> |
| 61 | + {% trans "Learn kNN regression" as tmsg %}{{ tmsg | force_escape }} |
| 62 | + </p> |
| 63 | + </li> |
| 64 | + <li> |
| 65 | + <p> |
| 66 | + {% trans "Learn linear regression" as tmsg %}{{ tmsg | force_escape }} |
| 67 | + </p> |
| 68 | + </li> |
| 69 | + <li> |
| 70 | + <p> |
| 71 | + {% trans "Find out how to choose which model you want" as tmsg %}{{ tmsg | force_escape }} |
| 72 | + </p> |
| 73 | + </li> |
| 74 | + </ul> |
| 75 | + </td> |
| 76 | +</tr> |
| 77 | +<tr style="height: 32px;"> |
| 78 | + <td style="padding-top: 1rem;" class="course-text"> |
| 79 | + {% filter force_escape %} |
| 80 | + {% blocktrans asvar course_cta_text %}Resume your course {% endblocktrans %} |
| 81 | + {% endfilter %} |
| 82 | + {% include "schedules/edx_ace/courseupdate/email/return_to_course_cta.html" with course_cta_text=course_cta_text%} |
| 83 | + </td> |
| 84 | +</tr> |
| 85 | +<tr> |
| 86 | + <td style="height: 32px; line-height: 32px; font-size: 1px;"> |
| 87 | + |
| 88 | + </td> |
| 89 | +</tr> |
| 90 | + |
| 91 | +<tr style="background-color: #F3F1ED;"> |
| 92 | + <td> |
| 93 | + <table width="100%" cellpadding="0" cellspacing="0" border="0" style="max-width: 540px; border-radius: 8px;" bgcolor="#F3F1ED" class="goals-engage-table" align="left"> |
| 94 | + <!-- Row 1: Image and title --> |
| 95 | + <!--[if mso]> |
| 96 | + <tr> |
| 97 | + <td style="width: 400px; color: #1F453D; font-size: 16px; font-family: Arial, Helvetica, sans-serif; font-weight: 400; line-height: 24px; width: 100%;"> |
| 98 | + <p style="padding: 20px 30px; margin-left: 30px"> |
| 99 | + <strong> |
| 100 | + {% trans "Your focused attention will pay off in the end!" as tmsg %}{{ tmsg | force_escape }} |
| 101 | + </strong> |
| 102 | + {% trans "With self-paced courses, you learn on your own schedule. It’s a good idea to spend time with the course each week and check in with your goals often." as tmsg %}{{ tmsg | force_escape }} |
| 103 | + </p> |
| 104 | + </td> |
| 105 | + <td width="120" style="width: 120px; padding: 0; margin: 0; vertical-align: top;"> |
| 106 | + <img src="{{ self_paced_cloud_url }}" |
| 107 | + alt="Message Icon" |
| 108 | + width="120" |
| 109 | + height="158" |
| 110 | + style="display: block; border: 0; margin: 0; padding: 0; width: 120px; height: 158px; max-width: 120px !important; max-height: 158px !important;" /> |
| 111 | + </td> |
| 112 | + </tr> |
| 113 | + <![endif]--> |
| 114 | + <!--[if !mso]><!--> |
| 115 | + <tr> |
| 116 | + <td style="width: 400px; color: #1F453D; font-size: 16px; font-family: Arial, sans-serif; font-weight: 400; line-height: 24px;"> |
| 117 | + <p style="padding: 20px 30px; margin: 0px;"> |
| 118 | + <strong> {% trans "Your focused attention will pay off in the end! " as tmsg %}{{ tmsg | force_escape }} </strong> |
| 119 | + {% trans "With self-paced courses, you learn on your own schedule. It’s a good idea to spend time with the course each week and check in with your goals often." as tmsg %}{{ tmsg | force_escape }} |
| 120 | + </p> |
| 121 | + </td> |
| 122 | + <td style="padding: 0; margin: 0;" align="left" valign="top"> |
| 123 | + <img src="{{ self_paced_cloud_url }}" alt="Message Icon" style="display: block; border: 0; margin: 0; padding: 0; width: 120px; height: 158px; margin-top: -40px;"> |
| 124 | + </td> |
| 125 | + </tr> |
| 126 | + <!--<![endif]--> |
| 127 | + </table> |
| 128 | + </td> |
| 129 | +</tr> |
47 | 130 | </table> |
48 | 131 | {% endblock %} |
| 132 | + |
| 133 | +{% block footer%} |
| 134 | +{%include 'schedules/edx_ace/courseupdate/email/footer.html'%} |
| 135 | +{% endblock%} |
0 commit comments