From 4a0afd97b09c0a4b3801c7bcc755cde58b4d4f02 Mon Sep 17 00:00:00 2001 From: Jared Tabor Date: Fri, 5 Dec 2014 11:32:28 -0500 Subject: [PATCH] Added org column to custom inv scripts list I added the organization column to the custom inventory scripts list on the scripts modal --- awx/ui/static/js/lists/CustomInventory.js | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/awx/ui/static/js/lists/CustomInventory.js b/awx/ui/static/js/lists/CustomInventory.js index 10e8dbb746..2dae876585 100644 --- a/awx/ui/static/js/lists/CustomInventory.js +++ b/awx/ui/static/js/lists/CustomInventory.js @@ -32,8 +32,17 @@ angular.module('CustomInventoryListDefinition', []) description: { label: 'Description', excludeModal: true, - columnClass: 'col-md-5 hidden-sm hidden-xs' + columnClass: 'col-md-4 hidden-sm hidden-xs' }, + organization: { + label: 'Organization', + ngBind: 'custom_inventory.summary_fields.organization.name', + // linkTo: '/#/organizations/{{ custom_inventory.organization }}', + sourceModel: 'organization', + sourceField: 'name', + excludeModal: true, + columnClass: 'col-md-4 hidden-sm hidden-xs' + } }, actions: {