mirror of
https://github.com/ansible/awx.git
synced 2026-03-18 17:37:30 -02:30
AC-177 Added status field to Host Summary page. Field shows red/green icon indicating if host failed or succeeded.
This commit is contained in:
@@ -25,7 +25,15 @@ angular.module('JobHostDefinition', [])
|
||||
ngBind: 'jobhost.host_name',
|
||||
ngClick:"showEvents('\{\{ jobhost.summary_fields.host.name \}\}','\{\{ jobhost.related.job \}\}')"
|
||||
},
|
||||
ok: {
|
||||
status: {
|
||||
label: 'Status',
|
||||
icon: 'icon-circle',
|
||||
"class": 'job-\{\{ jobhost.status \}\}',
|
||||
searchField: 'failed',
|
||||
searchType: 'boolean',
|
||||
searchOptions: [{ name: "success", value: 0 }, { name: "error", value: 1 }]
|
||||
},
|
||||
ok: {
|
||||
label: 'Success',
|
||||
searchable: false
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user