diff --git a/awx/ui/static/js/controllers/Home.js b/awx/ui/static/js/controllers/Home.js index 820ef907c9..4173c278e4 100644 --- a/awx/ui/static/js/controllers/Home.js +++ b/awx/ui/static/js/controllers/Home.js @@ -513,11 +513,9 @@ function HomeGroups($log, $scope, $filter, $compile, $location, $routeParams, Lo }); html += "\n"; html += "\n"; - html += "
\n"; } else { - html = "No recent job data available for this inventory.
\n" + - "\n"; + html = "No recent job data available for this inventory.
\n"; } attachElem(event, html, title); }); @@ -549,7 +547,6 @@ function HomeGroups($log, $scope, $filter, $compile, $location, $routeParams, Lo }); html += "\n"; html += "\n"; - html += "\n"; title = "Sync Status"; attachElem(event, html, title); }); diff --git a/awx/ui/static/js/controllers/Inventories.js b/awx/ui/static/js/controllers/Inventories.js index 98161dcba6..b8bbb36c1a 100644 --- a/awx/ui/static/js/controllers/Inventories.js +++ b/awx/ui/static/js/controllers/Inventories.js @@ -205,11 +205,9 @@ function InventoriesList($scope, $rootScope, $location, $log, $routeParams, $com }); html += "\n"; html += "\n"; - html += "\n"; } else { - html = "No recent job data available for this inventory.
\n" + - "\n"; + html = "No recent job data available for this inventory.
\n"; } attachElem(event, html, title); }); @@ -250,7 +248,6 @@ function InventoriesList($scope, $rootScope, $location, $log, $routeParams, $com }); html += "\n"; html += "\n"; - html += "\n"; title = "Sync Status"; attachElem(event, html, title); }); diff --git a/awx/ui/static/js/controllers/JobDetail.js b/awx/ui/static/js/controllers/JobDetail.js index a1a8a9e6de..d2b3d6393a 100644 --- a/awx/ui/static/js/controllers/JobDetail.js +++ b/awx/ui/static/js/controllers/JobDetail.js @@ -90,9 +90,7 @@ function JobDetailController ($location, $rootScope, $scope, $compile, $routePar scope.eventsHelpText = "Successful
\n" + "Changed
\n" + "Unreachable
\n" + - "Failed
\n" + - "\n"; - + "Failed
\n"; function openSocket() { event_socket = Socket({ scope: scope, diff --git a/awx/ui/static/js/helpers/Credentials.js b/awx/ui/static/js/helpers/Credentials.js index 31ac14b160..43bd723f26 100644 --- a/awx/ui/static/js/helpers/Credentials.js +++ b/awx/ui/static/js/helpers/Credentials.js @@ -40,7 +40,7 @@ angular.module('CredentialsHelper', ['Utilities']) scope.key_required = false; // JT -- doing the same for key and project scope.project_required = false; scope.subscription_required = false; - scope.key_description = "Paste the contents of the SSH private key file."; + scope.key_description = "Paste the contents of the SSH private key file."; scope.key_hint= "drag and drop an SSH private key file on the field below"; scope.host_required = false; scope.password_required = false; @@ -68,7 +68,7 @@ angular.module('CredentialsHelper', ['Utilities']) scope.email_required = true; scope.key_required = true; scope.project_required = true; - scope.key_description = 'Paste the contents of the PEM file associated with the service account email. '; + scope.key_description = 'Paste the contents of the PEM file associated with the service account email.'; scope.key_hint= "drag and drop a private key file on the field below"; break; case 'azure': @@ -76,7 +76,7 @@ angular.module('CredentialsHelper', ['Utilities']) scope.sshKeyDataLabel = 'Management Certificate'; scope.subscription_required = true; scope.key_required = true; - scope.key_description = "Paste the contents of the PEM file that corresponds to the certificate you uploaded in the Microsoft Azure console."; + scope.key_description = "Paste the contents of the PEM file that corresponds to the certificate you uploaded in the Microsoft Azure console."; scope.key_hint= "drag and drop a management certificate file on the field below"; break; case 'vmware': diff --git a/awx/ui/static/js/helpers/Groups.js b/awx/ui/static/js/helpers/Groups.js index 6c240530b6..3f09a09546 100644 --- a/awx/ui/static/js/helpers/Groups.js +++ b/awx/ui/static/js/helpers/Groups.js @@ -1439,9 +1439,7 @@ angular.module('GroupsHelper', [ 'RestServices', 'Utilities', 'ListGenerator', ' "the associated groups and hosts will no longer appear in the inventory.\n" + "No recent job data available for this host.
\n" + - "\n"; + html = "No recent job data available for this host.
\n"; } function setMsg(host) { @@ -129,7 +128,6 @@ angular.module('HostsHelper', [ 'RestServices', 'Utilities', 'ListGenerator', 'H } html += "\n"; html += "\n"; - html += "\n"; } else { noRecentJobs(); diff --git a/awx/ui/static/js/helpers/JobSubmission.js b/awx/ui/static/js/helpers/JobSubmission.js index 5b65178856..7b911d1166 100644 --- a/awx/ui/static/js/helpers/JobSubmission.js +++ b/awx/ui/static/js/helpers/JobSubmission.js @@ -453,8 +453,7 @@ function($location, Wait, GetBasePath, LookUpInit, JobTemplateForm, CredentialLi "JSON:{\n" + "YAML:
\"somevar\": \"somevalue\",
\"password\": \"magic\"
}
---\n" + - "\n"; + "
somevar: somevalue
password: magic
---\n"; scope.extra_vars = ParseVariableString(extra_vars); scope.parseType = 'yaml'; diff --git a/awx/ui/static/js/helpers/JobTemplates.js b/awx/ui/static/js/helpers/JobTemplates.js index 5c7d3c483e..734facff1f 100644 --- a/awx/ui/static/js/helpers/JobTemplates.js +++ b/awx/ui/static/js/helpers/JobTemplates.js @@ -47,8 +47,7 @@ angular.module('JobTemplatesHelper', ['Utilities']) scope.callback_server_path + GetBasePath('job_templates') + scope.example_template_id + "/callback/\n" + "
somevar: somevalue
password: magic
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 diff --git a/awx/ui/static/js/lists/Credentials.js b/awx/ui/static/js/lists/Credentials.js index c485f83986..419d383e60 100644 --- a/awx/ui/static/js/lists/Credentials.js +++ b/awx/ui/static/js/lists/Credentials.js @@ -17,8 +17,7 @@ angular.module('CredentialsListDefinition', []) selectTitle: 'Add Credentials', editTitle: 'Credentials', selectInstructions: "Select existing credentials by clicking each credential or checking the related checkbox. When " + - "finished, click the blue Select button, located bottom right.
Create a brand new credential by clicking " + - "the button.
", + "finished, click the blue Select button, located bottom right.Create a brand new credential by clicking ", index: false, hover: true, diff --git a/awx/ui/static/js/lists/CustomInventory.js b/awx/ui/static/js/lists/CustomInventory.js index 3765d53115..15b80b0f51 100644 --- a/awx/ui/static/js/lists/CustomInventory.js +++ b/awx/ui/static/js/lists/CustomInventory.js @@ -16,9 +16,6 @@ angular.module('CustomInventoryListDefinition', []) iterator: 'source_script', //'custom_inventory', selectTitle: 'Add custom inventory', editTitle: 'Custom Inventories', - // selectInstructions: "
Select existing credentials by clicking each credential or checking the related checkbox. When " + - // "finished, click the blue Select button, located bottom right.
Create a brand new credential by clicking " + - // "the button.
", index: false, hover: false, diff --git a/awx/ui/static/js/lists/Organizations.js b/awx/ui/static/js/lists/Organizations.js index d81d497b08..307c874945 100644 --- a/awx/ui/static/js/lists/Organizations.js +++ b/awx/ui/static/js/lists/Organizations.js @@ -17,7 +17,7 @@ angular.module('OrganizationListDefinition', []) selectTitle: 'Add Organizations', selectInstructions: 'Select existing organizations by clicking each organization or checking the related checkbox. When finished, ' + 'click the blue Select button, located bottom right.
Create a new organization by clicking the ' + - ' button.
', + ' button.', editTitle: 'Organizations', hover: true, index: false, diff --git a/awx/ui/static/js/lists/Projects.js b/awx/ui/static/js/lists/Projects.js index b875cc50f7..5772c50804 100644 --- a/awx/ui/static/js/lists/Projects.js +++ b/awx/ui/static/js/lists/Projects.js @@ -17,8 +17,7 @@ angular.module('ProjectsListDefinition', []) selectTitle: 'Add Project', editTitle: 'Projects', selectInstructions: 'Select existing projects by clicking each project or checking the related checkbox. When finished, click the blue ' + - 'Select button, located bottom right.
Create a new project by clicking the button.
'+ - '', + 'Select button, located bottom right.Create a new project by clicking the button.
', index: false, hover: true, @@ -66,34 +65,12 @@ angular.module('ProjectsListDefinition', []) ngClick: 'addProject()', awToolTip: 'Create a new project' }, - /*help: { - awPopOver: "Select existing users by clicking each user or checking the related checkbox. When finished, click the blue ' + 'Select button, located bottom right.
When available, a brand new user can be created by clicking the ' + - ' button.
', + ' button.', index: false, hover: true, diff --git a/awx/ui/static/lib/ansible/generator-helpers.js b/awx/ui/static/lib/ansible/generator-helpers.js index 47d13cff5e..cd0e09b47e 100644 --- a/awx/ui/static/lib/ansible/generator-helpers.js +++ b/awx/ui/static/lib/ansible/generator-helpers.js @@ -42,7 +42,7 @@ angular.module('GeneratorHelpers', []) break; case 'awPopOver': // construct the entire help link - result = "esc or click to close\' "; + result = "