1
0
mirror of https://github.com/ansible/awx.git synced 2024-10-31 15:21:13 +03:00

tooltip content for inventory scripts form

This commit is contained in:
Jared Tabor 2017-08-18 15:48:34 -04:00
parent 50852e406a
commit 22afd8b044

View File

@ -59,8 +59,7 @@ export default ['i18n', function(i18n) {
ngDisabled: '!(inventory_script_obj.summary_fields.user_capabilities.edit || canAdd)',
ngTrim: false,
rows: 10,
awPopOver: "<p>" + i18n._("Drag and drop your custom inventory script file here or create one in the field to import your custom inventory.") + " " +
"<br><br> " + i18n.sprintf(i18n._("Script must begin with a hashbang sequence: i.e.... %s"), "#!/usr/bin/env python") + "</p>",
awPopOver: i18n._('Drag and drop your custom inventory script file here or create one in the field to import your custom inventory. Refer to the Ansible Tower documentation for example syntax.'),
dataTitle: i18n._('Custom Script'),
dataPlacement: 'right',
dataContainer: "body"