debian-mirror-gitlab/app/views/projects/registry/settings/_index.haml

10 lines
597 B
Text
Raw Normal View History

2020-03-13 15:44:24 +05:30
#js-registry-settings{ data: { project_id: @project.id,
2021-01-03 14:25:43 +05:30
project_path: @project.full_path,
2020-03-13 15:44:24 +05:30
cadence_options: cadence_options.to_json,
keep_n_options: keep_n_options.to_json,
2020-04-22 19:07:51 +05:30
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'),
2021-02-22 17:27:13 +05:30
enable_historic_entries: container_expiration_policies_historic_entry_enabled?(@project).to_s,
tags_regex_help_page_path: help_page_path('user/packages/container_registry/index', anchor: 'regex-pattern-examples') } }