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
006dac8f
Commit
006dac8f
authored
Apr 30, 2021
by
Dennis Tang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Revert "Merge branch 'yogi-hide-templates-buttons' into 'master'"
This reverts merge request !59083
parent
942f4c6c
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
20 additions
and
27 deletions
+20
-27
app/views/projects/new.html.haml
app/views/projects/new.html.haml
+5
-6
changelogs/unreleased/yogi-hide-templates-buttons.yml
changelogs/unreleased/yogi-hide-templates-buttons.yml
+0
-5
ee/app/views/projects/_project_templates.html.haml
ee/app/views/projects/_project_templates.html.haml
+15
-16
No files found.
app/views/projects/new.html.haml
View file @
006dac8f
...
...
@@ -51,8 +51,7 @@
=
render
'new_project_fields'
,
f:
f
,
project_name_id:
"blank-project-name"
#create-from-template-pane
.tab-pane.js-toggle-container.px-0.pb-0
{
class:
active_when
(
active_tab
==
'template'
),
role:
'tabpanel'
}
.gl-card.gl-my-5
.gl-card-body
.card.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
}
...
...
changelogs/unreleased/yogi-hide-templates-buttons.yml
deleted
100644 → 0
View file @
942f4c6c
---
title
:
Remove template tabs in new project page for GitLab.com
merge_request
:
59083
author
:
Yogi (@yo)
type
:
changed
ee/app/views/projects/_project_templates.html.haml
View file @
006dac8f
...
...
@@ -2,7 +2,6 @@
-
project_template_count
=
current_user
.
available_custom_project_templates
.
count
-
group_id
=
params
[
:namespace_id
]
-
unless
Gitlab
.
com?
.project-templates-buttons
%ul
.nav-tabs.nav-links.nav.scrolling-tabs
%li
.built-in-tab
...
...
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