menu_subscription

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 "menu_subscription".
... in dropdown.naml
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
<macro name="menu_subscription" requires="node">
    <n.if.is_in_command name="dropdown">
        <then>
            dropdown.add('subscriptionLink', '<n.javascript_string_encode.subscribe_link/>');
        </then>
        <else>
            <n.set_local_node.this_node/>
            <n.if.local_node.visitor_is_subscribed>
                <then>
                    var text = '<b><t>Your subscription</t></b>: <n.javascript_string_encode.local_node.subject/> ';
                    text += '(<a href="[n.local_node.visitor_subscription.edit_path/]" ignore="y"><t>edit</t></a>)';
                    NabbleDropdown.replaceContents('subscriptionLink',text);
                </then>
            </n.if.local_node.visitor_is_subscribed>
        </else>
    </n.if.is_in_command>
</macro>