mirror of
https://github.com/ansible/awx.git
synced 2026-05-10 02:47:36 -02:30
Added buttons to top of Job Events, Job Details and Job Host Summary pages to link everything together and provide a Refresh action.
This commit is contained in:
@@ -59,6 +59,19 @@ function JobEventsList ($scope, $rootScope, $location, $log, $routeParams, Rest,
|
||||
});
|
||||
};
|
||||
}
|
||||
|
||||
scope.refresh = function() {
|
||||
scope.search(list.iterator);
|
||||
}
|
||||
|
||||
scope.jobDetails = function() {
|
||||
$location.path('/jobs/' + $routeParams.id);
|
||||
};
|
||||
|
||||
scope.jobSummary = function() {
|
||||
$location.path('/jobs/' + $routeParams.id + '/job_host_summaries');
|
||||
};
|
||||
|
||||
}
|
||||
|
||||
JobEventsList.$inject = [ '$scope', '$rootScope', '$location', '$log', '$routeParams', 'Rest', 'Alert', 'JobEventList',
|
||||
|
||||
Reference in New Issue
Block a user