diff --git a/awx/ui/static/js/forms/JobTemplates.js b/awx/ui/static/js/forms/JobTemplates.js
index 4e7c073b30..ef25a2c86f 100644
--- a/awx/ui/static/js/forms/JobTemplates.js
+++ b/awx/ui/static/js/forms/JobTemplates.js
@@ -5,13 +5,13 @@
* Form definition for Job Template model
*
* To get the JobTemplateForm object: JobTemplateForm();
- *
+ *
*/
'use strict';
angular.module('JobTemplateFormDefinition', ['SchedulesListDefinition', 'CompletedJobsDefinition'])
-
+
.value ('JobTemplateFormObject', {
addTitle: 'Create Job Templates',
@@ -231,7 +231,7 @@ angular.module('JobTemplateFormDefinition', ['SchedulesListDefinition', 'Complet
dataContainer: "body"
},
allow_callbacks: {
- label: 'Allow Callbacks',
+ label: 'Allow Provisioning Callbacks',
type: 'checkbox',
addRequired: false,
editRequird: false,
@@ -239,14 +239,14 @@ angular.module('JobTemplateFormDefinition', ['SchedulesListDefinition', 'Complet
falseValue: 'false',
ngChange: "toggleCallback('host_config_key')",
column: 2,
- awPopOver: "
Enable creation of a callback URL. With a callback URL a host can contact Tower and request a configuration update " +
+ awPopOver: "
Enables creation of a provisioning callback URL. Using the URL a host can contact Tower and request a configuration update " +
"using this job template.
",
dataPlacement: 'right',
- dataTitle: 'Allow Callbacks',
+ dataTitle: 'Allow Provisioning Callbacks',
dataContainer: "body"
},
callback_url: {
- label: 'Callback URL',
+ label: 'Provisioning Callback URL',
type: 'text',
addRequired: false,
editRequired: false,
@@ -256,7 +256,7 @@ angular.module('JobTemplateFormDefinition', ['SchedulesListDefinition', 'Complet
awPopOver: "callback_help",
awPopOverWatch: "callback_help",
dataPlacement: 'right',
- dataTitle: 'Callback URL',
+ dataTitle: 'Provisioning Callback URL',
dataContainer: "body"
},
host_config_key: {
@@ -274,7 +274,7 @@ angular.module('JobTemplateFormDefinition', ['SchedulesListDefinition', 'Complet
}
},
- buttons: { //for now always generates tags
+ buttons: { //for now always generates tags
save: {
ngClick: 'formSave()', //$scope.function to call on click, optional
ngDisabled: true //Disable when $pristine or $invalid, optional
@@ -286,7 +286,7 @@ angular.module('JobTemplateFormDefinition', ['SchedulesListDefinition', 'Complet
},
related: {
-
+
schedules: {
include: "SchedulesList"
},
diff --git a/awx/ui/static/js/helpers/JobTemplates.js b/awx/ui/static/js/helpers/JobTemplates.js
index 6565bc6b49..e302a081ff 100644
--- a/awx/ui/static/js/helpers/JobTemplates.js
+++ b/awx/ui/static/js/helpers/JobTemplates.js
@@ -17,19 +17,20 @@ angular.module('JobTemplatesHelper', ['Utilities'])
*/
.factory('CallbackHelpInit', ['$location', 'GetBasePath', function($location, GetBasePath) {
return function(params) {
-
+
var scope = params.scope;
-
+
// The form uses awPopOverWatch directive to 'watch' scope.callback_help for changes. Each time the
// popover is activated, a function checks the value of scope.callback_help before constructing the content.
scope.setCallbackHelp = function() {
- scope.callback_help = "With a callback URL and a host config key a host can contact Tower and request a configuration update using this job " +
+ scope.callback_help = "
With a provisioning callback URL and a host config key a host can contact Tower and request a configuration update using this job " +
"template. The request from the host must be a POST. Here is an example using curl:
\n" +
"curl --data \"host_config_key=\"" + scope.example_config_key + "\" " +
scope.callback_server_path + GetBasePath('job_templates') + scope.example_template_id + "/callback/ \n" +
"Note the requesting host must be defined in the inventory associated with the job template. If Tower fails to " +
"locate the host, the request will be denied.
" +
- "Successful requests create an entry on the Jobs page, where results and history can be viewed.
";
+ "Successful requests create an entry on the Jobs page, where results and history can be viewed.
" +
+ "";
};
// The md5 helper emits NewMD5Generated whenever a new key is available