mirror of
https://github.com/ansible/awx.git
synced 2026-05-17 22:37:41 -02:30
Group and Host variables working.
This commit is contained in:
@@ -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
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user