##// END OF EJS Templates
fix: do not render email if we arent sending email with notification
fix: do not render email if we arent sending email with notification

File last commit:

r5037:bd722d6e default
r5542:d9b3c623 default
Show More
password_reset.mako
36 lines | 1.2 KiB | application/x-mako | MakoHtmlLexer
project: added all source files and assets
r1 <%inherit file="base.mako"/>
dan
emails: updated emails design and data structure they provide....
r4038 <%namespace name="base" file="base.mako"/>
project: added all source files and assets
r1
emails: fixed newlines in email templates that can break email sending code.
r1728 <%def name="subject()" filter="n,trim,whitespace_filter">
project: added all source files and assets
r1 RhodeCode Password reset
</%def>
## plain text version of the email. Empty by default
<%def name="body_plaintext()" filter="n,trim">
dan
emails: updated emails design and data structure they provide....
r4038 Hello ${user.username},
project: added all source files and assets
r1
dan
emails: updated emails design and data structure they provide....
r4038 On ${h.format_date(date)} there was a request to reset your password using the email address `${email}`
project: added all source files and assets
r1
dan
emails: updated emails design and data structure they provide....
r4038 *If you did not request a password reset, please contact your RhodeCode administrator at: ${first_admin_email}*
project: added all source files and assets
r1
You can continue, and generate new password by clicking following URL:
${password_reset_url}
password-reset: strengthten security on password reset logic....
r1471 This link will be active for 10 minutes.
dan
emails: updated emails design and data structure they provide....
r4038
---
notifications: restyling email templates #4087
r508 ${self.plaintext_footer()}
project: added all source files and assets
r1 </%def>
## BODY GOES BELOW
notifications: restyling email templates #4087
r508 <p>
Hello ${user.username},
</p><p>
dan
emails: updated emails design and data structure they provide....
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>
notifications: restyling email templates #4087
r508 </p><p>
dan
emails: updated emails design and data structure they provide....
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.
emails: optimize some labels, and made few i18n fixes....
r532 </p>