##// END OF EJS Templates
core: use a custom filter for rendering all mako templates....
core: use a custom filter for rendering all mako templates. - brings old pylons function that converted None into a empty markup

File last commit:

r1728:49fb0cec default
r1949:8462771d default
Show More
email_test.mako
12 lines | 369 B | application/x-mako | MakoHtmlLexer
## -*- coding: utf-8 -*-
<%inherit 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}, sent by: ${user}
</%def>
${body_plaintext()}