mirror of
https://github.com/goharbor/harbor.git
synced 2024-12-25 01:58:35 +01:00
Include os version in image tag detail page
Signed-off-by: He Weiwei <hweiwei@vmware.com>
This commit is contained in:
parent
1de52e28ae
commit
e7f09643bd
@ -82,6 +82,7 @@ type tagDetail struct {
|
||||
Size int64 `json:"size"`
|
||||
Architecture string `json:"architecture"`
|
||||
OS string `json:"os"`
|
||||
OSVersion string `json:"os.version"`
|
||||
DockerVersion string `json:"docker_version"`
|
||||
Author string `json:"author"`
|
||||
Created time.Time `json:"created"`
|
||||
|
@ -94,6 +94,7 @@ describe('RepositoryComponent (inline template)', () => {
|
||||
'size': '2049',
|
||||
'architecture': 'amd64',
|
||||
'os': 'linux',
|
||||
'os.version': '',
|
||||
'docker_version': '1.12.3',
|
||||
'author': 'NGINX Docker Maintainers \"docker-maint@nginx.com\"',
|
||||
'created': new Date('2016-11-08T22:41:15.912313785Z'),
|
||||
|
@ -55,6 +55,7 @@ export interface Tag extends Base {
|
||||
size: string;
|
||||
architecture: string;
|
||||
os: string;
|
||||
'os.version': string;
|
||||
docker_version: string;
|
||||
author: string;
|
||||
created: Date;
|
||||
|
@ -24,6 +24,10 @@
|
||||
<label class="detail-label">{{'TAG.OS' | translate }}</label>
|
||||
<div class="image-details" [title]="tagDetails.os">{{tagDetails.os}}</div>
|
||||
</section>
|
||||
<section class="detail-row">
|
||||
<label class="detail-label">{{'TAG.OS_VERSION' | translate }}</label>
|
||||
<div class="image-details" [title]="tagDetails['os.version']">{{tagDetails['os.version']}}</div>
|
||||
</section>
|
||||
<section class="detail-row">
|
||||
<label class="detail-label">{{'TAG.DOCKER_VERSION' | translate }}</label>
|
||||
<div class="image-details" [title]="tagDetails.docker_version">{{tagDetails.docker_version}}</div>
|
||||
|
@ -72,6 +72,7 @@ describe("TagDetailComponent (inline template)", () => {
|
||||
size: "2049",
|
||||
architecture: "amd64",
|
||||
os: "linux",
|
||||
'os.version': "",
|
||||
docker_version: "1.12.3",
|
||||
author: "steven",
|
||||
created: new Date("2016-11-08T22:41:15.912313785Z"),
|
||||
|
@ -41,6 +41,7 @@ export class TagDetailComponent implements OnInit {
|
||||
created: new Date(),
|
||||
architecture: "--",
|
||||
os: "--",
|
||||
'os.version': "--",
|
||||
docker_version: "--",
|
||||
digest: "--",
|
||||
labels: []
|
||||
|
@ -38,6 +38,7 @@ describe("TagComponent (inline template)", () => {
|
||||
"size": "2049",
|
||||
"architecture": "amd64",
|
||||
"os": "linux",
|
||||
"os.version": "",
|
||||
"docker_version": "1.12.3",
|
||||
"author": "NGINX Docker Maintainers \"docker-maint@nginx.com\"",
|
||||
"created": new Date("2016-11-08T22:41:15.912313785Z"),
|
||||
|
@ -752,6 +752,7 @@
|
||||
"DOCKER_VERSION": "Docker Version",
|
||||
"ARCHITECTURE": "Architecture",
|
||||
"OS": "OS",
|
||||
"OS_VERSION": "OS Version",
|
||||
"HAVE": "have",
|
||||
"HAS": "has",
|
||||
"SCAN_COMPLETION_TIME": "Scan Completed",
|
||||
|
@ -750,6 +750,7 @@
|
||||
"DOCKER_VERSION": "Docker Version",
|
||||
"ARCHITECTURE": "Architecture",
|
||||
"OS": "OS",
|
||||
"OS_VERSION": "OS Version",
|
||||
"HAVE": "have",
|
||||
"HAS": "has",
|
||||
"SCAN_COMPLETION_TIME": "Scan Completed",
|
||||
|
@ -715,6 +715,7 @@
|
||||
"DOCKER_VERSION": "Version de Docker",
|
||||
"ARCHITECTURE": "Architecture",
|
||||
"OS": "OS",
|
||||
"OS_VERSION": "Version de OS",
|
||||
"HAVE": "have",
|
||||
"HAS": "has",
|
||||
"SCAN_COMPLETION_TIME": "Analyse Terminée",
|
||||
|
@ -454,6 +454,7 @@
|
||||
"DOCKER_VERSION": "Versão do Docker",
|
||||
"ARCHITECTURE": "Arquitetura",
|
||||
"OS": "SO",
|
||||
"OS_VERSION": "Versão do SO",
|
||||
"SHOW_DETAILS": "Exibir detalhes",
|
||||
"REPOSITORIES": "Repositórios",
|
||||
"OF": "de",
|
||||
|
@ -749,6 +749,7 @@
|
||||
"DOCKER_VERSION": "Docker版本",
|
||||
"ARCHITECTURE": "架构",
|
||||
"OS": "操作系统",
|
||||
"OS_VERSION": "操作系统版本",
|
||||
"HAVE": "存在",
|
||||
"HAS": "存在",
|
||||
"SCAN_COMPLETION_TIME": "扫描完成时间",
|
||||
|
Loading…
Reference in New Issue
Block a user