mirror of
https://github.com/ansible/awx.git
synced 2026-01-29 07:14:43 -03:30
Changing 'source_script' to 'inventory_script' on groups modal.
In the demodalification of the custom inventory source modal, I switched to using the naming convention "inventory_source" instead of the original "source_script" title we dubbed it when we started developing the feature. I felt that changing the naming convention better aligned with what is presented in the UI. This change continues to keep the naming convention consistent in the UI.
This commit is contained in:
parent
e80dcd9645
commit
9c294f6cc8
@ -3,7 +3,7 @@
|
||||
*
|
||||
* All Rights Reserved
|
||||
*************************************************/
|
||||
|
||||
|
||||
/**
|
||||
* @ngdoc function
|
||||
* @name forms.function:Source
|
||||
@ -108,14 +108,14 @@ export default
|
||||
"</ul><p>If blank, all groups above are created except <em>Instance ID</em>.</p>",
|
||||
dataContainer: 'body'
|
||||
},
|
||||
source_script: {
|
||||
inventory_script: {
|
||||
label : "Custom Inventory Script",
|
||||
labelClass: 'prepend-asterisk',
|
||||
type: 'lookup',
|
||||
ngShow: "source && source.value === 'custom'",
|
||||
sourceModel: 'source_script',
|
||||
sourceModel: 'inventory_script',
|
||||
sourceField: 'name',
|
||||
ngClick: 'lookUpSource_script()' ,
|
||||
ngClick: 'lookUpInventory_script()' ,
|
||||
addRequired: false,
|
||||
editRequired: false,
|
||||
ngRequired: "source && source.value === 'custom'",
|
||||
|
||||
@ -290,7 +290,7 @@ angular.module('GroupsHelper', [ 'RestServices', 'Utilities', listGenerator.name
|
||||
form: form,
|
||||
hdr: "Select Custom Inventory",
|
||||
list: inventoryScriptsListObject,
|
||||
field: 'source_script',
|
||||
field: 'inventory_script',
|
||||
input_type: 'radio'
|
||||
});
|
||||
scope.extra_vars = (Empty(scope.source_vars)) ? "---" : scope.source_vars;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user