1
0
mirror of https://github.com/ansible/awx.git synced 2024-11-05 05:51:21 +03:00

AC-454 deferring scm_url validation to the API.

This commit is contained in:
chouseknecht 2013-09-12 07:54:46 -04:00
parent 9b11bb6f69
commit c9ed4fab37

View File

@ -96,16 +96,16 @@ angular.module('ProjectFormDefinition', [])
label: 'SCM URL', label: 'SCM URL',
type: 'text', type: 'text',
ngShow: "scm_type !== '' && scm_type !== null", ngShow: "scm_type !== '' && scm_type !== null",
awValidUrl: true, //awValidUrl: true,
awRequiredWhen: { variable: "scm_type", init: "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>" + /*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>Do not inlcude username or password values. Use the authentication settings instead.</p>" +
"<p>Examples include:</p>" + "<p>Examples include:</p>" +
"<p>ssh:\/\/github.com:ansible/ansible-examples.git</p>" + "<p>ssh:\/\/github.com:ansible/ansible-examples.git</p>" +
"<p>https:\/\/github.com/ansible/ansible-examples.git</p>", "<p>https:\/\/github.com/ansible/ansible-examples.git</p>",
dataTitle: 'SCM URL', dataTitle: 'SCM URL',
dataPlacement: 'right', dataPlacement: 'right',
dataContainer: 'body' dataContainer: 'body'*/
}, },
scm_branch: { scm_branch: {
labelBind: "scmBranchLabel", labelBind: "scmBranchLabel",