menu_pin_topic

   Usages of this macro
... in dropdown.naml
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
<macro name="menu_pin_topic" requires="node">
    <n.if
Binary
Namespace: BasicNamespace
Parameters: condition, else, then
.is_in_command
Binary
Namespace: BasicNamespace
Parameters: name
 name="dropdown">
        <then>
            dropdown.add('pinTopic', '<n.javascript_string_encode
Binary
Namespace: NabbleNamespace
Parameters: text
.pin_topic_link
Macro
Requires: node
Parameters: text, title, class
/>', 'display:none');
        </then>
        <else>
            <n.set_local_node
Macro
Parameters: node
.this_node
Binary
Namespace: NodeNamespace
Parameters: do
/>
            <n.if
Binary
Namespace: BasicNamespace
Parameters: condition, else, then
.both
Binary
Namespace: BasicNamespace
Parameters: condition1, condition2
 condition1="[n.not
Binary
Namespace: BasicNamespace
Parameters: condition
.local_node
Macro
Parameters: do
.is_pinned
Binary
Namespace: NodeNamespace
/]" condition2="[n.visitor
Binary
Namespace: ServletNamespace
Parameters: do
.can_manage_pinned_topics_in
Macro
Requires: user
Parameters: node_attr
.local_node
Macro
Parameters: do
/]">
                <then>
                    NabbleDropdown.show('pinTopic');
                </then>
            </n.if.both>
        </else>
    </n.if.is_in_command>
</macro>