Commit fb5bb717 authored by Kushal Pandya's avatar Kushal Pandya

Merge branch 'yogi-hide-templates-buttons' into 'master'

Remove template tabs in new project page for GitLab.com

See merge request gitlab-org/gitlab!59083
parents a4a789c6 16c7d5b1
......@@ -51,7 +51,8 @@
= 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' }
.card.card-slim.m-4.p-4
.gl-card.gl-my-5
.gl-card-body
%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 }
......
---
title: Remove template tabs in new project page for GitLab.com
merge_request: 59083
author: Yogi (@yo)
type: changed
......@@ -2,6 +2,7 @@
- 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
......
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