##// END OF EJS Templates
emails: set References header for threading in mail user agents even with different subjects...
emails: set References header for threading in mail user agents even with different subjects - drop template headers() function as it wasn't used, and actually had bad implementation

File last commit:

r4447:ae62a3cc default
r4447:ae62a3cc default
Show More
test.mako
18 lines | 427 B | application/x-mako | MakoHtmlLexer
project: added all source files and assets
r1 ## -*- coding: utf-8 -*-
<%inherit file="base.mako"/>
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 Test "Subject" ${_('hello "world"')|n}
</%def>
## plain text version of the email. Empty by default
<%def name="body_plaintext()" filter="n,trim">
Email Plaintext Body
</%def>
## BODY GOES BELOW
dan
emails: updated emails design and data structure they provide....
r4038 <strong>Email Body</strong>
<br/>
<br/>
`h.short_id()`: ${h.short_id('0' * 40)}<br/>
${_('Translation String')}<br/>