Show More
@@ -1,21 +1,22 b'' | |||||
1 | ## -*- coding: utf-8 -*- |
|
1 | ## -*- coding: utf-8 -*- | |
2 | <%inherit file="base.mako"/> |
|
2 | <%inherit file="base.mako"/> | |
3 |
|
3 | |||
4 | <%def name="subject()" filter="n,trim"> |
|
4 | <%def name="subject()" filter="n,trim"> | |
5 | RhodeCode new user registration |
|
5 | RhodeCode new user registration | |
6 | </%def> |
|
6 | </%def> | |
7 |
|
7 | |||
8 | ## plain text version of the email. Empty by default |
|
8 | ## plain text version of the email. Empty by default | |
9 | <%def name="body_plaintext()" filter="n,trim"> |
|
9 | <%def name="body_plaintext()" filter="n,trim"> | |
10 |
|
10 | |||
11 | A new user `${user.username}` has registered on ${h.format_date(date)} |
|
11 | A new user `${user.username}` has registered on ${h.format_date(date)} | |
12 |
|
12 | |||
13 | - Username: ${user.username} |
|
13 | - Username: ${user.username} | |
14 | - Full Name: ${user.firstname} ${user.lastname} |
|
14 | - Full Name: ${user.firstname} ${user.lastname} | |
15 | - Email: ${user.email} |
|
15 | - Email: ${user.email} | |
|
16 | - Profile link: ${h.url('user_profile', username=user.username, qualified=True)} | |||
16 | </%def> |
|
17 | </%def> | |
17 |
|
18 | |||
18 | ## BODY GOES BELOW |
|
19 | ## BODY GOES BELOW | |
19 | <div style="white-space: pre-wrap"> |
|
20 | <div style="white-space: pre-wrap"> | |
20 | ${body_plaintext()} |
|
21 | ${body_plaintext()} | |
21 | </div> No newline at end of file |
|
22 | </div> |
General Comments 0
You need to be logged in to leave comments.
Login now