menu_download_backup

   Usages of this macro
... in dropdown.naml
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
<macro name="menu_download_backup" requires="node">
    <n.if
Binary
Namespace: BasicNamespace
Parameters: condition, else, then
.is_in_command
Binary
Namespace: BasicNamespace
Parameters: name
 name="dropdown">
        <then>
            dropdown.add('downloadBackup', '<n.javascript_string_encode
Binary
Namespace: NabbleNamespace
Parameters: text
.download_backup_link
Macro
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.local_node
Macro
Parameters: do
.is_root
Binary
Namespace: NodeNamespace
/]" condition2="[n.visitor
Binary
Namespace: ServletNamespace
Parameters: do
.is_site_admin
Macro
Requires: user
/]">
                <then>
                    NabbleDropdown.show('downloadBackup');
                </then>
            </n.if.both>
        </else>
    </n.if.is_in_command>
</macro>