menu_lock_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_lock_topic".
... in dropdown.naml
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
<macro name="menu_lock_topic" requires="node">
    <n.if.is_in_command name="dropdown">
        <then>
            dropdown.add('lockTopic', '<n.javascript_string_encode.lock_topic_link/>', 'display:none');
        </then>
        <else>
            <n.set_local_node.this_node/>
            <n.if.both condition1="[n.not.local_node.is_locked_topic/]" condition2="[n.visitor.can_manage_locked_topics_in.local_node/]">
                <then>
                    NabbleDropdown.show('lockTopic');
                </then>
            </n.if.both>
        </else>
    </n.if.is_in_command>
</macro>