Commit efa29148 authored by Angelo Gulina's avatar Angelo Gulina Committed by Pavel Shutsin

Migrate import group to shared alert HAML

parent e30cd780
...@@ -4,8 +4,9 @@ ...@@ -4,8 +4,9 @@
%h4.gl-display-flex %h4.gl-display-flex
= s_('GroupsNew|Import groups from another instance of GitLab') = s_('GroupsNew|Import groups from another instance of GitLab')
= link_to _('History'), history_import_bulk_imports_path, class: 'gl-link gl-ml-auto' = link_to _('History'), history_import_bulk_imports_path, class: 'gl-link gl-ml-auto'
.gl-alert.gl-alert-warning{ role: 'alert' } = render 'shared/global_alert',
= sprite_icon('warning', css_class: 'gl-icon s16 gl-alert-icon gl-alert-icon-no-title') dismissible: false,
variant: :warning do
.gl-alert-body .gl-alert-body
- docs_link_start = '<a href="%{url}" target="_blank" rel="noopener noreferrer">'.html_safe % { url: help_page_path('user/group/import/index.md') } - docs_link_start = '<a href="%{url}" target="_blank" rel="noopener noreferrer">'.html_safe % { url: help_page_path('user/group/import/index.md') }
- docs_link_end = '</a>'.html_safe - docs_link_end = '</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