|
2 | 2 | {% load i18n %} |
3 | 3 |
|
4 | 4 | {% block content %} |
5 | | - <h2 style="color: #2c3e50; margin-top: 0; text-align: center; border-bottom: 2px solid {{ brand_color }}; padding-bottom: 15px;">{% translate "Welcome!" %}</h2> |
| 5 | + <p class="email-paragraph">{% translate "Hello there," %}</p> |
6 | 6 |
|
7 | | - <p style="font-size: 16px; margin-bottom: 20px;">{% translate "Hello there," %}</p> |
8 | | - |
9 | | - <p style="font-size: 16px; margin-bottom: 25px;"> |
10 | | - {% blocktranslate %}Congratulations on enrolling in <strong class="color-brand">{{ course_title }}</strong>!{% endblocktranslate %} |
| 7 | + <p class="email-paragraph"> |
| 8 | + {% blocktranslate %}Congratulations on enrolling in <strong>{{ course_title }}</strong>!{% endblocktranslate %} |
11 | 9 | {% translate "We're excited to have you join our learning community." %} |
12 | 10 | </p> |
13 | 11 |
|
14 | | - <p style="font-size: 16px; margin-bottom: 25px;"> |
| 12 | + <p class="email-paragraph"> |
15 | 13 | {% translate "To get started, please verify your email address by clicking the button below:" %} |
16 | 14 | </p> |
17 | 15 |
|
18 | | - <div style="text-align: center; margin: 30px 0;"> |
19 | | - <a href="{{ verification_link }}" class="bg-brand" |
20 | | - style="display: inline-block; color: white; padding: 15px 30px; text-decoration: none; border-radius: 5px; font-weight: bold; font-size: 16px; transition: background-color 0.3s;"> |
| 16 | + <div class="email-cta-wrap"> |
| 17 | + <a href="{{ verification_link }}" class="email-cta bg-brand"> |
21 | 18 | {% translate "Verify Your Email Address" %} |
22 | 19 | </a> |
23 | 20 | </div> |
24 | 21 |
|
25 | 22 | {% if support_imap_interface %} |
26 | | - <div style="background-color: #f8f9fa; padding: 20px; border-radius: 5px; border-left: 4px solid {{ brand_color }}; margin: 25px 0;"> |
| 23 | + <div class="email-panel border-brand"> |
27 | 24 | <h4 class="color-brand" style="margin-top: 0;">{% translate "Alternative Verification Method" %}</h4> |
28 | | - <p style="margin-bottom: 15px;"> |
| 25 | + <p class="email-paragraph" style="margin-bottom: 15px;"> |
29 | 26 | {% blocktranslate %}You can also verify your email by sending a message to <strong style="color: #495057;">{{ imap_email_address }}</strong>{% endblocktranslate %} |
30 | 27 | {% translate "with your verification code in the subject line or email body." %} |
31 | 28 | {% translate "Simply forward this email to complete the verification process." %} |
32 | 29 | </p> |
33 | | - <p style="background-color: #ffffff; padding: 15px; border-radius: 4px; border: 1px dashed #6c757d; text-align: center;"> |
| 30 | + <p class="email-code-box"> |
34 | 31 | {% translate "Verification Code:" %} |
35 | 32 | <span style="font-family: 'Courier New', monospace; font-size: 18px; font-weight: bold;">{{ verification_code }}</span> |
36 | 33 | </p> |
37 | 34 | </div> |
38 | 35 | {% endif %} |
39 | 36 |
|
40 | | - <div style="margin-top: 30px; padding-top: 20px; border-top: 1px solid #e9ecef; font-size: 14px; color: #6c757d;"> |
| 37 | + <div class="email-divider-note"> |
41 | 38 | <p>{% translate "If you didn't sign up for this course, you can safely ignore this email." %}</p> |
42 | 39 | </div> |
43 | 40 |
|
44 | | - <div style="margin-top: 25px; text-align: center;"> |
45 | | - <p style="margin-bottom: 5px; font-size: 16px;">{% translate "Best regards," %}</p> |
46 | | - <p style="font-weight: bold; color: #2c3e50; font-size: 18px;">{{ organization_name }}</p> |
47 | | - </div> |
| 41 | + <p class="email-paragraph">{% translate "Best regards," %}<br> |
| 42 | + {% blocktranslate %}The {{ organization_name }} Team{% endblocktranslate %}</p> |
48 | 43 | {% endblock %} |
0 commit comments