mirror of
https://github.com/ansible/awx.git
synced 2024-11-01 16:51:11 +03:00
add timeout field to ui
This commit is contained in:
parent
6772c81927
commit
fcd759fa1f
@ -141,18 +141,15 @@ function(NotificationsList, i18n) {
|
||||
},
|
||||
forks: {
|
||||
label: i18n._('Forks'),
|
||||
id: 'forks-number',
|
||||
type: 'number',
|
||||
integer: true,
|
||||
min: 1,
|
||||
min: 0,
|
||||
default: 0,
|
||||
spinner: true,
|
||||
'class': "input-small",
|
||||
column: 1,
|
||||
awPopOver: i18n._('The number of parallel or simultaneous processes to use while executing the playbook. Value defaults to 0. Refer to the Ansible documentation for details about the configuration file.'),
|
||||
placeholder: 'DEFAULT',
|
||||
dataTitle: i18n._('Forks'),
|
||||
dataPlacement: 'right',
|
||||
dataContainer: "body",
|
||||
dataContainer: 'body',
|
||||
awPopOver: "<p>" + i18n._("The number of parallel or simultaneous processes to use while executing the playbook. Value defaults to 0. Refer to the Ansible documentation for details about the configuration file.") + "</p>",
|
||||
ngDisabled: '!(job_template_obj.summary_fields.user_capabilities.edit || canAddJobTemplate)'
|
||||
},
|
||||
limit: {
|
||||
@ -270,6 +267,19 @@ function(NotificationsList, i18n) {
|
||||
awPopOver: "<p>" + i18n._("Divide the work done by this job template into the specified number of job slices, each running the same tasks against a portion of the inventory.") + "</p>",
|
||||
ngDisabled: '!(job_template_obj.summary_fields.user_capabilities.edit || canAddJobTemplate)'
|
||||
},
|
||||
timeout: {
|
||||
label: i18n._('Timeout'),
|
||||
type: 'number',
|
||||
integer: true,
|
||||
min: 0,
|
||||
default: 0,
|
||||
spinner: true,
|
||||
dataTitle: i18n._('Timeout'),
|
||||
dataPlacement: 'right',
|
||||
dataContainer: 'body',
|
||||
awPopOver: "<p>" + i18n._("The amount of time (in seconds) to run before the task is canceled. Defaults to 0, which means the job will not timeout.") + "</p>",
|
||||
ngDisabled: '!(job_template_obj.summary_fields.user_capabilities.edit || canAddJobTemplate)'
|
||||
},
|
||||
diff_mode: {
|
||||
label: i18n._('Show Changes'),
|
||||
type: 'toggleSwitch',
|
||||
|
Loading…
Reference in New Issue
Block a user