password_reset.mako
37 lines
| 1.2 KiB
| application/x-mako
|
MakoHtmlLexer
r1 | ## -*- coding: utf-8 -*- | |||
<%inherit file="base.mako"/> | ||||
r4038 | <%namespace name="base" file="base.mako"/> | |||
r1 | ||||
r1728 | <%def name="subject()" filter="n,trim,whitespace_filter"> | |||
r1 | RhodeCode Password reset | |||
</%def> | ||||
## plain text version of the email. Empty by default | ||||
<%def name="body_plaintext()" filter="n,trim"> | ||||
r4038 | Hello ${user.username}, | |||
r1 | ||||
r4038 | On ${h.format_date(date)} there was a request to reset your password using the email address `${email}` | |||
r1 | ||||
r4038 | *If you did not request a password reset, please contact your RhodeCode administrator at: ${first_admin_email}* | |||
r1 | ||||
You can continue, and generate new password by clicking following URL: | ||||
${password_reset_url} | ||||
r1471 | This link will be active for 10 minutes. | |||
r4038 | ||||
--- | ||||
r508 | ${self.plaintext_footer()} | |||
r1 | </%def> | |||
## BODY GOES BELOW | ||||
r508 | <p> | |||
Hello ${user.username}, | ||||
</p><p> | ||||
r4038 | On ${h.format_date(date)} there was a request to reset your password using the email address `${email}` | |||
<br/><br/> | ||||
<strong>If you did not request a password reset, please contact your RhodeCode administrator at: ${first_admin_email}.</strong> | ||||
r508 | </p><p> | |||
r4038 | You can continue, and generate new password by clicking following URL:<br/><br/> | |||
<a href="${password_reset_url}" style="${base.link_css()}">${password_reset_url}</a> | ||||
<br/><br/>This link will be active for 10 minutes. | ||||
r532 | </p> | |||