Job detail page re-refactor

Host event viewer now calls event viewer. Added search spinner.
This commit is contained in:
Chris Houseknecht
2014-07-09 00:38:07 -04:00
parent fb9b5ae43c
commit f223113cdc
5 changed files with 36 additions and 18 deletions

View File

@@ -1004,15 +1004,16 @@ function JobDetailController ($location, $rootScope, $scope, $compile, $routePar
}
};
scope.hostEventsViewer = function(id, name) {
scope.hostEventsViewer = function(id, name, status) {
HostEventsViewer({
scope: scope,
id: id,
name: name,
url: scope.job.related.job_events
url: scope.job.related.job_events,
job_id: scope.job.id,
status: status
});
};
}
JobDetailController.$inject = [ '$location', '$rootScope', '$scope', '$compile', '$routeParams', '$log', 'ClearScope', 'Breadcrumbs', 'LoadBreadCrumbs', 'GetBasePath',