From 2908a0c2bd6883fc471085651c670019987720be Mon Sep 17 00:00:00 2001 From: mabashian Date: Wed, 16 Aug 2017 10:45:23 -0400 Subject: [PATCH] Changed smart host filter help text from RHEL to RedHat. Removed rogue console.log --- .../inventories/smart-inventory/smart-inventory.form.js | 2 +- .../job_templates/factories/callback-help-init.factory.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/awx/ui/client/src/inventories-hosts/inventories/smart-inventory/smart-inventory.form.js b/awx/ui/client/src/inventories-hosts/inventories/smart-inventory/smart-inventory.form.js index 4e10b6b6ab..2eb4f3b10a 100644 --- a/awx/ui/client/src/inventories-hosts/inventories/smart-inventory/smart-inventory.form.js +++ b/awx/ui/client/src/inventories-hosts/inventories/smart-inventory/smart-inventory.form.js @@ -65,7 +65,7 @@ export default ['i18n', 'InventoryCompletedJobsList', function(i18n, InventoryCo label: i18n._('Smart Host Filter'), type: 'custom', control: '', - awPopOver: "

" + i18n._("Populate the hosts for this inventory by using a search filter.") + "

" + i18n._("Example: ansible_facts.ansible_distribution:\"RHEL\"") + "

" + i18n._("Refer to the Ansible Tower documentation for further syntax and examples.") + "

", + awPopOver: "

" + i18n._("Populate the hosts for this inventory by using a search filter.") + "

" + i18n._("Example: ansible_facts.ansible_distribution:\"RedHat\"") + "

" + i18n._("Refer to the Ansible Tower documentation for further syntax and examples.") + "

", dataTitle: i18n._('Smart Host Filter'), dataPlacement: 'right', dataContainer: 'body', diff --git a/awx/ui/client/src/templates/job_templates/factories/callback-help-init.factory.js b/awx/ui/client/src/templates/job_templates/factories/callback-help-init.factory.js index 5be4d4fc55..d0eada857c 100644 --- a/awx/ui/client/src/templates/job_templates/factories/callback-help-init.factory.js +++ b/awx/ui/client/src/templates/job_templates/factories/callback-help-init.factory.js @@ -160,7 +160,7 @@ export default scope.selectedCredentials = selectedCredentials; scope.credential_types = credTypes; scope.credentialTypeOptions = credTypeOptions; - scope.credentialsToPost = credTags;console.log(credTags); + scope.credentialsToPost = credTags; scope.$emit('jobTemplateLoaded', master); }); }