Commit 523995ee authored by Kushal Pandya's avatar Kushal Pandya

Merge branch 'xanf/gitlab-ce-add-template-link' into 'master'

Add instructions on how to contribute a "Built-In" template on projects/new"

Closes #55833

See merge request gitlab-org/gitlab-ce!26976
parents 33665fa5 027c756b
...@@ -48,7 +48,12 @@ ...@@ -48,7 +48,12 @@
= form_for @project, html: { class: 'new_project' } do |f| = form_for @project, html: { class: 'new_project' } do |f|
= render 'new_project_fields', f: f, project_name_id: "blank-project-name" = 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| = form_for @project, html: { class: 'new_project' } do |f|
.project-template .project-template
.form-group .form-group
......
---
title: Add instructions on how to contribute a Built-In template for project
merge_request: 26976
author:
type: other
...@@ -5260,6 +5260,9 @@ msgstr "" ...@@ -5260,6 +5260,9 @@ msgstr ""
msgid "Lead" msgid "Lead"
msgstr "" msgstr ""
msgid "Learn how to %{link_start}contribute to the built-in templates%{link_end}"
msgstr ""
msgid "Learn more" msgid "Learn more"
msgstr "" msgstr ""
......
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