subscription_msg

NAML documentation   Watch a video
   Usages of this macro
... in subscription_msg.naml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
<override_macro name="subscription_msg" parameters="header,message">
    <n.html
Macro
Parameters: head, body
>
        <head>
            <n.title
Macro
Parameters: text
.><n.header/></n.title.>
            <n.main_title_css
Macro
/>
        </head>
        <body>
            <n.visitor
Binary
Namespace: ServletNamespace
Parameters: do
.profile_header
Macro
Requires: user
/>
            <div class="shaded-bg-color rounded second-font main-title">
                <n.header/>
            </div>
 
            <table style="margin-bottom:1em">
                <tr valign="top">
                    <td><img src="/images/success.png" class="image16"/></td>
                    <td>
                        <b><n.message/></b>
                                <p><a href="[n.display_user_subscriptions_path
Macro
/]"><t>Return to all Subscriptions Page</t></a></p>
 
                                <p><a href="[n.page_node
Binary
Namespace: NodePageNamespace
Parameters: do
.url
Macro
Requires: node
Parameters: template, date, index_record
/]"><t>Return to <t.location.page_node
Binary
Namespace: NodePageNamespace
Parameters: do
.subject
Macro
Requires: node
/></t></a></p>
                    </td>
                </tr>
            </table>
        </body>
    </n.html>
</override_macro>
Overrides default macro
... in subscribe.naml
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
<macro name="subscription_msg" parameters="header,message">
    <n.html>
        <head>
            <n.title.><n.header/></n.title.>
            <n.main_title_css/>
        </head>
        <body>
            <n.visitor.profile_header/>
            <div class="shaded-bg-color rounded second-font main-title">
                <n.header/>
            </div>
 
            <table style="margin-bottom:1em">
                <tr valign="top">
                    <td><img src="/images/success.png" class="image16"/></td>
                    <td>
                        <b><n.message/></b>
                        <p><a href="[n.page_node.url/]"><t>Return to <t.location.page_node.subject/></t></a></p>
                    </td>
                </tr>
            </table>
        </body>
    </n.html>
</macro>