##// END OF EJS Templates
emails: updated emails design and data structure they provide....
emails: updated emails design and data structure they provide. - more consistent UI for emails - nicer formatting, plaintext emails - major cleanup and fixes lots of incosistencies - additionally debug-style now allows to test emails in browser for faster development

File last commit:

r4038:4a4a02a9 default
r4038:4a4a02a9 default
Show More
test.mako
22 lines | 480 B | application/x-mako | MakoHtmlLexer
## -*- coding: utf-8 -*-
<%inherit file="base.mako"/>
<%def name="subject()" filter="n,trim,whitespace_filter">
Test "Subject" ${_('hello "world"')|n}
</%def>
<%def name="headers()" filter="n,trim">
X=Y
</%def>
## plain text version of the email. Empty by default
<%def name="body_plaintext()" filter="n,trim">
Email Plaintext Body
</%def>
## BODY GOES BELOW
<strong>Email Body</strong>
<br/>
<br/>
`h.short_id()`: ${h.short_id('0' * 40)}<br/>
${_('Translation String')}<br/>