mirror of
https://github.com/ZwareBear/awx.git
synced 2026-05-05 16:01:50 -05:00
Wired up job relaunch for each type of job.
This commit is contained in:
@@ -48,6 +48,7 @@ angular.module('CompletedJobsDefinition', [])
|
||||
},
|
||||
type: {
|
||||
label: 'Type',
|
||||
ngBind: 'completed_job.type_label',
|
||||
link: false,
|
||||
columnClass: "col-md-2 hidden-sm hidden-xs"
|
||||
},
|
||||
@@ -101,7 +102,7 @@ angular.module('CompletedJobsDefinition', [])
|
||||
submit: {
|
||||
icon: 'icon-rocket',
|
||||
mode: 'all',
|
||||
ngClick: 'submitJob(completed_job.id, completed_job.summary_fields.job_template.name)',
|
||||
ngClick: 'relaunch(completed_job.id)',
|
||||
awToolTip: 'Relaunch the job',
|
||||
dataPlacement: 'top'
|
||||
},
|
||||
|
||||
@@ -47,6 +47,7 @@ angular.module('QueuedJobsDefinition', [])
|
||||
},
|
||||
type: {
|
||||
label: 'Type',
|
||||
ngBind: 'queued_job.type_label',
|
||||
link: false,
|
||||
columnClass: "col-md-2 hidden-sm hidden-xs"
|
||||
},
|
||||
@@ -78,7 +79,7 @@ angular.module('QueuedJobsDefinition', [])
|
||||
submit: {
|
||||
icon: 'icon-rocket',
|
||||
mode: 'all',
|
||||
ngClick: 'submitJob(queued_job.id, queued_job.summary_fields.job_template.name)',
|
||||
ngClick: 'relaunch(queued_job.id)',
|
||||
awToolTip: 'Launch another instance of the job',
|
||||
dataPlacement: 'top'
|
||||
},
|
||||
|
||||
@@ -47,6 +47,7 @@ angular.module('RunningJobsDefinition', [])
|
||||
},
|
||||
type: {
|
||||
label: 'Type',
|
||||
ngBind: 'running_job.type_label',
|
||||
link: false,
|
||||
columnClass: "col-md-2 hidden-sm hidden-xs"
|
||||
},
|
||||
@@ -81,7 +82,7 @@ angular.module('RunningJobsDefinition', [])
|
||||
submit: {
|
||||
icon: 'icon-rocket',
|
||||
mode: 'all',
|
||||
ngClick: 'submitJob(running_job.id, running_job.summary_fields.job_template.name)',
|
||||
ngClick: 'relaunch(running_job.id)',
|
||||
awToolTip: 'Launch another instance of the job',
|
||||
dataPlacement: 'top'
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user