From b66c5d05cd9c19785ccafba1f2918faf704bd1cb Mon Sep 17 00:00:00 2001 From: Yogi_Wang Date: Fri, 9 Aug 2019 12:49:14 +0800 Subject: [PATCH] Add pull-time and push time in repositories image Signed-off-by: Yogi_Wang --- src/portal/lib/src/tag/tag.component.html | 4 ++++ src/portal/src/i18n/lang/en-us-lang.json | 2 ++ src/portal/src/i18n/lang/es-es-lang.json | 2 ++ src/portal/src/i18n/lang/fr-fr-lang.json | 2 ++ src/portal/src/i18n/lang/pt-br-lang.json | 2 ++ src/portal/src/i18n/lang/zh-cn-lang.json | 2 ++ 6 files changed, 14 insertions(+) diff --git a/src/portal/lib/src/tag/tag.component.html b/src/portal/lib/src/tag/tag.component.html index 30e1af20d..362030eb2 100644 --- a/src/portal/lib/src/tag/tag.component.html +++ b/src/portal/lib/src/tag/tag.component.html @@ -85,6 +85,8 @@ {{'REPOSITORY.CREATED' | translate}} {{'REPOSITORY.DOCKER_VERSION' | translate}} {{'REPOSITORY.LABELS' | translate}} + {{'REPOSITORY.PULL_TIME' | translate}} + {{'REPOSITORY.PUSH_TIME' | translate}} {{'TAG.PLACEHOLDER' | translate }} @@ -123,6 +125,8 @@ + {{t.pull_time | date: 'short'}} + {{t.push_time | date: 'short'}} {{pagination.firstItem + 1}} - {{pagination.lastItem + 1}} {{'REPOSITORY.OF' | translate}} {{pagination.totalItems}} {{'REPOSITORY.ITEMS' | translate}}     diff --git a/src/portal/src/i18n/lang/en-us-lang.json b/src/portal/src/i18n/lang/en-us-lang.json index a7149b21a..2a1005412 100644 --- a/src/portal/src/i18n/lang/en-us-lang.json +++ b/src/portal/src/i18n/lang/en-us-lang.json @@ -575,6 +575,8 @@ "TAGS_COUNT": "Tags", "PULL_COUNT": "Pulls", "PULL_COMMAND": "Pull Command", + "PULL_TIME": "Pull Time", + "PUSH_TIME": "Push Time", "MY_REPOSITORY": "My Repository", "PUBLIC_REPOSITORY": "Public Repository", "DELETION_TITLE_REPO": "Confirm Repository Deletion", diff --git a/src/portal/src/i18n/lang/es-es-lang.json b/src/portal/src/i18n/lang/es-es-lang.json index 347f5bbfe..8c8643eb0 100644 --- a/src/portal/src/i18n/lang/es-es-lang.json +++ b/src/portal/src/i18n/lang/es-es-lang.json @@ -576,6 +576,8 @@ "TAGS_COUNT": "Etiquetas", "PULL_COUNT": "Pulls", "PULL_COMMAND": "Comando Pull", + "PULL_TIME": "Pull Time", + "PUSH_TIME": "Push Time", "MY_REPOSITORY": "Mi Repositorio", "PUBLIC_REPOSITORY": "Repositorio Público", "DELETION_TITLE_REPO": "Confirmar Eliminación de Repositorio", diff --git a/src/portal/src/i18n/lang/fr-fr-lang.json b/src/portal/src/i18n/lang/fr-fr-lang.json index 47d94defa..7d76bf9d5 100644 --- a/src/portal/src/i18n/lang/fr-fr-lang.json +++ b/src/portal/src/i18n/lang/fr-fr-lang.json @@ -565,6 +565,8 @@ "TAGS_COUNT": "Tags", "PULL_COUNT": "Pulls", "PULL_COMMAND": "Commande de Pull", + "PULL_TIME": "Pull Time", + "PUSH_TIME": "Push Time", "MY_REPOSITORY": "Mon Dépôt", "PUBLIC_REPOSITORY": "Dépôt Public", "DELETION_TITLE_REPO": "Confirmer la Suppresion du Dépôt", diff --git a/src/portal/src/i18n/lang/pt-br-lang.json b/src/portal/src/i18n/lang/pt-br-lang.json index 8f7118975..223b37775 100644 --- a/src/portal/src/i18n/lang/pt-br-lang.json +++ b/src/portal/src/i18n/lang/pt-br-lang.json @@ -575,6 +575,8 @@ "TAGS_COUNT": "Tags", "PULL_COUNT": "Pulls", "PULL_COMMAND": "Comando de Pull", + "PULL_TIME": "Pull Time", + "PUSH_TIME": "Push Time", "MY_REPOSITORY": "Meu Repositório", "PUBLIC_REPOSITORY": "Repositório Público", "DELETION_TITLE_REPO": "Confirmar remoção de repositório", diff --git a/src/portal/src/i18n/lang/zh-cn-lang.json b/src/portal/src/i18n/lang/zh-cn-lang.json index a9e249150..49b23260b 100644 --- a/src/portal/src/i18n/lang/zh-cn-lang.json +++ b/src/portal/src/i18n/lang/zh-cn-lang.json @@ -576,6 +576,8 @@ "TAGS_COUNT": "标签数", "PULL_COUNT": "下载数", "PULL_COMMAND": "Pull命令", + "PULL_TIME": "拉取时间", + "PUSH_TIME": "推送时间", "MY_REPOSITORY": "我的仓库", "PUBLIC_REPOSITORY": "公共仓库", "DELETION_TITLE_REPO": "删除镜像仓库确认",