1
0
mirror of https://github.com/ansible/awx.git synced 2024-10-31 23:51:09 +03:00

changed vmware host credential label to read vCenter Host

This commit is contained in:
Jared Tabor 2014-08-08 11:00:39 -04:00
parent 0e9b1fa9e1
commit affa675819
2 changed files with 3 additions and 1 deletions

View File

@ -146,7 +146,7 @@ angular.module('CredentialFormDefinition', [])
apiField: 'passwowrd'
},
"host": {
label: 'Host',
labelBind: 'hostLabel',
type: 'text',
ngShow: "kind.value == 'vmware'",
autocomplete: false,

View File

@ -41,6 +41,7 @@ angular.module('CredentialsHelper', ['Utilities'])
scope.key_hint= "drag and drop an SSH private key file on the field below";
scope.host_required = false;
scope.password_required = false;
scope.hostLabel = '';
if (!Empty(scope.kind)) {
// Apply kind specific settings
@ -79,6 +80,7 @@ angular.module('CredentialsHelper', ['Utilities'])
scope.username_required = true;
scope.host_required = true;
scope.password_required = true;
scope.hostLabel = "vCenter Host";
break;
}
}