mirror of
https://github.com/ansible/awx.git
synced 2026-01-14 11:20:39 -03:30
Hiding 'relaunch' icon for system jobs
hiding the relaunch icon for queued jobs, running jobs, and the dashboard view of jobs
This commit is contained in:
parent
f41a6f22bf
commit
eb51600790
@ -84,7 +84,8 @@ angular.module('JobsListDefinition', [])
|
||||
icon: 'icon-rocket',
|
||||
ngClick: 'relaunchJob($event, job.id)',
|
||||
awToolTip: 'Relaunch using the same parameters',
|
||||
dataPlacement: 'top'
|
||||
dataPlacement: 'top',
|
||||
ngHide: "job.type == 'system_job' "
|
||||
},
|
||||
cancel: {
|
||||
mode: 'all',
|
||||
|
||||
@ -73,7 +73,8 @@ angular.module('QueuedJobsDefinition', [])
|
||||
mode: 'all',
|
||||
ngClick: 'relaunchJob($event, queued_job.id)',
|
||||
awToolTip: 'Relaunch using the same parameters',
|
||||
dataPlacement: 'top'
|
||||
dataPlacement: 'top',
|
||||
ngHide: "queued_job.type == 'system_job' "
|
||||
},
|
||||
'cancel': {
|
||||
mode: 'all',
|
||||
|
||||
@ -74,7 +74,8 @@ angular.module('RunningJobsDefinition', [])
|
||||
mode: 'all',
|
||||
ngClick: 'relaunchJob($event, running_job.id)',
|
||||
awToolTip: 'Relaunch using the same parameters',
|
||||
dataPlacement: 'top'
|
||||
dataPlacement: 'top',
|
||||
ngHide: "running_job.type == 'system_job' "
|
||||
},
|
||||
cancel: {
|
||||
mode: 'all',
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user