Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
1
Merge Requests
1
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
gitlab-ce
Commits
c06fdaa8
Commit
c06fdaa8
authored
Apr 18, 2019
by
Illya Klymov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add link for contributing templates
parent
dfb1cc61
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
14 additions
and
1 deletion
+14
-1
app/views/projects/new.html.haml
app/views/projects/new.html.haml
+6
-1
changelogs/unreleased/xanf-gitlab-ce-add-template-link.yml
changelogs/unreleased/xanf-gitlab-ce-add-template-link.yml
+5
-0
locale/gitlab.pot
locale/gitlab.pot
+3
-0
No files found.
app/views/projects/new.html.haml
View file @
c06fdaa8
...
...
@@ -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
...
...
changelogs/unreleased/xanf-gitlab-ce-add-template-link.yml
0 → 100644
View file @
c06fdaa8
---
title
:
Add instructions on how to contribute a Built-In template for project
merge_request
:
26976
author
:
type
:
other
locale/gitlab.pot
View file @
c06fdaa8
...
...
@@ -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 ""
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment