Skip to content
Snippets Groups Projects
Verified Commit 03598ca7 authored by Luke "Jared" Bennett's avatar Luke "Jared" Bennett
Browse files

Disable new repo on project show

parent 91a60743
No related branches found
No related tags found
No related merge requests found
Loading
Loading
@@ -349,8 +349,6 @@ import FeatureHelper from './helpers/feature_helper';
shortcut_handler = new ShortcutsNavigation();
new NotificationsForm();
 
if (FeatureHelper.isNewRepo()) break;
if ($('#tree-slider').length) new TreeView();
if ($('.blob-viewer').length) new BlobViewer();
break;
Loading
Loading
Loading
Loading
@@ -307,6 +307,6 @@ module ApplicationHelper
end
 
def show_new_repo?
cookies["new_repo"] == "true"
cookies["new_repo"] == "true" && body_data_page != 'projects:show'
end
end
Loading
Loading
@@ -5,11 +5,6 @@
= content_for :meta_tags do
= auto_discovery_link_tag(:atom, project_path(@project, rss_url_options), title: "#{@project.name} activity")
 
- if show_new_repo?
- content_for :page_specific_javascripts do
= webpack_bundle_tag 'common_vue'
= webpack_bundle_tag 'repo'
= render partial: 'flash_messages', locals: { project: @project }
 
= render "projects/head"
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment