Move EE differences for app/views/projects/new.html.haml
Move EE differences for app/views/projects/new.html.haml
diff --git a/home/yorickpeterse/Projects/gitlab/gdk-ce/gitlab/app/views/projects/new.html.haml b/home/yorickpeterse/Projects/gitlab/gdk-ee/gitlab/app/views/projects/new.html.haml
index 8275996b522..7834a977ea5 100644
--- a/home/yorickpeterse/Projects/gitlab/gdk-ce/gitlab/app/views/projects/new.html.haml
+++ b/home/yorickpeterse/Projects/gitlab/gdk-ee/gitlab/app/views/projects/new.html.haml
@@ -16,6 +16,11 @@
= _('A project is where you house your files (repository), plan your work (issues), and publish your documentation (wiki), %{among_other_things_link}.').html_safe % { among_other_things_link: among_other_things_link }
%p
= _('All features are enabled for blank projects, from templates, or when importing, but you can disable them afterward in the project settings.')
+ -# EE-specific start
+ - if ci_cd_projects_available?
+ %p
+ = _('To only use CI/CD features for an external repository, choose <strong>CI/CD for external repo</strong>.').html_safe
+ -# EE-specific end
.md
= brand_new_project_guidelines
%p
@@ -39,6 +44,9 @@
%a.nav-link{ href: '#import-project-pane', id: 'import-project-tab', data: { toggle: 'tab', track_label: 'import_project', track_event: "click_tab" }, role: 'tab' }
%span.d-none.d-sm-block Import project
%span.d-block.d-sm-none Import
+ -# EE-specific start
+ = render 'new_ci_cd_only_project_tab', active_tab: active_tab
+ -# EE-specific end
.tab-content.gitlab-tab-content
.tab-pane{ id: 'blank-project-pane', class: active_when(active_tab == 'blank'), role: 'tabpanel' }
@@ -60,6 +68,10 @@
%h4 No import options available
%p Contact an administrator to enable options for importing your project.
+ -# EE-specific start
+ = render 'new_ci_cd_only_project_pane', active_tab: active_tab
+ -# EE-specific end
+
.save-project-loader.d-none
.center
%h2