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