mirror of
https://github.com/ansible/awx.git
synced 2026-03-23 11:55:04 -02: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:
@@ -84,7 +84,8 @@ angular.module('JobsListDefinition', [])
|
|||||||
icon: 'icon-rocket',
|
icon: 'icon-rocket',
|
||||||
ngClick: 'relaunchJob($event, job.id)',
|
ngClick: 'relaunchJob($event, job.id)',
|
||||||
awToolTip: 'Relaunch using the same parameters',
|
awToolTip: 'Relaunch using the same parameters',
|
||||||
dataPlacement: 'top'
|
dataPlacement: 'top',
|
||||||
|
ngHide: "job.type == 'system_job' "
|
||||||
},
|
},
|
||||||
cancel: {
|
cancel: {
|
||||||
mode: 'all',
|
mode: 'all',
|
||||||
|
|||||||
@@ -73,7 +73,8 @@ angular.module('QueuedJobsDefinition', [])
|
|||||||
mode: 'all',
|
mode: 'all',
|
||||||
ngClick: 'relaunchJob($event, queued_job.id)',
|
ngClick: 'relaunchJob($event, queued_job.id)',
|
||||||
awToolTip: 'Relaunch using the same parameters',
|
awToolTip: 'Relaunch using the same parameters',
|
||||||
dataPlacement: 'top'
|
dataPlacement: 'top',
|
||||||
|
ngHide: "queued_job.type == 'system_job' "
|
||||||
},
|
},
|
||||||
'cancel': {
|
'cancel': {
|
||||||
mode: 'all',
|
mode: 'all',
|
||||||
|
|||||||
@@ -74,7 +74,8 @@ angular.module('RunningJobsDefinition', [])
|
|||||||
mode: 'all',
|
mode: 'all',
|
||||||
ngClick: 'relaunchJob($event, running_job.id)',
|
ngClick: 'relaunchJob($event, running_job.id)',
|
||||||
awToolTip: 'Relaunch using the same parameters',
|
awToolTip: 'Relaunch using the same parameters',
|
||||||
dataPlacement: 'top'
|
dataPlacement: 'top',
|
||||||
|
ngHide: "running_job.type == 'system_job' "
|
||||||
},
|
},
|
||||||
cancel: {
|
cancel: {
|
||||||
mode: 'all',
|
mode: 'all',
|
||||||
|
|||||||
Reference in New Issue
Block a user