

@staticmethod
def org():
    ' ORG / Organization Registry '
    ADMIN = current.session.s3.system_roles.ADMIN
    SECTORS = ('Clusters' if current.deployment_settings.get_ui_label_cluster() else 'Sectors')
    return M(c='org')(M('Organizations', f='organisation')(M('Create', m='create'), M('Import', m='import')), M('Facilities', f='facility', m='summary')(M('Create', m='create'), M('Map', m='map'), M('Import', m='import')), M('Offices', f='office')(M('Create', m='create'), M('Map', m='map'), M('Import', m='import')), M('Resources', f='resource', m='summary')(M('Create', m='create'), M('Import', m='import')), M('Organization Types', f='organisation_type', restrict=[ADMIN])(M('Create', m='create')), M('Service Types', f='service', restrict=[ADMIN])(M('Create', m='create')), M('Office Types', f='office_type', restrict=[ADMIN])(M('Create', m='create')), M('Facility Types', f='facility_type', restrict=[ADMIN])(M('Create', m='create')), M(SECTORS, f='sector', restrict=[ADMIN])(M('Create', m='create')))

dataset/ETHPy150Open sahana/eden/modules/templates/RW/menus.py S3OptionsMenu.org/original