Welcome to mirror list, hosted at ThFree Co, Russian Federation.

_remove_button.html.haml « settings « groups « views « app - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: cb05076b39db3d127a6d7b8db4b9eaa452d59988 (plain)
1
2
3
4
5
6
7
8
- remove_form_id = local_assigns.fetch(:remove_form_id, nil)

- if group.prevent_delete?
  = render Pajamas::AlertComponent.new(dismissible: false, alert_options: { class: 'gl-mb-5', data: { testid: 'group-has-linked-subscription-alert' }}) do |c|
    = c.body do
      = html_escape(_("This group can't be removed because it is linked to a subscription. To remove this group, %{linkStart}link the subscription%{linkEnd} with a different group.")) % { linkStart: "<a href=\"#{help_page_path('subscriptions/gitlab_com/index', anchor: 'change-the-linked-namespace')}\">".html_safe, linkEnd: '</a>'.html_safe }

.js-confirm-danger{ data: group_settings_confirm_modal_data(group, remove_form_id) }