From c7a67fc0a2155f419aecac15cf249f3db68a937d Mon Sep 17 00:00:00 2001 From: Daniel Molina Date: Fri, 26 Feb 2016 14:00:22 +0100 Subject: [PATCH] Feature #4210: Remove add and del group buttons TODO remove from new groupadmin.yaml --- src/sunstone/etc/sunstone-views/admin.yaml | 2 -- src/sunstone/etc/sunstone-views/admin_vcenter.yaml | 2 -- src/sunstone/public/app/tabs/users-tab/buttons.js | 14 -------------- 3 files changed, 18 deletions(-) diff --git a/src/sunstone/etc/sunstone-views/admin.yaml b/src/sunstone/etc/sunstone-views/admin.yaml index d78ee416ff..f68c1c4f09 100644 --- a/src/sunstone/etc/sunstone-views/admin.yaml +++ b/src/sunstone/etc/sunstone-views/admin.yaml @@ -75,8 +75,6 @@ tabs: User.quotas_dialog: true User.groups_dialog: true User.chgrp: true - User.addgroup: true - User.delgroup: true User.chauth: true User.delete: true groups-tab: diff --git a/src/sunstone/etc/sunstone-views/admin_vcenter.yaml b/src/sunstone/etc/sunstone-views/admin_vcenter.yaml index ac990f8643..811ef23171 100644 --- a/src/sunstone/etc/sunstone-views/admin_vcenter.yaml +++ b/src/sunstone/etc/sunstone-views/admin_vcenter.yaml @@ -72,8 +72,6 @@ tabs: User.quotas_dialog: true User.groups_dialog: true User.chgrp: true - User.addgroup: true - User.delgroup: true User.chauth: true User.delete: true groups-tab: diff --git a/src/sunstone/public/app/tabs/users-tab/buttons.js b/src/sunstone/public/app/tabs/users-tab/buttons.js index 5aa209ff41..8729c15429 100644 --- a/src/sunstone/public/app/tabs/users-tab/buttons.js +++ b/src/sunstone/public/app/tabs/users-tab/buttons.js @@ -54,20 +54,6 @@ define(function(require) { select: "Group", tip: Locale.tr("This will change the main group of the selected users. Select the new group")+":" }, - "User.addgroup" : { - type: "confirm_with_select", - text: Locale.tr("Add to group"), - layout: "user_select", - select: "Group", - tip: Locale.tr("This will add the user to a secondary group. Select the new group")+":" - }, - "User.delgroup" : { - type: "confirm_with_select", - text: Locale.tr("Remove from group"), - layout: "user_select", - select: "Group", - tip: Locale.tr("This will remove the user from a secondary group. Select the group")+":" - }, "User.delete" : { type: "confirm", text: Locale.tr("Delete"),