diff --git a/www/config/TfaView.js b/www/config/TfaView.js index c112a132..883c9508 100644 --- a/www/config/TfaView.js +++ b/www/config/TfaView.js @@ -241,6 +241,7 @@ Ext.define('PBS.config.TfaView', { ], }, }, + '-', { xtype: 'proxmoxButton', text: gettext('Edit'), diff --git a/www/config/TokenView.js b/www/config/TokenView.js index 2225d6c5..6282a4d4 100644 --- a/www/config/TokenView.js +++ b/www/config/TokenView.js @@ -149,6 +149,7 @@ Ext.define('PBS.config.TokenView', { handler: 'addToken', selModel: false, }, + '-', { xtype: 'proxmoxButton', text: gettext('Edit'), @@ -166,9 +167,10 @@ Ext.define('PBS.config.TokenView', { return '/access/users/' + encodeURIComponent(user) + '/token/' + encodeURIComponent(tokenname); }, }, + '-', { xtype: 'proxmoxButton', - text: gettext('Permissions'), + text: gettext('Show Permissions'), handler: 'showPermissions', disabled: true, }, diff --git a/www/config/UserView.js b/www/config/UserView.js index f030b30c..4645737a 100644 --- a/www/config/UserView.js +++ b/www/config/UserView.js @@ -128,27 +128,29 @@ Ext.define('PBS.config.UserView', { handler: 'addUser', selModel: false, }, + '-', { xtype: 'proxmoxButton', text: gettext('Edit'), handler: 'editUser', disabled: true, }, - { - xtype: 'proxmoxButton', - text: gettext('Password'), - handler: 'setPassword', - disabled: true, - }, { xtype: 'proxmoxStdRemoveButton', baseurl: '/access/users/', enableFn: (rec) => rec.data.userid !== 'root@pam', callback: 'reload', }, + '-', { xtype: 'proxmoxButton', - text: gettext('Permissions'), + text: gettext('Change Password'), + handler: 'setPassword', + disabled: true, + }, + { + xtype: 'proxmoxButton', + text: gettext('Show Permissions'), handler: 'showPermissions', disabled: true, },