##// 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
email_test.mako
12 lines | 351 B | application/x-mako | MakoHtmlLexer
project: added all source files and assets
r1 ## -*- coding: utf-8 -*-
<%inherit file="base.mako"/>
<%def name="subject()" filter="n,trim">
RhodeCode test email: ${h.format_date(date)}
</%def>
## plain text version of the email. Empty by default
<%def name="body_plaintext()" filter="n,trim">
Test Email from RhodeCode version: ${rhodecode_version}, sent by: ${user}
</%def>
${body_plaintext()}