finish_registration_page.naml

<override_macro name="finish_registration_page" requires="servlet">
    <n.html>
        <head>
            <n.title.><t>Registration Confirmed</t></n.title.>
        </head>
        <body>
            <n.set_local_user.get_user_from_email email="[n.email_field.value/]" />
            <n.if.both condition1="[n.not.is_null.local_user/]" condition2="[n.local_user.is_registered/]">
                <then>
                    <h1><t>Registration Confirmed</t></h1>
                    <p><t>You have already been registered.</t></p>
                    <p>Here is a link to <a href="[n.local_user.url/]">your profile</a>.</p>
                </then>
                <else>
                    <n.save_registration/>
                </else>
            </n.if.both>
        </body>
    </n.html>
</override_macro>