##// 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
email_test.mako
20 lines | 557 B | application/x-mako | MakoHtmlLexer
## -*- coding: utf-8 -*-
<%inherit file="base.mako"/>
<%namespace name="base" file="base.mako"/>
<%def name="subject()" filter="n,trim,whitespace_filter">
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}
Email sent by: ${h.person(user)}
---
${self.plaintext_footer()}
</%def>
Test Email from RhodeCode version: ${rhodecode_version}
<br/><br/>
Email sent by: <strong>${h.person(user)}</strong>