diff --git a/src/portal/lib/ng-package.json b/src/portal/lib/ng-package.json index 053ada8db..89852ea86 100644 --- a/src/portal/lib/ng-package.json +++ b/src/portal/lib/ng-package.json @@ -8,6 +8,13 @@ "@ngx-translate/core": "ngx-translate-core", "@ngx-translate/core/index": "ngx-translate-core", "ngx-markdown": "ngx-markdown" - } + }, + "umdModuleIds": { + "@clr/angular" : "angular", + "ngx-markdown" : "ngxMarkdown", + "@ngx-translate/http-loader" : "httpLoader", + "ngx-cookie" : "ngxCookie", + "@ngx-translate/core" : "core$1" + } } } \ No newline at end of file diff --git a/src/portal/lib/ng-package.prod.json b/src/portal/lib/ng-package.prod.json index 464fcabd4..85a87a50d 100644 --- a/src/portal/lib/ng-package.prod.json +++ b/src/portal/lib/ng-package.prod.json @@ -7,6 +7,13 @@ "@ngx-translate/core": "ngx-translate-core", "@ngx-translate/core/index": "ngx-translate-core", "ngx-markdown": "ngx-markdown" - } + }, + "umdModuleIds": { + "@clr/angular" : "angular", + "ngx-markdown" : "ngxMarkdown", + "@ngx-translate/http-loader" : "httpLoader", + "ngx-cookie" : "ngxCookie", + "@ngx-translate/core" : "core$1" + } } } \ No newline at end of file diff --git a/src/portal/src/app/project/summary/summary.component.html b/src/portal/src/app/project/summary/summary.component.html index 8f7123cf8..d53588b42 100644 --- a/src/portal/src/app/project/summary/summary.component.html +++ b/src/portal/src/app/project/summary/summary.component.html @@ -3,22 +3,22 @@
{{'SUMMARY.PROJECT_REPOSITORY' | translate}}
{{'SUMMARY.PROJECT_HELM_CHART' | translate}}
{{'SUMMARY.PROJECT_MEMBER' | translate}}
@@ -28,40 +28,40 @@
-
-
+
+ value="{{summaryInformation?.quota?.hard?.count===-1? 0 : summaryInformation?.quota?.used?.count}}" + max="{{summaryInformation?.quota?.hard?.count}}" data-displayval="100%">
+ [class.danger]="summaryInformation?.quota?.hard?.storage!==-1?summaryInformation?.quota?.used?.storage/summaryInformation?.quota?.hard?.storage>0.9:false"> + value="{{summaryInformation?.quota?.hard?.storage===-1? 0 : summaryInformation?.quota?.used?.storage}}" + max="{{summaryInformation?.quota?.hard?.storage}}" data-displayval="100%">