summaryrefslogtreecommitdiff
path: root/app/views/projects/registry/settings/_index.haml
blob: a4d4a1bb2dd463994736e0de4ca2a0a916a4a0f8 (plain)
1
2
3
4
5
6
7
8
9
#js-registry-settings{ data: { project_id: @project.id,
    project_path: @project.full_path,
    cadence_options: cadence_options.to_json,
    keep_n_options: keep_n_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: 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') } }