menu_create_sub_app

NAML documentation   Watch a video
   Usages of this macro
... in dropdown.naml
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
<macro name="menu_create_sub_app" requires="node">
    <n.if
Binary
Namespace: BasicNamespace
Parameters: condition, else, then
.is_in_command
Binary
Namespace: BasicNamespace
Parameters: name
 name="dropdown">
        <then>
            dropdown.add('createChildForum', '<n.javascript_string_encode
Binary
Namespace: NabbleNamespace
Parameters: text
.create_sub_app_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
.visitor
Binary
Namespace: ServletNamespace
Parameters: do
.can_create_sub_apps_under
Macro
Requires: user
Parameters: node_attr
.local_node
Macro
Parameters: do
>
                <then>
                    NabbleDropdown.show('createChildForum');
                </then>
            </n.if.visitor.can_create_sub_apps_under.local_node>
        </else>
    </n.if.is_in_command>
</macro>