2018-03-27 19:54:05 +05:30
|
|
|
- title = has_ci_cd_only_params? ? _('Connect repositories from GitHub') : _('GitHub import')
|
|
|
|
- page_title title
|
2022-07-23 23:45:48 +05:30
|
|
|
%h1.page-title.gl-font-size-h-display.mb-0.gl-display-flex
|
2021-01-03 14:25:43 +05:30
|
|
|
.gl-display-flex.gl-align-items-center.gl-justify-content-center
|
|
|
|
= sprite_icon('github', css_class: 'gl-mr-2')
|
|
|
|
= _('Import repositories from GitHub')
|
2015-04-26 12:48:37 +05:30
|
|
|
|
2021-02-22 17:27:13 +05:30
|
|
|
- paginatable = Feature.enabled?(:remove_legacy_github_client)
|
|
|
|
|
2022-11-25 23:54:43 +05:30
|
|
|
= render 'import/githubish_status',
|
|
|
|
provider: 'github', paginatable: paginatable,
|
|
|
|
default_namespace: @namespace,
|
2023-03-04 22:38:38 +05:30
|
|
|
cancel_path: cancel_import_github_path,
|
2023-06-20 00:43:36 +05:30
|
|
|
details_path: details_import_github_path,
|
2023-07-09 08:55:56 +05:30
|
|
|
status_import_github_group_path: status_import_github_group_path(format: :json),
|
2022-11-25 23:54:43 +05:30
|
|
|
optional_stages: Gitlab::GithubImport::Settings.stages_array
|