Mercurial Hosting > nabble
comparison src/nabble/modules/naml/email_registration_notification.naml @ 0:7ecd1a4ef557
add content
author | Franklin Schmidt <fschmidt@gmail.com> |
---|---|
date | Thu, 21 Mar 2019 19:15:52 -0600 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
-1:000000000000 | 0:7ecd1a4ef557 |
---|---|
1 <override_macro name="after_registration" requires="user"> | |
2 <n.overridden/> | |
3 <n.set_local_user.this_user/> | |
4 | |
5 <n.users_in_group. group="[n.administrators_group/]"> | |
6 <n.loop.> | |
7 <n.new_email.> | |
8 <n.send> | |
9 <to.current_user.user_email/> | |
10 <to_name.current_user.name/> | |
11 <from_name.root_node.subject/> | |
12 <subject><t>New user:</t> <n.local_user.name/></subject> | |
13 <text_part.local_user.new_user_email_text/> | |
14 <html_part.local_user.new_user_email_html/> | |
15 </n.send> | |
16 </n.new_email.> | |
17 </n.loop.> | |
18 </n.users_in_group.> | |
19 </override_macro> | |
20 | |
21 | |
22 <macro name="new_user_email_text" requires="user" unindent="true"> | |
23 <t>New registered user in <t.location.root_node.subject/>!</t> | |
24 | |
25 <t>Name</t> = <n.name/> | |
26 <t>Email</t> = <n.user_email/> | |
27 | |
28 <t>User profile</t> | |
29 <n.url/> | |
30 | |
31 _____________________________________ | |
32 <n.root_node.subject/> | |
33 <n.base_url/> | |
34 </macro> | |
35 | |
36 <macro name="new_user_email_html" requires="user" unindent="true"> | |
37 <h2><t>New registered user in <t.location.root_node.subject/>!</t></h2> | |
38 <t>Name</t> = <n.name/><br/> | |
39 <t>Email</t> = <n.user_email/><br/> | |
40 <br/> | |
41 <b><t>User profile</t></b><br/> | |
42 <a href="[n.url/]"><n.url/></a><br/> | |
43 <br/> | |
44 <div style="color:#666; font: 11px tahoma,geneva,helvetica,arial,sans-serif;margin-top:.4em"> | |
45 <n.root_node.subject/><br/> | |
46 <a href="[n.base_url/]"><n.base_url/></a> | |
47 </div> | |
48 </macro> |