mirror of
https://github.com/ansible/awx.git
synced 2026-05-23 00:37:37 -02:30
On inventory tree widget, has_active_failures turns node text color to red. Checkbox at bottom filters nodes based on value of has_active_failures.
This commit is contained in:
@@ -31,6 +31,16 @@ angular.module('InventoriesListDefinition', [])
|
||||
ngBind: 'inventory.summary_fields.organization.name',
|
||||
sourceModel: 'organization',
|
||||
sourceField: 'name'
|
||||
},
|
||||
has_active_failures: {
|
||||
label: 'Failures',
|
||||
showValue: false,
|
||||
ngShowIcon: "\{\{ inventory.has_active_failures \}\}",
|
||||
icon: 'icon-circle',
|
||||
"class": 'active-failures-\{\{ inventory.has_active_failures \}\}',
|
||||
searchField: 'has_active_failures',
|
||||
searchType: 'boolean',
|
||||
searchOptions: [{ name: "No", value: 0 }, { name: "Yes", value: 1 }]
|
||||
}
|
||||
},
|
||||
|
||||
|
||||
Reference in New Issue
Block a user