Attempt to fix user activation html email template

This commit is contained in:
PCoder 2018-03-30 23:02:44 +02:00
parent e19844d9ac
commit b64fe2cb1c

View file

@ -33,18 +33,22 @@
<p style="color: #4382c8; line-height: 1.4; font-family: Lato, Arial, sans-serif; font-weight: 300; margin: 0;"> <p style="color: #4382c8; line-height: 1.4; font-family: Lato, Arial, sans-serif; font-weight: 300; margin: 0;">
{{base_url}}{{activation_link}} {{base_url}}{{activation_link}}
</p> </p>
<p>
{% if account_details %} {% if account_details %}
{% url 'hosting:reset_password' as reset_password_url %} {% url 'hosting:reset_password' as reset_password_url %}
<p style="line-height: 1.75; font-family: Lato, Arial, sans-serif; font-weight: 300; margin-bottom: 10px; margin-top: 0;">
{% trans "Your account details are as follows" %}: {% trans "Your account details are as follows" %}:
</p>
{% trans "Username" %} : {% trans "Your email address" %} <p style="line-height: 1.75; font-family: Lato, Arial, sans-serif; font-weight: 300; margin-bottom: 10px; margin-top: 0;">
{% trans "Username" %} : {% trans "Your email address" %}<br/>
{% trans "Password" %} : {{account_details}} {% trans "Password" %} : {{account_details}}
</p>
<p style="line-height: 1.75; font-family: Lato, Arial, sans-serif; font-weight: 300; margin-bottom: 10px; margin-top: 0;">
{% trans "You can reset your password here" %}: {% trans "You can reset your password here" %}:
</p>
<p style="color: #4382c8; line-height: 1.4; font-family: Lato, Arial, sans-serif; font-weight: 300; margin: 0;">
{{base_url}}{{reset_password_url}} {{base_url}}{{reset_password_url}}
</p>
{% endif %} {% endif %}
</p>
</td> </td>
</tr> </tr>
<tr> <tr>