AC-378 applied new sort routine to inventory groups page.

This commit is contained in:
chouseknecht
2013-09-02 01:29:51 -04:00
parent d9ba08e8cb
commit cde035f06d
5 changed files with 47 additions and 22 deletions
+2
View File
@@ -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' },