This is an automated email from the ASF dual-hosted git repository.
shaofengshi pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/kylin.git
The following commit(s) were added to refs/heads/master by this push:
new 0b9456c KYLIN-4585 Add cube count column for project table (#1277)
0b9456c is described below
commit 0b9456c94e33f333f0b1ebbd3711b50143cc239a
Author: tianhui5 <[email protected]>
AuthorDate: Sat Aug 22 10:00:35 2020 +0800
KYLIN-4585 Add cube count column for project table (#1277)
Co-authored-by: tianhui5 <[email protected]>
---
webapp/app/js/model/projectConfig.js | 1 +
webapp/app/partials/projects/projects.html | 1 +
2 files changed, 2 insertions(+)
diff --git a/webapp/app/js/model/projectConfig.js
b/webapp/app/js/model/projectConfig.js
index 6bd90a9..0fad011 100644
--- a/webapp/app/js/model/projectConfig.js
+++ b/webapp/app/js/model/projectConfig.js
@@ -21,6 +21,7 @@ KylinApp.constant('projectConfig', {
{attr: 'name', name: 'Name'},
{attr: 'owner', name: 'Owner'},
{attr: 'description', name: 'Description'},
+ {attr: 'realizations.length', name: '#Cubes'},
{attr: 'create_time_utc', name: 'Create Time'}
]
diff --git a/webapp/app/partials/projects/projects.html
b/webapp/app/partials/projects/projects.html
index 29126ce..9daa983 100644
--- a/webapp/app/partials/projects/projects.html
+++ b/webapp/app/partials/projects/projects.html
@@ -55,6 +55,7 @@
</td>
<td>{{ project.owner}}</td>
<td>{{ project.description}}</td>
+ <td>{{ project.realizations.length}}</td>
<td>{{ project.create_time_utc | utcToConfigTimeZone}}</td>
<td>
<button class="btn btn-xs btn-info"
ng-click="toEdit(project)" tooltip="Edit"