mirror of
https://github.com/ansible/awx.git
synced 2026-03-05 02:31:03 -03:30
Added has_active_failures to Hosts view under Inventory detail. There is now a Failures column. A red dot (icon-circle) displays for hosts where has_active_failures == true, otherwise the column is empty.
This commit is contained in:
@@ -92,6 +92,16 @@ angular.module('InventoryFormDefinition', [])
|
||||
},
|
||||
description: {
|
||||
label: 'Description'
|
||||
},
|
||||
has_active_failures: {
|
||||
label: 'Failures',
|
||||
showValue: false,
|
||||
ngShow: "\{\{ host.has_active_failures \}\}",
|
||||
icon: 'icon-circle',
|
||||
"class": 'active-failures-\{\{ host.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