mirror of
https://github.com/ZwareBear/awx.git
synced 2026-05-14 15:58:38 -05:00
AC-378 applied new sort routine to inventory groups page.
This commit is contained in:
@@ -39,6 +39,8 @@ angular.module('InventoryHostsFormDefinition', [])
|
||||
"class": "btn-sm",
|
||||
//ngDisabled: 'host.last_job == null',
|
||||
options: [
|
||||
{ ngClick: 'allJobs()', label: 'All jobs', ngShow: 'host.last_job' },
|
||||
{ ngClick: 'allSummaries()', label: 'All host summaries', ngShow: 'host.last_job' },
|
||||
{ ngClick: 'viewJobs(\{\{ host.last_job \}\})', label: 'Latest job', ngShow: 'host.last_job' },
|
||||
{ ngClick: "viewLastEvents(\{\{ host.id \}\}, '\{\{ host.last_job \}\}', '\{\{ host.name \}\}', " +
|
||||
"'\{\{ host.summary_fields.last_job.name \}\}')", label: 'Latest job events', ngShow: 'host.last_job' },
|
||||
|
||||
Reference in New Issue
Block a user