Mercurial Hosting > nabble
view src/nabble/modules/naml/email_registration_notification.naml @ 48:8c39a2f1dc0c
mobile fix
author | Franklin Schmidt <fschmidt@gmail.com> |
---|---|
date | Sun, 20 Jun 2021 19:23:21 -0600 |
parents | 7ecd1a4ef557 |
children |
line wrap: on
line source
<override_macro name="after_registration" requires="user"> <n.overridden/> <n.set_local_user.this_user/> <n.users_in_group. group="[n.administrators_group/]"> <n.loop.> <n.new_email.> <n.send> <to.current_user.user_email/> <to_name.current_user.name/> <from_name.root_node.subject/> <subject><t>New user:</t> <n.local_user.name/></subject> <text_part.local_user.new_user_email_text/> <html_part.local_user.new_user_email_html/> </n.send> </n.new_email.> </n.loop.> </n.users_in_group.> </override_macro> <macro name="new_user_email_text" requires="user" unindent="true"> <t>New registered user in <t.location.root_node.subject/>!</t> <t>Name</t> = <n.name/> <t>Email</t> = <n.user_email/> <t>User profile</t> <n.url/> _____________________________________ <n.root_node.subject/> <n.base_url/> </macro> <macro name="new_user_email_html" requires="user" unindent="true"> <h2><t>New registered user in <t.location.root_node.subject/>!</t></h2> <t>Name</t> = <n.name/><br/> <t>Email</t> = <n.user_email/><br/> <br/> <b><t>User profile</t></b><br/> <a href="[n.url/]"><n.url/></a><br/> <br/> <div style="color:#666; font: 11px tahoma,geneva,helvetica,arial,sans-serif;margin-top:.4em"> <n.root_node.subject/><br/> <a href="[n.base_url/]"><n.base_url/></a> </div> </macro>