mirror of
https://github.com/ansible/awx.git
synced 2024-11-04 12:51:18 +03:00
AC-454 deferring scm_url validation to the API.
This commit is contained in:
parent
9b11bb6f69
commit
c9ed4fab37
@ -96,16 +96,16 @@ angular.module('ProjectFormDefinition', [])
|
||||
label: 'SCM URL',
|
||||
type: 'text',
|
||||
ngShow: "scm_type !== '' && scm_type !== null",
|
||||
awValidUrl: true,
|
||||
awRequiredWhen: { variable: "scm_type", init: "true" },
|
||||
awPopOver: "<p>Provide the URL to your SCM server. The value should begin with the protocol https:\/\/, http:\/\/ or ssh:\/\/.</p>" +
|
||||
//awValidUrl: true,
|
||||
awRequiredWhen: { variable: "scm_type", init: "true" }
|
||||
/*awPopOver: "<p>Provide the URL to your SCM server. The value should begin with the protocol https:\/\/, http:\/\/ or ssh:\/\/.</p>" +
|
||||
"<p>Do not inlcude username or password values. Use the authentication settings instead.</p>" +
|
||||
"<p>Examples include:</p>" +
|
||||
"<p>ssh:\/\/github.com:ansible/ansible-examples.git</p>" +
|
||||
"<p>https:\/\/github.com/ansible/ansible-examples.git</p>",
|
||||
dataTitle: 'SCM URL',
|
||||
dataPlacement: 'right',
|
||||
dataContainer: 'body'
|
||||
dataContainer: 'body'*/
|
||||
},
|
||||
scm_branch: {
|
||||
labelBind: "scmBranchLabel",
|
||||
|
Loading…
Reference in New Issue
Block a user