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

Merge pull request #6190 from mabashian/6180-store_facts

Added store_facts to the job template form
This commit is contained in:
Michael Abashian 2017-05-10 09:07:18 -04:00 committed by GitHub
commit 34073e65f5

View File

@ -322,6 +322,17 @@ function(NotificationsList, CompletedJobsList, i18n) {
dataContainer: "body", dataContainer: "body",
labelClass: 'stack-inline', labelClass: 'stack-inline',
ngDisabled: '!(job_template_obj.summary_fields.user_capabilities.edit || canAddJobTemplate)' ngDisabled: '!(job_template_obj.summary_fields.user_capabilities.edit || canAddJobTemplate)'
}, {
name: 'store_facts',
label: i18n._('Store Ansible Facts'),
type: 'checkbox',
column: 2,
awPopOver: "<p>" + i18n._("If enabled, a fact scan will be done when this job is launched.") + "</p>",
dataPlacement: 'right',
dataTitle: i18n._('Store Ansible Facts'),
dataContainer: "body",
labelClass: 'stack-inline',
ngDisabled: '!(job_template_obj.summary_fields.user_capabilities.edit || canAddJobTemplate)'
}] }]
}, },
callback_url: { callback_url: {