password reset email, user activation email redesigned
This commit is contained in:
		
					parent
					
						
							
								29fb7224a6
							
						
					
				
			
			
				commit
				
					
						057a2c77a6
					
				
			
		
					 14 changed files with 279 additions and 1460 deletions
				
			
		| 
						 | 
				
			
			@ -1,14 +1,49 @@
 | 
			
		|||
{% extends "datacenterlight/emails/base_email_datacenterlight.html" %}
 | 
			
		||||
{% load i18n %}
 | 
			
		||||
{% block email_head %}
 | 
			
		||||
{% trans 'Password Reset' %}
 | 
			
		||||
{% endblock %}
 | 
			
		||||
{% block email_body %}
 | 
			
		||||
{% url 'hosting:reset_password_confirm' uidb64=uid token=token as password_reset_url %}
 | 
			
		||||
{% blocktrans %}
 | 
			
		||||
You're receiving this email because you requested a password reset for your user account at {{site_name}}.<br/>
 | 
			
		||||
Please go to the following page and choose a new password: {{base_url}}{{ password_reset_url }}<br/>
 | 
			
		||||
If you didn't request a new password, ignore this e-mail.<br/>
 | 
			
		||||
Thank you!
 | 
			
		||||
{% endblocktrans %}
 | 
			
		||||
{% endblock %}
 | 
			
		||||
{% load static i18n %}
 | 
			
		||||
<!DOCTYPE html>
 | 
			
		||||
<html>
 | 
			
		||||
 | 
			
		||||
<head>
 | 
			
		||||
    <meta charset="UTF-8">
 | 
			
		||||
    <meta name="viewport" content="width=device-width, initial-scale=1">
 | 
			
		||||
    <title>{% trans "Password Reset" %}</title>
 | 
			
		||||
    <link rel="shortcut icon" href="{% static 'datacenterlight/img/favicon.ico' %}" type="image/x-icon">
 | 
			
		||||
    <link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Lato:300,400">
 | 
			
		||||
</head>
 | 
			
		||||
 | 
			
		||||
<body style="margin: 0; padding: 20px 0;">
 | 
			
		||||
    <table style="width: 100%; margin: auto; border-spacing: 0; border-collapse: collapse; max-width: 560px; border: 1px solid #aaa;">
 | 
			
		||||
        <tr>
 | 
			
		||||
            <td style="padding-top: 25px; padding-left: 22px; padding-right: 30px; font-family: Lato, Arial, sans-serif;">
 | 
			
		||||
                <img src="{{base_url}}{% static 'datacenterlight/img/logo_black.svg' %}" style="vertical-align: middle; width: 200px; height: 50px;">
 | 
			
		||||
            </td>
 | 
			
		||||
        </tr>
 | 
			
		||||
        <tr>
 | 
			
		||||
            <td style="padding-top: 15px; padding-left: 30px; padding-right: 30px;">
 | 
			
		||||
                <h1 style="font-family: Lato, Arial, sans-serif; font-size: 25px; font-weight: 400; margin: 0;">{% trans "Password Reset" %}</h1>
 | 
			
		||||
            </td>
 | 
			
		||||
        </tr>
 | 
			
		||||
        <tr>
 | 
			
		||||
            <td style="padding-top: 25px; padding-left: 30px; padding-right: 30px;">
 | 
			
		||||
                <p style="line-height: 1.75; font-family: Lato, Arial, sans-serif; font-weight: 300; margin-bottom: 10px; margin-top: 0;">
 | 
			
		||||
                    {% trans "We received a request to reset your password." %}<br>
 | 
			
		||||
                    {% trans "If you didn't make this request you can safely ignore this email." %}<br>
 | 
			
		||||
                    {% trans "Otherwise, click here to reset your password." %}
 | 
			
		||||
                </p>
 | 
			
		||||
                <p style="color: #4382c8; line-height: 1.2; font-family: Lato, Arial, sans-serif; font-weight: 300; margin: 0;">
 | 
			
		||||
                    {% url 'hosting:reset_password_confirm' uidb64=uid token=token as password_reset_url %}
 | 
			
		||||
                    {{base_url}}{{ password_reset_url }}
 | 
			
		||||
                </p>
 | 
			
		||||
                <p style="line-height: 1.75; font-family: Lato, Arial, sans-serif; font-weight: 300; margin-bottom: 0; margin-top: 10px;">
 | 
			
		||||
                    {% trans "Thank you!" %}
 | 
			
		||||
                </p>
 | 
			
		||||
            </td>
 | 
			
		||||
        </tr>
 | 
			
		||||
        <tr>
 | 
			
		||||
            <td style="padding-top: 40px; padding-left: 30px; padding-right: 30px; padding-bottom: 25px;">
 | 
			
		||||
                <h3 style="font-family: Lato, Arial, sans-serif; margin: 0; font-weight: 400; font-size: 18px;">{% trans "Your Data Center Light Team" %}</h3>
 | 
			
		||||
            </td>
 | 
			
		||||
        </tr>
 | 
			
		||||
    </table>
 | 
			
		||||
</body>
 | 
			
		||||
 | 
			
		||||
</html>
 | 
			
		||||
| 
						 | 
				
			
			@ -1,11 +1,12 @@
 | 
			
		|||
{% extends "datacenterlight/emails/base_email_datacenterlight.txt" %}
 | 
			
		||||
{% load i18n %}
 | 
			
		||||
{% block email_head %}{% trans 'Password Reset' %}{% endblock %}
 | 
			
		||||
{% block email_body %}
 | 
			
		||||
{% trans "Password Reset" %}
 | 
			
		||||
 | 
			
		||||
{% trans "We received a request to reset your password." %}
 | 
			
		||||
{% trans "If you didn't make this request you can safely ignore this email." %}
 | 
			
		||||
{% trans "Otherwise, click here to reset your password." %}
 | 
			
		||||
 | 
			
		||||
{% url 'hosting:reset_password_confirm' uidb64=uid token=token as password_reset_url %}
 | 
			
		||||
{% blocktrans %}You're receiving this email because you requested a password reset for your user account at {{site_name}}.
 | 
			
		||||
Please go to the following page and choose a new password: {{base_url}}{{ password_reset_url }}
 | 
			
		||||
If you didn't request a new password, ignore this e-mail.
 | 
			
		||||
Thank you!
 | 
			
		||||
{% endblocktrans %}
 | 
			
		||||
{% endblock %}
 | 
			
		||||
{{base_url}}{{ password_reset_url }}
 | 
			
		||||
 | 
			
		||||
{% trans "Thank you!" %}
 | 
			
		||||
 | 
			
		||||
{% trans "Your Data Center Light Team" %}
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue