AC-983 long group names, AC-970 don't hightlight required fields in red, AC-966 fixed ansibleworks links to point to ansible, AC-733 new pagination widget, page and total rows.

This commit is contained in:
Chris Houseknecht
2014-01-28 01:02:34 -05:00
parent 27fb54b2a7
commit cb8ec978de
30 changed files with 397 additions and 426 deletions
+2 -7
View File
@@ -129,7 +129,7 @@ function InventoriesList ($scope, $rootScope, $location, $log, $routeParams, Res
}
});
scope.showActivity = function() { Stream(); }
scope.showActivity = function() { Stream({ scope: scope }); }
scope.addInventory = function() {
$location.path($location.path() + '/add');
@@ -500,15 +500,10 @@ function InventoriesEdit ($scope, $location, $routeParams, $compile, GenerateLis
$scope.toggleHostEnabled = function(host_id, external_source) {
ToggleHostEnabled({ scope: $scope, host_id: host_id, external_source: external_source });
}
$scope.showHostActivity = function() {
var url = GetBasePath('activity_stream') + '?host__inventory__id=' + $scope.inventory_id;
Stream({ inventory_name: $scope.inventory_name, url: url });
}
$scope.showGroupActivity = function() {
var url = GetBasePath('activity_stream') + '?group__inventory__id=' + $scope.inventory_id;
Stream({ inventory_name: $scope.inventory_name, url: url });
Stream({ scope: $scope, inventory_name: $scope.inventory_name, url: url });
}
$scope.showJobSummary = function(job_id) {