summaryrefslogtreecommitdiff
path: root/app/views/projects/settings/packages_and_registries/show.html.haml
blob: 658b2f2e65cb02f8195e97b2d665296ab4134e32 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
- breadcrumb_title _('Packages & Registries')
- page_title _('Packages & Registries')
- @content_class = 'limit-container-width' unless fluid_layout

#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?.to_s,
    help_page_path: help_page_path('user/packages/container_registry/reduce_container_registry_storage', anchor: 'cleanup-policy'),
    show_cleanup_policy_on_alert: show_cleanup_policy_on_alert(@project).to_s,
    tags_regex_help_page_path: help_page_path('user/packages/container_registry/reduce_container_registry_storage', anchor: 'regex-pattern-examples') } }