debian-mirror-gitlab/app/views/groups/settings/_remove_button.html.haml

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

9 lines
667 B
Text
Raw Normal View History

2021-12-11 22:18:48 +05:30
- remove_form_id = local_assigns.fetch(:remove_form_id, nil)
2021-04-29 21:17:54 +05:30
- if group.paid?
2022-07-16 23:28:13 +05:30
= render Pajamas::AlertComponent.new(dismissible: false, alert_class: 'gl-mb-5', alert_data: { testid: 'group-has-linked-subscription-alert' }) do |c|
= c.body do
2021-04-29 21:17:54 +05:30
= 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/index', anchor: 'change-the-linked-namespace')}\">".html_safe, linkEnd: '</a>'.html_safe }
2021-12-11 22:18:48 +05:30
.js-confirm-danger{ data: group_settings_confirm_modal_data(group, remove_form_id) }