##// 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
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>