diff --git a/src/portal/src/app/project/list-project/list-project.component.html b/src/portal/src/app/project/list-project/list-project.component.html index 464b57020..f0d2986a5 100644 --- a/src/portal/src/app/project/list-project/list-project.component.html +++ b/src/portal/src/app/project/list-project/list-project.component.html @@ -10,6 +10,7 @@ {{'PROJECT.ACCESS_LEVEL' | translate}} {{'PROJECT.ROLE' | translate}} {{'PROJECT.REPO_COUNT'| translate}} + {{'PROJECT.CHART_COUNT'| translate}} {{'PROJECT.CREATION_TIME' | translate}} @@ -18,6 +19,7 @@ {{ (p.metadata.public === 'true' ? 'PROJECT.PUBLIC' : 'PROJECT.PRIVATE') | translate}} {{roleInfo[p.current_user_role_id] | translate}} {{p.repo_count}} + {{p.chart_count}} {{p.creation_time | date: 'short'}} diff --git a/src/portal/src/app/project/list-project/list-project.component.ts b/src/portal/src/app/project/list-project/list-project.component.ts index fccf8b10c..0d10f614c 100644 --- a/src/portal/src/app/project/list-project/list-project.component.ts +++ b/src/portal/src/app/project/list-project/list-project.component.ts @@ -56,6 +56,7 @@ export class ListProjectComponent implements OnDestroy { roleInfo = RoleInfo; repoCountComparator: Comparator = new CustomComparator("repo_count", "number"); + chartCountComparator: Comparator = new CustomComparator("chart_count", "number"); timeComparator: Comparator = new CustomComparator("creation_time", "date"); accessLevelComparator: Comparator = new CustomComparator("public", "string"); roleComparator: Comparator = new CustomComparator("current_user_role_id", "number"); diff --git a/src/portal/src/app/project/project.ts b/src/portal/src/app/project/project.ts index ff7b66353..7a5df0f96 100644 --- a/src/portal/src/app/project/project.ts +++ b/src/portal/src/app/project/project.ts @@ -41,6 +41,7 @@ export class Project { update_time: Date; current_user_role_id: number; repo_count: number; + chart_count: number; has_project_admin_role: boolean; is_member: boolean; role_name: string; diff --git a/src/portal/src/i18n/lang/en-us-lang.json b/src/portal/src/i18n/lang/en-us-lang.json index 937f2c6a5..81044dc58 100644 --- a/src/portal/src/i18n/lang/en-us-lang.json +++ b/src/portal/src/i18n/lang/en-us-lang.json @@ -153,6 +153,7 @@ "ROLE": "Role", "PUBLIC_OR_PRIVATE": "Access Level", "REPO_COUNT": "Repositories Count", + "CHART_COUNT": "Chart Count", "CREATION_TIME": "Creation Time", "ACCESS_LEVEL": "Access Level", "PUBLIC": "Public", diff --git a/src/portal/src/i18n/lang/es-es-lang.json b/src/portal/src/i18n/lang/es-es-lang.json index bdbe5a498..73e7613a6 100644 --- a/src/portal/src/i18n/lang/es-es-lang.json +++ b/src/portal/src/i18n/lang/es-es-lang.json @@ -154,6 +154,7 @@ "PUBLIC_OR_PRIVATE": "Público", "ACCESS_LEVEL": "Nivel de acceso", "REPO_COUNT": "Contador de repositorios", + "CHART_COUNT": "Chart Count", "CREATION_TIME": "Fecha de creación", "PUBLIC": "Público", "PRIVATE": "Privado", diff --git a/src/portal/src/i18n/lang/fr-fr-lang.json b/src/portal/src/i18n/lang/fr-fr-lang.json index 80b2e7ed9..1ece5b5dc 100644 --- a/src/portal/src/i18n/lang/fr-fr-lang.json +++ b/src/portal/src/i18n/lang/fr-fr-lang.json @@ -139,6 +139,7 @@ "ROLE": "Rôle", "PUBLIC_OR_PRIVATE": "Niveau d'Accès", "REPO_COUNT": "Nombre de dépôts", + "CHART_COUNT": "Chart Count", "CREATION_TIME": "Heure de création", "ACCESS_LEVEL": "Niveau d'Accès", "PUBLIC": "Public", diff --git a/src/portal/src/i18n/lang/pt-br-lang.json b/src/portal/src/i18n/lang/pt-br-lang.json index c955ce6e6..bdb6d8111 100644 --- a/src/portal/src/i18n/lang/pt-br-lang.json +++ b/src/portal/src/i18n/lang/pt-br-lang.json @@ -151,6 +151,7 @@ "ROLE": "Função", "PUBLIC_OR_PRIVATE": "Nível de acesso", "REPO_COUNT": "Quantidade de repositórios", + "CHART_COUNT": "Chart Count", "CREATION_TIME": "Data de criação", "ACCESS_LEVEL": "Nível de acesso", "PUBLIC": "Público", diff --git a/src/portal/src/i18n/lang/zh-cn-lang.json b/src/portal/src/i18n/lang/zh-cn-lang.json index 6ae90794c..cb99b4efb 100644 --- a/src/portal/src/i18n/lang/zh-cn-lang.json +++ b/src/portal/src/i18n/lang/zh-cn-lang.json @@ -152,6 +152,7 @@ "ROLE": "角色", "PUBLIC_OR_PRIVATE": "访问级别", "REPO_COUNT": "镜像仓库数", + "CHART_COUNT": "Helm Chart 数目", "CREATION_TIME": "创建时间", "ACCESS_LEVEL": "访问级别", "PUBLIC": "公开",