kylin-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From shaofeng...@apache.org
Subject kylin git commit: KYLIN-930 list cube realization under each project
Date Fri, 04 Dec 2015 08:37:11 GMT
Repository: kylin
Updated Branches:
  refs/heads/1.x-staging eb692f38e -> 62012ad56


KYLIN-930 list cube realization under each project

Signed-off-by: shaofengshi <shaofengshi@apache.org>


Project: http://git-wip-us.apache.org/repos/asf/kylin/repo
Commit: http://git-wip-us.apache.org/repos/asf/kylin/commit/62012ad5
Tree: http://git-wip-us.apache.org/repos/asf/kylin/tree/62012ad5
Diff: http://git-wip-us.apache.org/repos/asf/kylin/diff/62012ad5

Branch: refs/heads/1.x-staging
Commit: 62012ad564b53c2fa666444977fd21cf1f042f00
Parents: eb692f3
Author: jian <jiatuer@163.com>
Authored: Fri Dec 4 14:16:09 2015 +0800
Committer: shaofengshi <shaofengshi@apache.org>
Committed: Fri Dec 4 16:15:42 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/62012ad5/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>


Mime
View raw message