diff options
Diffstat (limited to 'app/views/projects/registry/settings/_index.haml')
-rw-r--r-- | app/views/projects/registry/settings/_index.haml | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/app/views/projects/registry/settings/_index.haml b/app/views/projects/registry/settings/_index.haml index 0e0341a9923..c0cef8503e0 100644 --- a/app/views/projects/registry/settings/_index.haml +++ b/app/views/projects/registry/settings/_index.haml @@ -1,4 +1,7 @@ #js-registry-settings{ data: { project_id: @project.id, cadence_options: cadence_options.to_json, keep_n_options: keep_n_options.to_json, - older_than_options: older_than_options.to_json} } + older_than_options: older_than_options.to_json, + is_admin: current_user&.admin.to_s, + admin_settings_path: ci_cd_admin_application_settings_path(anchor: 'js-registry-settings'), + enable_historic_entries: Gitlab::CurrentSettings.try(:container_expiration_policies_enable_historic_entries).to_s} } |