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