##// END OF EJS Templates
login: Fix password reset mail link....
login: Fix password reset mail link. - Pyramid needs the request object to generate an URL. - Therefore we generate the URL in the view and pass it to the model to send the email.

File last commit:

r1:854a839a default
r37:0ef0b0cc default
Show More
base.mako
17 lines | 376 B | application/x-mako | MakoHtmlLexer
## -*- coding: utf-8 -*-
## headers we additionally can set for email
<%def name="headers()" filter="n,trim"></%def>
## plain text version of the email. Empty by default
<%def name="body_plaintext()" filter="n,trim"></%def>
${self.body()}
<div>
--
<br/>
<br/>
<b>${_('This is a notification from RhodeCode. %(instance_url)s') % {'instance_url': instance_url}}</b>
</div>