mirror of
https://github.com/ansible/awx.git
synced 2026-05-19 23:07:42 -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:
@@ -42,6 +42,11 @@ angular.module('InventoryFormDefinition', [])
|
||||
addRequired: true,
|
||||
editRequired: true,
|
||||
ngClick: 'lookUpOrganization()'
|
||||
},
|
||||
has_active_failures: {
|
||||
label: 'Active Failures',
|
||||
readonly: true,
|
||||
type: 'text'
|
||||
}
|
||||
},
|
||||
|
||||
@@ -96,7 +101,7 @@ angular.module('InventoryFormDefinition', [])
|
||||
has_active_failures: {
|
||||
label: 'Failures',
|
||||
showValue: false,
|
||||
ngShow: "\{\{ host.has_active_failures \}\}",
|
||||
ngShowIcon: "\{\{ host.has_active_failures \}\}",
|
||||
icon: 'icon-circle',
|
||||
"class": 'active-failures-\{\{ host.has_active_failures \}\}',
|
||||
searchField: 'has_active_failures',
|
||||
|
||||
Reference in New Issue
Block a user