diff --git a/app/views/projects/new.html.haml b/app/views/projects/new.html.haml index 7834a977ea53a5b94bd7b763d5eafe17ca46b6a6..ea388ee3b0f9194b4b5a3c1b0d217ba44c47873c 100644 --- a/app/views/projects/new.html.haml +++ b/app/views/projects/new.html.haml @@ -53,7 +53,12 @@ = form_for @project, html: { class: 'new_project' } do |f| = render 'new_project_fields', f: f, project_name_id: "blank-project-name" - .tab-pane.no-padding{ id: 'create-from-template-pane', class: active_when(active_tab == 'template'), role: 'tabpanel' } + #create-from-template-pane.tab-pane.px-0.pb-0{ class: active_when(active_tab == 'template'), role: 'tabpanel' } + .card-slim.m-4.p-4 + %div + - contributing_templates_url = 'https://gitlab.com/gitlab-org/project-templates/contributing' + - link_start = '<a href="%{url}" target="_blank" rel="noopener noreferrer">'.html_safe % { url: contributing_templates_url } + = _('Learn how to %{link_start}contribute to the built-in templates%{link_end}').html_safe % { link_start: link_start, link_end: '</a>'.html_safe } = form_for @project, html: { class: 'new_project' } do |f| .project-template .form-group diff --git a/changelogs/unreleased/xanf-gitlab-ce-add-template-link.yml b/changelogs/unreleased/xanf-gitlab-ce-add-template-link.yml new file mode 100644 index 0000000000000000000000000000000000000000..b868758dcd2230a3eed590c16ed542ebab9e7c8c --- /dev/null +++ b/changelogs/unreleased/xanf-gitlab-ce-add-template-link.yml @@ -0,0 +1,5 @@ +--- +title: Add instructions on how to contribute a Built-In template for project +merge_request: 26976 +author: +type: other diff --git a/locale/gitlab.pot b/locale/gitlab.pot index 542a60a20a23112b23dad22dbf47cc15bf4cd71e..8e7d39f2d224096bb3d2fc1a60e412d10eda273d 100644 --- a/locale/gitlab.pot +++ b/locale/gitlab.pot @@ -6846,6 +6846,9 @@ msgstr "" msgid "Lead" msgstr "" +msgid "Learn how to %{link_start}contribute to the built-in templates%{link_end}" +msgstr "" + msgid "Learn how to %{no_packages_link_start}publish and share your packages%{no_packages_link_end} with GitLab." msgstr ""