mirror of
https://github.com/ansible/awx.git
synced 2026-02-18 11:40:05 -03:30
Synced code between list view and related list view. Column displaying icon with text rather than actual value (i.e. true/false for has_active_failures) works consistently. Changed icon and text for our has_active_failures column -preparing it to link to hosts/N/job_events data.
This commit is contained in:
@@ -96,14 +96,16 @@ angular.module('InventoryFormDefinition', [])
|
||||
ngClick: "editHost(\{\{ host.id \}\}, '\{\{ host.name \}\}')"
|
||||
},
|
||||
description: {
|
||||
label: 'Description'
|
||||
label: 'Description',
|
||||
ngClick: "editHost(\{\{ host.id \}\}, '\{\{ host.name \}\}')"
|
||||
},
|
||||
has_active_failures: {
|
||||
label: 'Failures',
|
||||
showValue: false,
|
||||
ngShowIcon: "\{\{ host.has_active_failures \}\}",
|
||||
icon: 'icon-circle',
|
||||
ngShow: "\{\{ host.has_active_failures \}\}",
|
||||
icon: 'icon-exclamation-sign',
|
||||
"class": 'active-failures-\{\{ host.has_active_failures \}\}',
|
||||
text: 'Failed events',
|
||||
searchField: 'has_active_failures',
|
||||
searchType: 'boolean',
|
||||
searchOptions: [{ name: "No", value: 0 }, { name: "Yes", value: 1 }]
|
||||
|
||||
Reference in New Issue
Block a user