diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2020-03-08 18:08:21 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2020-03-08 18:08:21 +0300 |
commit | 1bdb3fe3821fc3d222361d8b2e2ec2fea2915372 (patch) | |
tree | c2566a9cb9d3328bff5d816278112c97be4179fe /app/views/projects/registry | |
parent | 996d54a81d799e6a69098b1e397a4ee7ea6d200c (diff) |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'app/views/projects/registry')
-rw-r--r-- | app/views/projects/registry/repositories/index.html.haml | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/app/views/projects/registry/repositories/index.html.haml b/app/views/projects/registry/repositories/index.html.haml index 62b744b5095..810830fd0c4 100644 --- a/app/views/projects/registry/repositories/index.html.haml +++ b/app/views/projects/registry/repositories/index.html.haml @@ -6,6 +6,8 @@ .col-12 - if Feature.enabled?(:vue_container_registry_explorer, @project.group) #js-container-registry{ data: { endpoint: project_container_registry_index_path(@project), + settings_path: project_settings_ci_cd_path(@project), + expiration_policy: @project.container_expiration_policy.to_json, "help_page_path" => help_page_path('user/packages/container_registry/index'), "two_factor_auth_help_link" => help_page_path('user/profile/account/two_factor_authentication'), "personal_access_tokens_help_link" => help_page_path('user/profile/personal_access_tokens'), @@ -13,6 +15,7 @@ "containers_error_image" => image_path('illustrations/docker-error-state.svg'), "repository_url" => escape_once(@project.container_registry_url), "registry_host_url_with_port" => escape_once(registry_config.host_port), + "expiration_policy_help_page_path" => help_page_path('user/packages/container_registry/index', anchor: 'expiration-policy'), character_error: @character_error.to_s } } - else #js-vue-registry-images{ data: { endpoint: project_container_registry_index_path(@project, format: :json), |