##// 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
main.mako
21 lines | 461 B | application/x-mako | MakoHtmlLexer
## -*- coding: utf-8 -*-
<%inherit file="base.mako"/>
<%def name="subject()" filter="n,trim,whitespace_filter">
</%def>
## plain text version of the email. Empty by default
<%def name="body_plaintext()" filter="n,trim">
${body}
---
${self.plaintext_footer()}
</%def>
## BODY GOES BELOW
<table style="text-align:left;vertical-align:top;">
<tr>
<td style="padding-right:20px;padding-top:15px;white-space:pre-wrap">${body}</td>
</tr>
</table>