+ |
+
+ {inventory.pending_deletion ? (
+ {inventory.name}
+ ) : (
+
+ {inventory.name}
+
)}
-
-
+ |
+
+ {inventory.kind !== 'smart' && }
+ |
+
+ {inventory.kind === 'smart'
+ ? i18n._(t`Smart Inventory`)
+ : i18n._(t`Inventory`)}
+ |
+
+
+ {inventory?.summary_fields?.organization?.name}
+
+ |
+ {inventory.total_groups} |
+ {inventory.total_hosts} |
+
+ {inventory.total_inventory_sources}
+ |
+ {inventory.pending_deletion ? (
+
+
+ |
+ ) : (
+
+
+
+
+
+
+
+
+ )}
+
);
}
export default withI18n()(InventoryListItem);
diff --git a/awx/ui_next/src/screens/Inventory/InventoryList/InventoryListItem.test.jsx b/awx/ui_next/src/screens/Inventory/InventoryList/InventoryListItem.test.jsx
index 61c3fe572d..6be246df39 100644
--- a/awx/ui_next/src/screens/Inventory/InventoryList/InventoryListItem.test.jsx
+++ b/awx/ui_next/src/screens/Inventory/InventoryList/InventoryListItem.test.jsx
@@ -9,145 +9,167 @@ jest.mock('../../../api/models/Inventories');
describe('