diff options
Diffstat (limited to 'app/views/projects/_import_project_pane.html.haml')
-rw-r--r-- | app/views/projects/_import_project_pane.html.haml | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/app/views/projects/_import_project_pane.html.haml b/app/views/projects/_import_project_pane.html.haml index cc5271a1cd2..412c91544a6 100644 --- a/app/views/projects/_import_project_pane.html.haml +++ b/app/views/projects/_import_project_pane.html.haml @@ -7,6 +7,14 @@ %h5.gl-display-flex = _("Import project from") = link_to _('History'), import_history_index_path, class: 'gl-link gl-ml-auto gl-font-weight-normal' + %div + = render Pajamas::AlertComponent.new(variant: :tip, + alert_options: { class: 'gl-my-3' }, + dismissible: false) do |c| + = c.body do + - docs_link_url = help_page_path('user/group/import/index') + '#migrate-groups-by-direct-transfer-recommended' + - docs_link = '<a href="%{url}" target="_blank" rel="noopener noreferrer">'.html_safe % { url: docs_link_url } + = html_escape(_("Importing GitLab projects? Migrating GitLab projects when migrating groups by direct transfer is in Beta. %{link_start}Learn more.%{link_end}")) % { link_start: docs_link, link_end: '</a>'.html_safe } .import-buttons - if gitlab_project_import_enabled? .import_gitlab_project.has-tooltip{ data: { container: 'body', qa_selector: 'gitlab_import_button' } } |