diff --git a/awx/ui/client/src/controllers/Projects.js b/awx/ui/client/src/controllers/Projects.js index 2348a4992e..724902ba6f 100644 --- a/awx/ui/client/src/controllers/Projects.js +++ b/awx/ui/client/src/controllers/Projects.js @@ -294,8 +294,8 @@ export function ProjectsList ($scope, $rootScope, $location, $log, $stateParams, if (data.can_cancel) { $scope.$emit('Cancel_Update', url); } else { - Alert('Cancel Not Allowed', 'Either you do not have access or the SCM update process completed. ' + - 'Click the Refresh button to view the latest status.', 'alert-info', null, null, null, null, true); + Alert('Cancel Not Allowed', '
Either you do not have access or the SCM update process completed. ' + + 'Click the Refresh button to view the latest status.
', 'alert-info', null, null, null, null, true); } }) .error(function (data, status) { @@ -318,8 +318,8 @@ export function ProjectsList ($scope, $rootScope, $location, $log, $stateParams, msg: 'Call to ' + data.related.current_update + ' failed. GET status: ' + status }); }); } else { - Alert('Update Not Found', 'An SCM update does not appear to be running for project: ' + $filter('sanitize')(name) + '. Click the Refresh ' + - 'button to view the latest status.', 'alert-info',undefined,undefined,undefined,undefined,true); + Alert('Update Not Found', '
An SCM update does not appear to be running for project: ' + $filter('sanitize')(name) + '. Click the Refresh ' + + 'button to view the latest status.
', 'alert-info',undefined,undefined,undefined,undefined,true); } }) .error(function (data, status) { @@ -716,7 +716,7 @@ export function ProjectsEdit($scope, $rootScope, $compile, $location, $log, element: '#local-path-select', multiple: false }); - + $scope.scmBranchLabel = ($scope.scm_type.value === 'svn') ? 'Revision #' : 'SCM Branch'; // Initialize related search functions. Doing it here to make sure relatedSets object is populated. diff --git a/awx/ui/client/src/helpers/Groups.js b/awx/ui/client/src/helpers/Groups.js index a39e4c2b5a..fb8ff47f40 100644 --- a/awx/ui/client/src/helpers/Groups.js +++ b/awx/ui/client/src/helpers/Groups.js @@ -89,8 +89,8 @@ angular.module('GroupsHelper', [ 'RestServices', 'Utilities', listGenerator.name if (Empty(group.source)) { // do nothing } else if (Empty(group.status) || group.status === "never updated") { - Alert('No Status Available', 'An inventory sync has not been performed for the selected group. Start the process by ' + - 'clicking the button.', 'alert-info', null, null, null, null, true); + Alert('No Status Available', '
An inventory sync has not been performed for the selected group. Start the process by ' + + 'clicking the button.
', 'alert-info', null, null, null, null, true); } else { Wait('start'); Rest.setUrl(group.related.inventory_source); @@ -1012,8 +1012,8 @@ angular.module('GroupsHelper', [ 'RestServices', 'Utilities', listGenerator.name Alert('Missing Configuration', 'The selected group is not configured for updates. You must first edit the group, provide Source settings, ' + 'and then run an update.', 'alert-info'); } else if (sources_scope.status === 'updating') { - Alert('Update in Progress', 'The inventory update process is currently running for group ' + - $filter('sanitize')(sources_scope.summary_fields.group.name) + '. Use the Refresh button to monitor the status.', 'alert-info', null, null, null, null, true); + Alert('Update in Progress', '
The inventory update process is currently running for group ' + + $filter('sanitize')(sources_scope.summary_fields.group.name) + '. Use the Refresh button to monitor the status.
', 'alert-info', null, null, null, null, true); } else { InventoryUpdate({ scope: parent_scope, diff --git a/awx/ui/client/src/helpers/JobSubmission.js b/awx/ui/client/src/helpers/JobSubmission.js index 5cbb426ade..9067603e97 100644 --- a/awx/ui/client/src/helpers/JobSubmission.js +++ b/awx/ui/client/src/helpers/JobSubmission.js @@ -216,8 +216,8 @@ function($compile, CreateDialog, Wait, ParseTypeChange) { $location.path('/projects'); } if (scope.socketStatus === 'error') { - Alert('Update Started', 'The request to start the SCM update process was submitted. ' + - 'To monitor the update status, refresh the page by clicking the button.', 'alert-info', null, null, null, null, true); + Alert('Update Started', '
The request to start the SCM update process was submitted. ' + + 'To monitor the update status, refresh the page by clicking the button.
', 'alert-info', null, null, null, null, true); if (scope.refresh) { scope.refresh(); } @@ -281,8 +281,8 @@ function($compile, CreateDialog, Wait, ParseTypeChange) { scope.removeUpdateSubmitted = scope.$on('UpdateSubmitted', function () { Wait('stop'); if (scope.socketStatus === 'error') { - Alert('Sync Started', 'The request to start the inventory sync process was submitted. ' + - 'To monitor the status refresh the page by clicking the button.', 'alert-info', null, null, null, null, true); + Alert('Sync Started', '
The request to start the inventory sync process was submitted. ' + + 'To monitor the status refresh the page by clicking the button.
', 'alert-info', null, null, null, null, true); if (scope.refreshGroups) { // inventory detail page scope.refreshGroups(); diff --git a/awx/ui/client/src/job-templates/add/job-templates-add.controller.js b/awx/ui/client/src/job-templates/add/job-templates-add.controller.js index 6d819a0833..e70a46d6f2 100644 --- a/awx/ui/client/src/job-templates/add/job-templates-add.controller.js +++ b/awx/ui/client/src/job-templates/add/job-templates-add.controller.js @@ -345,20 +345,20 @@ 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)} - -

-`, +`
+

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)} + +

+
`, 'alert-info', saveCompleted, null, null, null, true); } diff --git a/awx/ui/client/src/job-templates/edit/job-templates-edit.controller.js b/awx/ui/client/src/job-templates/edit/job-templates-edit.controller.js index 4ce6b6c0d1..1319afe3eb 100644 --- a/awx/ui/client/src/job-templates/edit/job-templates-edit.controller.js +++ b/awx/ui/client/src/job-templates/edit/job-templates-edit.controller.js @@ -492,18 +492,20 @@ export default 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)} - -

+
+

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)} + +

+
`, 'alert-info', saveCompleted, null, null, null, true); diff --git a/awx/ui/client/src/organizations/linkout/controllers/organizations-projects.controller.js b/awx/ui/client/src/organizations/linkout/controllers/organizations-projects.controller.js index b87be7045e..406a1d1b78 100644 --- a/awx/ui/client/src/organizations/linkout/controllers/organizations-projects.controller.js +++ b/awx/ui/client/src/organizations/linkout/controllers/organizations-projects.controller.js @@ -270,8 +270,8 @@ export default ['$scope', '$rootScope', '$location', '$log', if (data.can_cancel) { $scope.$emit('Cancel_Update', url); } else { - Alert('Cancel Not Allowed', 'Either you do not have access or the SCM update process completed. ' + - 'Click the Refresh button to view the latest status.', 'alert-info', null, null, null, null, true); + Alert('Cancel Not Allowed', '
Either you do not have access or the SCM update process completed. ' + + 'Click the Refresh button to view the latest status.
', 'alert-info', null, null, null, null, true); } }) .error(function (data, status) { @@ -294,8 +294,8 @@ export default ['$scope', '$rootScope', '$location', '$log', msg: 'Call to ' + data.related.current_update + ' failed. GET status: ' + status }); }); } else { - Alert('Update Not Found', 'An SCM update does not appear to be running for project: ' + $filter('sanitize')(name) + '. Click the Refresh ' + - 'button to view the latest status.', 'alert-info',undefined,undefined,undefined,undefined,true); + Alert('Update Not Found', '
An SCM update does not appear to be running for project: ' + $filter('sanitize')(name) + '. Click the Refresh ' + + 'button to view the latest status.
', 'alert-info',undefined,undefined,undefined,undefined,true); } }) .error(function (data, status) {