Inventory refactor: save changes to a host now updates the enabled flag and tool tip on the host list.

This commit is contained in:
Chris Houseknecht
2014-01-13 22:25:05 +00:00
parent 6caa3cfec9
commit b81e7ad967
2 changed files with 9 additions and 5 deletions

View File

@@ -61,7 +61,7 @@ angular.module('InventoryHostsDefinition', [])
},
fieldActions: {
enabled_flag: {
enabled_flag: {
//label: 'Enabled',
iconClass: "\{\{ 'fa icon-enabled-' + host.enabled \}\}",
dataPlacement: 'top',
@@ -69,13 +69,13 @@ angular.module('InventoryHostsDefinition', [])
dataTipWatch: "host.enabledToolTip",
ngClick: "toggleHostEnabled(\{\{ host.id \}\}, \{\{ host.has_inventory_sources \}\})"
},
active_failures: {
active_failures: {
//label: 'Job Status',
awToolTip: "\{\{ host.badgeToolTip \}\}",
dataPlacement: 'top',
iconClass: "\{\{ 'fa icon-failures-' + host.has_active_failures \}\}"
},
edit: {
edit: {
//label: 'Edit',
ngClick: "editHost(\{\{ host.id \}\})",
icon: 'icon-edit',