Repository: eagle Updated Branches: refs/heads/master ac5776750 -> 67c170f93
[MINOR] add N/A of jpm widget add tip of N/A if jpm not get data Author: zombieJ <[email protected]> Closes #803 from zombieJ/minor. Project: http://git-wip-us.apache.org/repos/asf/eagle/repo Commit: http://git-wip-us.apache.org/repos/asf/eagle/commit/67c170f9 Tree: http://git-wip-us.apache.org/repos/asf/eagle/tree/67c170f9 Diff: http://git-wip-us.apache.org/repos/asf/eagle/diff/67c170f9 Branch: refs/heads/master Commit: 67c170f9354a56a65efc31ed0413abc75724bb88 Parents: ac57767 Author: zombieJ <[email protected]> Authored: Wed Feb 15 17:15:30 2017 +0800 Committer: zombieJ <[email protected]> Committed: Wed Feb 15 17:15:30 2017 +0800 ---------------------------------------------------------------------- .../src/main/webapp/app/apps/jpm/widget/jobStatistic.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/eagle/blob/67c170f9/eagle-jpm/eagle-jpm-web/src/main/webapp/app/apps/jpm/widget/jobStatistic.js ---------------------------------------------------------------------- diff --git a/eagle-jpm/eagle-jpm-web/src/main/webapp/app/apps/jpm/widget/jobStatistic.js b/eagle-jpm/eagle-jpm-web/src/main/webapp/app/apps/jpm/widget/jobStatistic.js index 1572d5e..98bd9d0 100644 --- a/eagle-jpm/eagle-jpm-web/src/main/webapp/app/apps/jpm/widget/jobStatistic.js +++ b/eagle-jpm/eagle-jpm-web/src/main/webapp/app/apps/jpm/widget/jobStatistic.js @@ -79,7 +79,7 @@ '<a ui-sref="jpmList({siteId: site.siteId})">' + '<strong>{{site.siteName}}</strong>: ' + '<span ng-show="site.count === -1" class="fa fa-refresh fa-spin no-animate"></span>' + - '<span ng-show="site.count !== -1">{{site.count}}</span> Running Jobs' + + '<span ng-show="site.count !== -1">{{site.count || "N/A"}}</span> Running Jobs' + '</a>' + '</p>' + '</div>' +
