diff --git a/awx/ui/client/src/inventories-hosts/inventories/standard-inventory/inventory.form.js b/awx/ui/client/src/inventories-hosts/inventories/standard-inventory/inventory.form.js index fa4ed8d106..0562137f9e 100644 --- a/awx/ui/client/src/inventories-hosts/inventories/standard-inventory/inventory.form.js +++ b/awx/ui/client/src/inventories-hosts/inventories/standard-inventory/inventory.form.js @@ -82,7 +82,7 @@ function(i18n, InventoryCompletedJobsList) { instance_groups: { label: i18n._('Instance Groups'), type: 'custom', - awPopOver: "
" + i18n._("Select the Instance Groups for this Inventory to run on.") + "
", + awPopOver: i18n._('Select the Instance Groups for this Inventory to run on. Refer to the Ansible Tower documentation for more detail.'), dataTitle: i18n._('Instance Groups'), dataPlacement: 'right', dataContainer: 'body', @@ -95,14 +95,8 @@ function(i18n, InventoryCompletedJobsList) { class: 'Form-formGroup--fullWidth', rows: 6, "default": "---", - awPopOver: "" + i18n._("Enter inventory variables using either JSON or YAML syntax. Use the radio button to toggle between the two.") + "
" + - "JSON:{\n" + - "YAML:
\"somevar\": \"somevalue\",
\"password\": \"magic\"
}
---\n" + - '
somevar: somevalue
password: magic
' + i18n.sprintf(i18n._('View JSON examples at %s'), 'www.json.org') + '
' + - '' + i18n.sprintf(i18n._('View YAML examples at %s'), 'docs.ansible.com') + '
', - dataTitle: i18n._('Inventory Variables'), + awPopOver: i18n._('Enter inventory variables using either JSON or YAML syntax. Use the radio button to toggle between the two. Refer to the Ansible Tower documentation for example syntax.'), + dataTitle: i18n._('Variables'), dataPlacement: 'right', dataContainer: 'body', ngDisabled: '!(inventory_obj.summary_fields.user_capabilities.edit || canAdd)' // TODO: get working