menu_topic_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_topic_subscription".
... in dropdown.naml
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
<macro name="menu_topic_subscription" requires="node">
    <n.if.is_in_command name="dropdown">
        <then>
            dropdown.add('topicSubscriptionLink', '<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>You are subscribed</b> ';
                    text += '(<a href="[n.local_node.unsubscribe_path/]" ignore="y">unsubscribe</a>)';
                    NabbleDropdown.replaceContents('topicSubscriptionLink',text);
                </then>
            </n.if.local_node.visitor_is_subscribed>
        </else>
    </n.if.is_in_command>
</macro>