mirror of
https://git.proxmox.com/git/proxmox-widget-toolkit
synced 2025-05-11 19:42:49 +00:00
window: password edit: clarify labels
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
This commit is contained in:
parent
be5b9a4393
commit
a5d6c92f60
@ -7,8 +7,9 @@ Ext.define('Proxmox.window.PasswordEdit', {
|
|||||||
|
|
||||||
url: '/api2/extjs/access/password',
|
url: '/api2/extjs/access/password',
|
||||||
|
|
||||||
|
width: 380,
|
||||||
fieldDefaults: {
|
fieldDefaults: {
|
||||||
labelWidth: 120,
|
labelWidth: 150,
|
||||||
},
|
},
|
||||||
|
|
||||||
// allow products to opt-in as their API gains support for this.
|
// allow products to opt-in as their API gains support for this.
|
||||||
@ -18,7 +19,7 @@ Ext.define('Proxmox.window.PasswordEdit', {
|
|||||||
{
|
{
|
||||||
xtype: 'textfield',
|
xtype: 'textfield',
|
||||||
inputType: 'password',
|
inputType: 'password',
|
||||||
fieldLabel: gettext('Current password'),
|
fieldLabel: gettext('Your Current Password'),
|
||||||
reference: 'confirmation-password',
|
reference: 'confirmation-password',
|
||||||
name: 'confirmation-password',
|
name: 'confirmation-password',
|
||||||
allowBlank: false,
|
allowBlank: false,
|
||||||
@ -31,7 +32,7 @@ Ext.define('Proxmox.window.PasswordEdit', {
|
|||||||
{
|
{
|
||||||
xtype: 'textfield',
|
xtype: 'textfield',
|
||||||
inputType: 'password',
|
inputType: 'password',
|
||||||
fieldLabel: gettext('Password'),
|
fieldLabel: gettext('New Password'),
|
||||||
minLength: 5,
|
minLength: 5,
|
||||||
allowBlank: false,
|
allowBlank: false,
|
||||||
name: 'password',
|
name: 'password',
|
||||||
@ -43,7 +44,7 @@ Ext.define('Proxmox.window.PasswordEdit', {
|
|||||||
{
|
{
|
||||||
xtype: 'textfield',
|
xtype: 'textfield',
|
||||||
inputType: 'password',
|
inputType: 'password',
|
||||||
fieldLabel: gettext('Confirm password'),
|
fieldLabel: gettext('Confirm New Password'),
|
||||||
name: 'verifypassword',
|
name: 'verifypassword',
|
||||||
allowBlank: false,
|
allowBlank: false,
|
||||||
vtype: 'password',
|
vtype: 'password',
|
||||||
|
Loading…
Reference in New Issue
Block a user