[pve-devel] [PATCH manager 3/3] Remove redundant helper for login window

Emmanuel Kasper e.kasper at proxmox.com
Wed Jan 18 09:46:05 CET 2017


the information is already provided by the label, the helper does not add
meaningfull information here.
---
 www/manager6/ceph/Config.js        | 2 +-
 www/manager6/window/LoginWindow.js | 6 ++----
 2 files changed, 3 insertions(+), 5 deletions(-)

diff --git a/www/manager6/ceph/Config.js b/www/manager6/ceph/Config.js
index 3df51d8..c4f7786 100644
--- a/www/manager6/ceph/Config.js
+++ b/www/manager6/ceph/Config.js
@@ -53,7 +53,7 @@ Ext.define('PVE.node.CephConfigCrush', {
 
     layout: 'border',
     items: [{
-	    title: gettext('Ceph Config'),
+	    title: gettext('Configuration'),
 	    xtype: 'pveNodeCephConfig',
 	    region: 'center'
 	},
diff --git a/www/manager6/window/LoginWindow.js b/www/manager6/window/LoginWindow.js
index ac354a7..3ef9138 100644
--- a/www/manager6/window/LoginWindow.js
+++ b/www/manager6/window/LoginWindow.js
@@ -147,16 +147,14 @@ Ext.define('PVE.window.LoginWindow', {
 		name: 'username',
 		itemId: 'usernameField',
 		reference: 'usernameField',
-		stateId: 'login-username',
-		blankText: gettext("Enter your user name")
+		stateId: 'login-username'
 	    },
 	    {
 		xtype: 'textfield',
 		inputType: 'password',
 		fieldLabel: gettext('Password'),
 		name: 'password',
-		reference: 'passwordField',
-		blankText: gettext("Enter your password")
+		reference: 'passwordField'
 	    },
 	    {
 		xtype: 'textfield',
-- 
2.1.4




More information about the pve-devel mailing list