Repository: kylin
Updated Branches:
  refs/heads/2.0-rc 35052ed37 -> 5e639ee0c


KYLIN-930 list realization under project


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

Branch: refs/heads/2.0-rc
Commit: 5e639ee0c78cbc407f3fb1cd80a68113644c4b9f
Parents: 35052ed
Author: jian <jiazh...@apache.org>
Authored: Mon Dec 7 14:35:04 2015 +0800
Committer: jian <jiazh...@apache.org>
Committed: Mon Dec 7 14:35:24 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/5e639ee0/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..89fbf52 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='models' 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>

Reply via email to