Commit 70da3b05 authored by Jose Ivan Vargas's avatar Jose Ivan Vargas

Merge branch...

Merge branch '354584-migrate-to-shared-alert-haml-partial-in-app-views-groups-settings-_remove_button-html-haml' into 'master'

Migrate remove group alert to be Pajamas compliant

See merge request gitlab-org/gitlab!83467
parents cbc20ce6 f1140594
- remove_form_id = local_assigns.fetch(:remove_form_id, nil)
- if group.paid?
.gl-alert.gl-alert-info.gl-mb-5{ data: { testid: 'group-has-linked-subscription-alert' } }
= sprite_icon('information-o', size: 16, css_class: 'gl-icon gl-alert-icon gl-alert-icon-no-title')
= render 'shared/global_alert', dismissible: false, alert_class: 'gl-mb-5', alert_data: { testid: 'group-has-linked-subscription-alert' } do
.gl-alert-body
= 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 }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment