menu_manage_users_and_groups.naml

<override_macro name="menu_manage_users_and_groups" requires="node">  
    <n.if.is_in_command name="dropdown">  
        <then>  
             dropdown.add('manageGroups', '<n.javascript_string_encode.manage_users_and_groups_link/>', 'display:none');  
        </then>  
        <else>  
            <n.set_local_node.this_node/>  
            <n.if.both condition1="[n.local_node.is_root/]" condition2="[n.visitor.can_manage_users_and_groups/]">  
                <then>  
                    NabbleDropdown.show('manageGroups');  
                    <n.if.visitor.is_in_group group="NewsAdmin" >  
                        <then>  
                            $(document).ready(function() {  
                            var group = $("#manageGroups a").attr("href");  
                            $("#manageGroups a").attr("href",group+"&group=Newsletter Co-op");                           
                            });  
                        </then>  
                    </n.if.visitor.is_in_group>  
                </then>  
            </n.if.both>  
        </else>  
    </n.if.is_in_command>  
</override_macro>