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:
Jared Tabor 2015-08-19 13:24:18 -07:00
parent e80dcd9645
commit 9c294f6cc8
2 changed files with 5 additions and 5 deletions

View File

@ -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'",

View File

@ -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;