finish_registration_page

NAML documentation   Watch a video
   Usages of this macro
The source code below doesn't have navigation links because no usage has been compiled yet. Navigation links depend on how and where the macro is used, so first you may try finding all usages of "finish_registration_page".
... in finish_registration_page.naml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
<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>
Overrides default macro
... in register.naml
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
<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>
                </then>
                <else>
                    <n.save_registration/>
                </else>
            </n.if.both>
        </body>
    </n.html>
</macro>