Commit 2b0f268d authored by Kushal Pandya's avatar Kushal Pandya

Merge branch...

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

Migrate group transfer alert to be Pajamas compliant

See merge request gitlab-org/gitlab!83466
parents f94b903e ca338d78
......@@ -13,8 +13,7 @@
%li= s_('GroupSettings|You will need to update your local repositories to point to the new location.')
%li= s_("GroupSettings|If the parent group's visibility is lower than the group's current visibility, visibility levels for subgroups and projects will be changed to match the new parent group's visibility.")
- if group.paid?
.gl-alert.gl-alert-info.gl-mb-5
= 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' do
.gl-alert-body
= html_escape(_("This group can't be transferred because it is linked to a subscription. To transfer 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 }
.js-transfer-group-form{ data: initial_data }
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