mirror of
https://github.com/ansible/awx.git
synced 2026-02-15 02:00:01 -03:30
further clarify OpenStack options, consolidate to one PopOver
This commit is contained in:
@@ -341,7 +341,7 @@ export default
|
||||
ngShow: "kind.value == 'gce' || kind.value == 'openstack'",
|
||||
awPopOverWatch: "projectPopOver",
|
||||
awPopOver: "set in helpers/credentials",
|
||||
dataTitle: 'Project ID',
|
||||
dataTitle: 'Project Name',
|
||||
dataPlacement: 'right',
|
||||
dataContainer: "body",
|
||||
addRequired: false,
|
||||
@@ -356,8 +356,12 @@ export default
|
||||
labelBind: 'domainLabel',
|
||||
type: 'text',
|
||||
ngShow: "kind.value == 'openstack'",
|
||||
awPopOver: "<p>Domain used for Keystone v3 <br />identity service.</p>",
|
||||
dataTitle: 'Domain Name (optional)',
|
||||
awPopOver: "<p>OpenStack domains define administrative " +
|
||||
"boundaries. It is only needed for Keystone v3 authentication URLs. " +
|
||||
"Common scenarios include:<ul><li><b>v2 URLs</b> - leave blank</li>" +
|
||||
"<li><b>v3 default</b> - set to 'default'</br></li>" +
|
||||
"<li><b>v3 multi-domain</b> - your domain name</p></li></ul></p>",
|
||||
dataTitle: 'Domain Name',
|
||||
dataPlacement: 'right',
|
||||
dataContainer: "body",
|
||||
addRequired: false,
|
||||
|
||||
@@ -74,8 +74,6 @@ angular.module('CredentialsHelper', ['Utilities'])
|
||||
scope.project_required = false;
|
||||
scope.passwordLabel = 'Password (API Key)';
|
||||
scope.projectPopOver = "<p>The project value</p>";
|
||||
scope.domainPopOver = "<p>Domain used for Keystone v3 " +
|
||||
"<br />identity service.</p>";
|
||||
scope.hostPopOver = "<p>The host value</p>";
|
||||
|
||||
if (!Empty(scope.kind)) {
|
||||
@@ -128,13 +126,13 @@ angular.module('CredentialsHelper', ['Utilities'])
|
||||
case 'openstack':
|
||||
scope.hostLabel = "Host (Authentication URL)";
|
||||
scope.projectLabel = "Project (Tenant Name)";
|
||||
scope.domainLabel = "Domain Name (optional)";
|
||||
scope.domainLabel = "Domain Name";
|
||||
scope.password_required = true;
|
||||
scope.project_required = true;
|
||||
scope.host_required = true;
|
||||
scope.username_required = true;
|
||||
scope.projectPopOver = "<p>This is the tenant name " +
|
||||
"or tenant id. This value is usually the same " +
|
||||
scope.projectPopOver = "<p>This is the tenant name. " +
|
||||
" This value is usually the same " +
|
||||
" as the username.</p>";
|
||||
scope.hostPopOver = "<p>The host to authenticate with." +
|
||||
"<br />For example, https://openstack.business.com/v2.0/";
|
||||
|
||||
Reference in New Issue
Block a user