mirror of
https://github.com/ansible/awx.git
synced 2026-05-19 23:07:42 -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:
@@ -50,6 +50,18 @@ function JobHostSummaryList ($scope, $rootScope, $location, $log, $routeParams,
|
||||
{ hdr: 'Error!', msg: 'Failed to lookup job record for job ' + $routeParams.id + ' GET returned status: ' + status });
|
||||
});
|
||||
};
|
||||
|
||||
scope.refresh = function() {
|
||||
scope.search(list.iterator);
|
||||
}
|
||||
|
||||
scope.jobDetails = function() {
|
||||
$location.path('/jobs/' + $routeParams.id);
|
||||
};
|
||||
|
||||
scope.jobEvents = function() {
|
||||
$location.path('/jobs/' + $routeParams.id + '/job_events');
|
||||
};
|
||||
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user