##// END OF EJS Templates
settings: re-use attached request global config for performance...
settings: re-use attached request global config for performance - since we *always* generate a global config and register it into request make use of it, and not rely on the get_all_settings heavy logic that makes it slow to fetch because of cache checks. Within single request we're fine to re-use it when ever request attribute is available

File last commit:

r4038:4a4a02a9 default
r4200:007322e6 stable
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/>