Wired up job relaunch for each type of job.

This commit is contained in:
Chris Houseknecht
2014-03-26 12:04:02 -04:00
parent b2f0c1214f
commit b47aed5bdb
5 changed files with 107 additions and 10 deletions

View File

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

View File

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

View File

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