Files
tryton/trytond/res/email_reset_password.html
T
Cédric Krier d3494d767c Support MsgDirective and cache template for report
We add the Translator directives to the template so we can use the i18n
extension on HTML report.
We also cache in memory the parsed template and avoid to write it in temp
directory for the loader.

issue9511
issue6489
review321891002
2020-09-12 16:35:52 +02:00

27 lines
1.2 KiB
HTML

<!DOCTYPE html>
<html xmlns:py="http://genshi.edgewall.org/" xmlns:i18n="http://genshi.edgewall.org/i18n">
<head>
<title>Reset Password</title>
</head>
<body>
<div style="display: block; text-align: center">
<div>
<h1>Reset Password</h1>
<p i18n:msg="login,password,host,database,host,database">
The password for your account, <strong>${record.login}</strong>, has been reset.<br/>
You must set a new one from the user's preferences.<br/>
You can connect with this temporary password <strong>${record.password_reset}</strong> to<br/>
<a href="tryton://${host}/${database}">tryton://${host}/${database}</a><br/>
<a href="${http_host}/#${database}">${http_host}/#${database}</a>
</p>
</div>
<hr style="margin-top: 20px; border-style: solid none none; border-color: #EEE"></hr>
<div style="font-size: 80%; color: #777">
<p i18n:msg="datetime">
The password will expire at <time datetime="${record.password_reset_expire.isoformat()}">${expire} UTC</time>.
</p>
</div>
</div>
</body>
</html>