Changed 'Cleanup Job' to name of cleanup job ran

on the modal that prompts the user for number of days of data to keep, I changed the title of the modal to say the name of the job being run.
This commit is contained in:
Jared Tabor 2015-02-02 20:58:49 -05:00
parent d9a2acb252
commit f914482e19
2 changed files with 3 additions and 3 deletions

View File

@ -136,12 +136,12 @@ angular.module('ConfigureTowerHelper', [ 'Utilities', 'RestServices', 'Schedules
}
};
scope.submitJob = function (id) {
scope.submitJob = function (id, name) {
Wait('start');
defaultUrl = GetBasePath('system_job_templates')+id+'/launch/';
CreateDialog({
id: 'prompt-for-days' ,
title: "Cleanup Job",
title: name,
scope: scope,
width: 500,
height: 300,

View File

@ -34,7 +34,7 @@ angular.module('ConfigureTowerJobsListDefinition', [])
submit: {
label: 'Launch',
mode: 'all',
ngClick: 'submitJob(configure_job.id)',
ngClick: 'submitJob(configure_job.id, configure_job.name)',
awToolTip: 'Start a job using this template',
dataPlacement: 'top'
},