From 736df410e63c82d7498ad100b8fbd9b9657ff7eb Mon Sep 17 00:00:00 2001 From: mabashian Date: Tue, 25 Jul 2017 11:29:45 -0400 Subject: [PATCH 1/2] Updated smart hosts popover contents --- .../inventories/smart-inventory/smart-inventory.form.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 494cb00cd6..98d8a08eef 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._("Filter that will be applied to the hosts of this inventory.") + "

", + awPopOver: "

" + i18n._("Populate the hosts for this inventory by using a search filter. Refer to the Ansible Tower documentation for syntax and examples.") + "

", dataTitle: i18n._('Smart Host Filter'), dataPlacement: 'right', dataContainer: 'body', From 763dcbd93e5cdc3a14e01c7ad17b047151f92fd8 Mon Sep 17 00:00:00 2001 From: mabashian Date: Tue, 1 Aug 2017 09:31:49 -0400 Subject: [PATCH 2/2] Added host fact search example to host filter popover --- .../inventories/smart-inventory/smart-inventory.form.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 98d8a08eef..920a09a11e 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. Refer to the Ansible Tower documentation for syntax and examples.") + "

", + 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.") + "

", dataTitle: i18n._('Smart Host Filter'), dataPlacement: 'right', dataContainer: 'body',