menu_mailing_list_archive_settings

NAML documentation   Watch a video
   Usages of this macro
... in dropdown.naml
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
<macro name="menu_mailing_list_archive_settings" requires="node">
    <n.if
Binary
Namespace: BasicNamespace
Parameters: condition, else, then
.is_in_command
Binary
Namespace: BasicNamespace
Parameters: name
 name="dropdown">
        <then>
            dropdown.add('mailingListSettings', '<n.javascript_string_encode
Binary
Namespace: NabbleNamespace
Parameters: text
.mailing_list_archive_settings_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
>
                <condition>
                    <n.both
Binary
Namespace: BasicNamespace
Parameters: condition1, condition2
>
                        <condition1>
                            <n.visitor
Binary
Namespace: ServletNamespace
Parameters: do
.can_edit
Macro
Requires: user
Parameters: node_attr
.local_node
Macro
Parameters: do
/>
                        </condition1>
                        <condition2>
                            <n.either
Binary
Namespace: BasicNamespace
Parameters: condition1, condition2
>
                                <condition1><n.local_node
Macro
Parameters: do
.is_a_mailing_list_archive
Binary
Namespace: NodeNamespace
/></condition1>
                                <condition2><n.not
Binary
Namespace: BasicNamespace
Parameters: condition
.local_node
Macro
Parameters: do
.has_sub_archive
Binary
Namespace: NodeNamespace
/></condition2>
                            </n.either>
                        </condition2>
                    </n.both>
                </condition>
                <then>
                    NabbleDropdown.show('mailingListSettings');
                </then>
            </n.if>
        </else>
    </n.if.is_in_command>
</macro>