From 806e6d143fd0aba88716bcd25eed0d4783400f23 Mon Sep 17 00:00:00 2001
From: Chris Meyers
The host configuration key is: +
The host configuration key is: ${$filter('sanitize')(data.host_config_key)} diff --git a/awx/ui/client/src/templates/job_templates/edit-job-template/job-template-edit.controller.js b/awx/ui/client/src/templates/job_templates/edit-job-template/job-template-edit.controller.js index 83df997d81..a42c089273 100644 --- a/awx/ui/client/src/templates/job_templates/edit-job-template/job-template-edit.controller.js +++ b/awx/ui/client/src/templates/job_templates/edit-job-template/job-template-edit.controller.js @@ -432,14 +432,14 @@ export default ${data.related.callback}
-The host configuration key is: +
The host configuration key is: ${$filter('sanitize')(data.host_config_key)}
`, - 'alert-info', saveCompleted, null, null, + 'alert-danger', saveCompleted, null, null, null, true); } var orgDefer = $q.defer(); From f2d2409c16f0f2eb4a805435277ebf68b7fbdb9a Mon Sep 17 00:00:00 2001 From: Chris MeyersHost callbacks are enabled for this template. The callback URL is:
-- - ${$scope.callback_server_path} - ${data.related.callback} - -
-The host configuration key is: - - ${$filter('sanitize')(data.host_config_key)} - -
-+ + ${$scope.callback_server_path} + ${data.related.callback} + +
+The host configuration key is: + + ${$filter('sanitize')(data.host_config_key)} + +
`, 'alert-danger', saveCompleted, null, null, null, true); } diff --git a/awx/ui/client/src/templates/job_templates/edit-job-template/job-template-edit.controller.js b/awx/ui/client/src/templates/job_templates/edit-job-template/job-template-edit.controller.js index a42c089273..f4df25796b 100644 --- a/awx/ui/client/src/templates/job_templates/edit-job-template/job-template-edit.controller.js +++ b/awx/ui/client/src/templates/job_templates/edit-job-template/job-template-edit.controller.js @@ -423,21 +423,18 @@ export default if (data.related && data.related.callback) { Alert('Callback URL', -` -Host callbacks are enabled for this template. The callback URL is:
-- - ${$scope.callback_server_path} - ${data.related.callback} - -
-The host configuration key is: - - ${$filter('sanitize')(data.host_config_key)} - -
-+ + ${$scope.callback_server_path} + ${data.related.callback} + +
+The host configuration key is: + + ${$filter('sanitize')(data.host_config_key)} + +
`, 'alert-danger', saveCompleted, null, null, null, true);