menu_pin_topic

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_pin_topic".
... in dropdown.naml
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
<macro name="menu_pin_topic" requires="node">
    <n.if.is_in_command name="dropdown">
        <then>
            dropdown.add('pinTopic', '<n.javascript_string_encode.pin_topic_link/>', 'display:none');
        </then>
        <else>
            <n.set_local_node.this_node/>
            <n.if.both condition1="[n.not.local_node.is_pinned/]" condition2="[n.visitor.can_manage_pinned_topics_in.local_node/]">
                <then>
                    NabbleDropdown.show('pinTopic');
                </then>
            </n.if.both>
        </else>
    </n.if.is_in_command>
</macro>