From ba645f947ec42febc3071196285df9e7ee0892a6 Mon Sep 17 00:00:00 2001 From: Chris Houseknecht Date: Thu, 21 Nov 2013 18:49:06 +0000 Subject: [PATCH] AC-700 fixed lookup dialog titles on job templates page. --- awx/ui/static/js/controllers/JobTemplates.js | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/awx/ui/static/js/controllers/JobTemplates.js b/awx/ui/static/js/controllers/JobTemplates.js index b9f64cd4bc..e279c69a3a 100644 --- a/awx/ui/static/js/controllers/JobTemplates.js +++ b/awx/ui/static/js/controllers/JobTemplates.js @@ -149,7 +149,8 @@ function JobTemplatesAdd ($scope, $rootScope, $compile, $location, $log, $routeP form: form, current_item: null, list: CloudCredentialList, - field: 'cloud_credential' + field: 'cloud_credential', + hdr: 'Select Cloud Credential' }); LookUpInit({ @@ -158,7 +159,8 @@ function JobTemplatesAdd ($scope, $rootScope, $compile, $location, $log, $routeP form: form, current_item: null, list: CredentialList, - field: 'credential' + field: 'credential', + hdr: 'Select Machine Credential' }); // Update playbook select whenever project value changes @@ -444,7 +446,8 @@ function JobTemplatesEdit ($scope, $rootScope, $compile, $location, $log, $route form: form, current_item: scope['cloud_credential'], list: CloudCredentialList, - field: 'cloud_credential' + field: 'cloud_credential', + hdr: 'Select Cloud Credential' }); }); @@ -548,7 +551,8 @@ function JobTemplatesEdit ($scope, $rootScope, $compile, $location, $log, $route form: form, current_item: data.credential, list: CredentialList, - field: 'credential' + field: 'credential', + hdr: 'Select Machine Credential' }); LookUpInit({