Fixed the 'recovery password' email
parent
dd473cca41
commit
028d4334a0
|
@ -1,6 +1,7 @@
|
||||||
{% extends "emails/base.jinja" %}
|
{% extends "emails/base.jinja" %}
|
||||||
|
|
||||||
{% set final_url = resolve_front_url('change-password', user.token) %}
|
{% set final_url = resolve_front_url("change-password", user.token) %}
|
||||||
|
{% set final_url_name = "Greenmine - Change password" %}
|
||||||
|
|
||||||
{% block body %}
|
{% block body %}
|
||||||
<table border="0" width="100%" cellpadding="0" cellspacing="0" class="table-body">
|
<table border="0" width="100%" cellpadding="0" cellspacing="0" class="table-body">
|
||||||
|
@ -9,14 +10,18 @@
|
||||||
<h1>Recover your password:</h1>
|
<h1>Recover your password:</h1>
|
||||||
<p>Hello {{ user.get_full_name() }},</p>
|
<p>Hello {{ user.get_full_name() }},</p>
|
||||||
<p>you can recover your password by going to the following url:</p>
|
<p>you can recover your password by going to the following url:</p>
|
||||||
<p><a style="color: #666;" href="{{ final_url }}">{{ final_url }}</a>
|
<p><a style="color: #669900;" href="{{ final_url }}">{{ final_url }}</a>
|
||||||
<p>You can ignore this message if you did not request.</p>
|
<p>You can ignore this message if you did not request.</p>
|
||||||
<p>Regards</p>
|
<p>Regards</p>
|
||||||
<p>
|
<p>--<br />The Greenmine Team</p>
|
||||||
--<br />
|
|
||||||
The Greenmine Team
|
|
||||||
</p>
|
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
</table>
|
</table>
|
||||||
{% endblock %}
|
{% endblock %}
|
||||||
|
|
||||||
|
{% block footer %}
|
||||||
|
<p style="padding: 10px; border-top: 1px solid #eee;">
|
||||||
|
More info at:
|
||||||
|
<a href="{{ final_url }}" style="color: #666;">{{ final_url_name }}</a>
|
||||||
|
</p>
|
||||||
|
{% endblock %}
|
||||||
|
|
Loading…
Reference in New Issue