diff --git a/app/views/layouts/project_resource.html.haml b/app/views/layouts/project_resource.html.haml index 09ccb1d..13fb863 100644 --- a/app/views/layouts/project_resource.html.haml +++ b/app/views/layouts/project_resource.html.haml @@ -7,8 +7,6 @@ - if can?(current_user, :download_code, @project) = render 'shared/no_ssh' - - unless @project.users.include?(current_user) - = render 'shared/not_in_team' .container %ul.main_menu = nav_link(html_options: {class: "home #{project_tab_class}"}) do diff --git a/app/views/shared/_not_in_team.html.haml b/app/views/shared/_not_in_team.html.haml deleted file mode 100644 index 0d003bd..0000000 --- a/app/views/shared/_not_in_team.html.haml +++ /dev/null @@ -1,2 +0,0 @@ -%p.error_message.centered - You won't be able to use git over ssh until you join project on #{link_to 'team page', project_team_index_path(@project)} -- libgit2 0.21.2