Repository: kylin Updated Branches: refs/heads/2.x-staging 5d16f9bf6 -> 935533aa6
KYLIN-930 list cube realization under each project Signed-off-by: shaofengshi <[email protected]> Project: http://git-wip-us.apache.org/repos/asf/kylin/repo Commit: http://git-wip-us.apache.org/repos/asf/kylin/commit/935533aa Tree: http://git-wip-us.apache.org/repos/asf/kylin/tree/935533aa Diff: http://git-wip-us.apache.org/repos/asf/kylin/diff/935533aa Branch: refs/heads/2.x-staging Commit: 935533aa63d8856543a2312fb3da433ca65a3e09 Parents: 5d16f9b Author: jian <[email protected]> Authored: Fri Dec 4 14:16:09 2015 +0800 Committer: shaofengshi <[email protected]> Committed: Fri Dec 4 17:18:47 2015 +0800 ---------------------------------------------------------------------- webapp/app/partials/projects/project_detail.html | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/kylin/blob/935533aa/webapp/app/partials/projects/project_detail.html ---------------------------------------------------------------------- diff --git a/webapp/app/partials/projects/project_detail.html b/webapp/app/partials/projects/project_detail.html index 35c8ef0..2644f08 100644 --- a/webapp/app/partials/projects/project_detail.html +++ b/webapp/app/partials/projects/project_detail.html @@ -32,7 +32,7 @@ <div class="col-xs-10"> <div class="space-8"></div> - <table ng-if="project.cubes.length > 0" class="table table-striped table-hover" > + <table ng-if="project.realizations.length > 0" class="table table-striped table-hover" > <thead> <tr> <th>Cube Name</th> @@ -40,14 +40,14 @@ </tr> </thead> <tbody> - <tr ng-repeat="cube in project.cubes" > - <td>{{cube}}</td> - <td><a href='/cubes/{{project.name}}/{{cube}}?showDetail=true' style="color: #428BCA">Detail</a></td> + <tr ng-repeat="item in project.realizations" ng-if="item.type=='CUBE'"> + <td>{{item.realization}}</td> + <td><a href='cubes/{{project.name}}/{{item.realization}}' style="color: #428BCA">Detail</a></td> </tr> </tbody> </table> </div> - <div no-result ng-if="project.cubes.length == 0"></div> + <div no-result ng-if="project.realizations.length == 0"></div> <div class="col-xs-1"></div> </div> </div>
