First pass at Job Hosts Summary page. Added link to host detail page. Need to add link to job->host->events.

This commit is contained in:
chouseknecht
2013-05-22 17:53:35 -04:00
parent 45a4ba7743
commit 34994a6736
15 changed files with 160 additions and 16 deletions

View File

@@ -53,9 +53,7 @@ angular.module('PaginateHelper', ['RefreshHelper'])
scope.changePageSize = function(set, iterator) {
// Called when a new page size is selected
scope[iterator + 'Page'] = 0;
console.log(url);
url = url.replace(/\/\?.*$/,'/');
console.log(url);
url += (scope[iterator + 'SearchParams']) ? scope[iterator + 'SearchParams'] + '&page_size=' + scope[iterator + 'PageSize' ] :
'?page_size=' + scope[iterator + 'PageSize' ];
Refresh({ scope: scope, set: set, iterator: iterator, url: url });