Group and Host variables working.

This commit is contained in:
chouseknecht
2013-05-21 16:13:20 -04:00
parent c238a85581
commit 53212da149
5 changed files with 178 additions and 111 deletions

View File

@@ -378,12 +378,6 @@ function InventoriesEdit ($scope, $rootScope, $compile, $location, $log, $routeP
show: true
});
}
},
vairables: {
label: 'Host Variables',
separator_before: true,
"_disabled": true,
action: function(obj) { }
}
}
}
@@ -392,17 +386,7 @@ function InventoriesEdit ($scope, $rootScope, $compile, $location, $log, $routeP
addGroup: {
label: 'Add Group',
action: function() { changePath($location.path() + '/groups'); }
},
addHost: {
label: 'Add Host',
action: function() { changePath($location.path() + '/hosts'); }
},
variables: {
label: 'Inventory variables',
action: function(obj) { },
"_disabled": true,
separator_before: true
}
}
}
}
else {
@@ -459,14 +443,8 @@ function InventoriesEdit ($scope, $rootScope, $compile, $location, $log, $routeP
show: true
});
},
"_disabled": (nodeType == 'all-hosts-group') ? true : false
},
variables: {
label: 'Group variables',
action: function(obj) { },
"_disabled": true,
separator_before: true
}
"_disabled": (nodeType == 'all-hosts-group') ? true : false
}
}
}
}