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:
Jared Tabor 2014-12-11 14:56:10 -05:00
parent f41a6f22bf
commit eb51600790
3 changed files with 6 additions and 3 deletions

View File

@ -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',

View File

@ -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',

View File

@ -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',