mirror of
https://github.com/ansible/awx.git
synced 2026-01-24 07:51:23 -03:30
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:
parent
d9a2acb252
commit
f914482e19
@ -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,
|
||||
|
||||
@ -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'
|
||||
},
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user