##// END OF EJS Templates
vcs: Use key lookup to explode if key is not available....
vcs: Use key lookup to explode if key is not available. The key has to be in the dictionary, otherwise something changed in the code and expoding here is better than hiding the error.

File last commit:

r532:7cb56fd9 default
r890:ed7b68ec default
Show More
password_reset.mako
31 lines | 906 B | application/x-mako | MakoHtmlLexer
## -*- coding: utf-8 -*-
<%inherit file="base.mako"/>
<%def name="subject()" filter="n,trim">
RhodeCode Password reset
</%def>
## plain text version of the email. Empty by default
<%def name="body_plaintext()" filter="n,trim">
Hi ${user.username},
There was a request to reset your password using the email address ${email} on ${h.format_date(date)}
*If you didn't do this, please contact your RhodeCode administrator.*
You can continue, and generate new password by clicking following URL:
${password_reset_url}
${self.plaintext_footer()}
</%def>
## BODY GOES BELOW
<p>
Hello ${user.username},
</p><p>
There was a request to reset your password using the email address ${email} on ${h.format_date(date)}
<br/>
<strong>If you did not request a password reset, please contact your RhodeCode administrator.</strong>
</p><p>
<a href="${password_reset_url}">${_('Generate new password here')}.</a>
</p>