mirror of
https://github.com/ansible/awx.git
synced 2026-05-10 19:07:36 -02:30
changed vmware host credential label to read vCenter Host
This commit is contained in:
@@ -146,7 +146,7 @@ angular.module('CredentialFormDefinition', [])
|
|||||||
apiField: 'passwowrd'
|
apiField: 'passwowrd'
|
||||||
},
|
},
|
||||||
"host": {
|
"host": {
|
||||||
label: 'Host',
|
labelBind: 'hostLabel',
|
||||||
type: 'text',
|
type: 'text',
|
||||||
ngShow: "kind.value == 'vmware'",
|
ngShow: "kind.value == 'vmware'",
|
||||||
autocomplete: false,
|
autocomplete: false,
|
||||||
|
|||||||
@@ -41,6 +41,7 @@ angular.module('CredentialsHelper', ['Utilities'])
|
|||||||
scope.key_hint= "drag and drop an SSH private key file on the field below";
|
scope.key_hint= "drag and drop an SSH private key file on the field below";
|
||||||
scope.host_required = false;
|
scope.host_required = false;
|
||||||
scope.password_required = false;
|
scope.password_required = false;
|
||||||
|
scope.hostLabel = '';
|
||||||
|
|
||||||
if (!Empty(scope.kind)) {
|
if (!Empty(scope.kind)) {
|
||||||
// Apply kind specific settings
|
// Apply kind specific settings
|
||||||
@@ -79,6 +80,7 @@ angular.module('CredentialsHelper', ['Utilities'])
|
|||||||
scope.username_required = true;
|
scope.username_required = true;
|
||||||
scope.host_required = true;
|
scope.host_required = true;
|
||||||
scope.password_required = true;
|
scope.password_required = true;
|
||||||
|
scope.hostLabel = "vCenter Host";
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user