mirror of
https://github.com/ansible/awx.git
synced 2026-01-21 14:38:00 -03:30
Style/label tweaks to Hosts section of Inventory detail page.
This commit is contained in:
parent
f0a0a69ec7
commit
5851d678bb
@ -119,13 +119,13 @@ angular.module('InventoryFormDefinition', [])
|
||||
ngClick: "editHost(\{\{ host.id \}\}, '\{\{ host.name \}\}')"
|
||||
},
|
||||
has_active_failures: {
|
||||
label: 'Failures',
|
||||
label: 'Failed jobs?',
|
||||
showValue: false,
|
||||
ngClick: "showEvents('\{\{ host.name \}\}', '\{\{ host.related.last_job \}\}')",
|
||||
ngShow: "\{\{ host.has_active_failures \}\}",
|
||||
icon: 'icon-exclamation-sign',
|
||||
"class": 'active-failures-\{\{ host.has_active_failures \}\}',
|
||||
text: 'Failed events',
|
||||
text: 'View failures',
|
||||
searchField: 'has_active_failures',
|
||||
searchType: 'boolean',
|
||||
searchOptions: [{ name: "No", value: 0 }, { name: "Yes", value: 1 }]
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user