diff --git a/controllers/ng/repository.go b/controllers/ng/repository.go index cb4d52de9..696def246 100644 --- a/controllers/ng/repository.go +++ b/controllers/ng/repository.go @@ -1,9 +1,12 @@ package ng +import "os" + type RepositoryController struct { BaseController } func (rc *RepositoryController) Get() { + rc.Data["HarborRegUrl"] = os.Getenv("HARBOR_REG_URL") rc.Forward("Repository", "repository.htm") } diff --git a/static/ng/resources/js/components/repository/list-tag.directive.html b/static/ng/resources/js/components/repository/list-tag.directive.html index 8308acc0f..d9057bcde 100644 --- a/static/ng/resources/js/components/repository/list-tag.directive.html +++ b/static/ng/resources/js/components/repository/list-tag.directive.html @@ -3,8 +3,8 @@
// 'tag' | tr // | -// 'image_details' | tr // | -// 'pull_command' | tr // | +// 'image_details' | tr // | +// 'pull_command' | tr // | // 'operation' | tr // | diff --git a/static/ng/resources/js/components/repository/pull-command.directive.html b/static/ng/resources/js/components/repository/pull-command.directive.html index 4669c1311..6a38a8d3f 100644 --- a/static/ng/resources/js/components/repository/pull-command.directive.html +++ b/static/ng/resources/js/components/repository/pull-command.directive.html @@ -1,7 +1,7 @@
---|