Fixed the 'recovery password' email

remotes/origin/enhancement/email-actions
David Barragán Merino 2013-10-29 17:22:45 +01:00
parent dd473cca41
commit 028d4334a0
1 changed files with 11 additions and 6 deletions

View File

@ -1,6 +1,7 @@
{% 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 %}
<table border="0" width="100%" cellpadding="0" cellspacing="0" class="table-body">
@ -9,14 +10,18 @@
<h1>Recover your password:</h1>
<p>Hello {{ user.get_full_name() }},</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>Regards</p>
<p>
--<br />
The Greenmine Team
</p>
<p>--<br />The Greenmine Team</p>
</td>
</tr>
</table>
{% 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 %}