diff options
author | Camil Staps <info@camilstaps.nl> | 2019-08-17 11:15:43 +0200 |
---|---|---|
committer | Camil Staps <info@camilstaps.nl> | 2019-09-06 09:51:09 +0200 |
commit | ed1192c511057230dfd90f8b873b7813a48ecd6b (patch) | |
tree | 64d34da6c3b71e4a674e95089a6f777a93c42ffc | |
parent | 86eae7b2e09fdf52f63adf1ef134b2b0016b8f34 (diff) | |
download | gitlab-ce-ed1192c511057230dfd90f8b873b7813a48ecd6b.tar.gz |
Remove "n private forks you have no access to"
-rw-r--r-- | app/views/shared/projects/_list.html.haml | 6 | ||||
-rw-r--r-- | spec/features/projects/fork_spec.rb | 1 |
2 files changed, 0 insertions, 7 deletions
diff --git a/app/views/shared/projects/_list.html.haml b/app/views/shared/projects/_list.html.haml index bb05658c719..d70a1631010 100644 --- a/app/views/shared/projects/_list.html.haml +++ b/app/views/shared/projects/_list.html.haml @@ -42,12 +42,6 @@ avatar: avatar, stars: stars, css_class: css_class, ci: ci, use_creator_avatar: use_creator_avatar, forks: forks, show_last_commit_as_description: show_last_commit_as_description, user: user, merge_requests: merge_requests, issues: issues, pipeline_status: pipeline_status, compact_mode: compact_mode - - - if @private_forks_count && @private_forks_count > 0 - %li.project-row.private-forks-notice - = icon('lock fw', base: 'circle', class: 'fa-lg private-fork-icon') - %strong= pluralize(@private_forks_count, 'private fork') - %span you have no access to. = paginate_collection(projects, remote: remote) unless skip_pagination - else - if @contributed_projects diff --git a/spec/features/projects/fork_spec.rb b/spec/features/projects/fork_spec.rb index 2aed402652b..6792a6e2af0 100644 --- a/spec/features/projects/fork_spec.rb +++ b/spec/features/projects/fork_spec.rb @@ -121,7 +121,6 @@ describe 'Project fork' do end expect(page).not_to have_content("#{another_project_fork.namespace.human_name} / #{another_project_fork.name}") - expect(page).to have_content("1 private fork") end end |