Commit 152f87864c020bfcd49b134e9c97b81e9ef1c215

Authored by Dmitriy Zaporozhets
1 parent 433f2dbc

remove useless warning

app/views/layouts/project_resource.html.haml
... ... @@ -7,8 +7,6 @@
7 7 - if can?(current_user, :download_code, @project)
8 8 = render 'shared/no_ssh'
9 9  
10   - - unless @project.users.include?(current_user)
11   - = render 'shared/not_in_team'
12 10 .container
13 11 %ul.main_menu
14 12 = nav_link(html_options: {class: "home #{project_tab_class}"}) do
... ...
app/views/shared/_not_in_team.html.haml
... ... @@ -1,2 +0,0 @@
1   -%p.error_message.centered
2   - You won't be able to use git over ssh until you join project on #{link_to 'team page', project_team_index_path(@project)}