AC-547 dropped Description from Inventory page and moved Organization next to Name.

This commit is contained in:
chouseknecht
2013-10-14 14:51:23 +00:00
parent 0e0432241d
commit 78c9bbf168

View File

@@ -23,9 +23,13 @@ angular.module('InventoriesListDefinition', [])
key: true, key: true,
label: 'Name' label: 'Name'
}, },
description: { organization: {
label: 'Description', label: 'Organization',
link: true ngBind: 'inventory.summary_fields.organization.name',
linkTo: '/#/organizations/{{ inventory.organization }}',
sourceModel: 'organization',
sourceField: 'name',
excludeModal: true
}, },
hosts_with_active_failures: { hosts_with_active_failures: {
label: 'Hosts with<br>Failed Job?', label: 'Hosts with<br>Failed Job?',
@@ -49,14 +53,6 @@ angular.module('InventoriesListDefinition', [])
searchable: false, searchable: false,
nosort: true nosort: true
}, },
organization: {
label: 'Organization',
ngBind: 'inventory.summary_fields.organization.name',
linkTo: '/#/organizations/{{ inventory.organization }}',
sourceModel: 'organization',
sourceField: 'name',
excludeModal: true
},
has_inventory_sources: { has_inventory_sources: {
label: 'Has external sources?', label: 'Has external sources?',
searchSingleValue: true, searchSingleValue: true,