##// END OF EJS Templates
authn: Only lookup settings from DB if they are really used....
authn: Only lookup settings from DB if they are really used. When computing the form defaults only query the DB if we need the value from DB.

File last commit:

r1:854a839a default
r285:f9e2ba9b default
Show More
user_registration.mako
20 lines | 499 B | application/x-mako | MakoHtmlLexer
## -*- coding: utf-8 -*-
<%inherit file="base.mako"/>
<%def name="subject()" filter="n,trim">
RhodeCode new user registration
</%def>
## plain text version of the email. Empty by default
<%def name="body_plaintext()" filter="n,trim">
A new user `${user.username}` has registered on ${h.format_date(date)}
- Username: ${user.username}
- Full Name: ${user.firstname} ${user.lastname}
- Email: ${user.email}
</%def>
## BODY GOES BELOW
<div style="white-space: pre-wrap">
${body_plaintext()}
</div>