diff options
author | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2013-02-09 12:32:24 +0200 |
---|---|---|
committer | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2013-02-09 12:32:24 +0200 |
commit | 152f87864c020bfcd49b134e9c97b81e9ef1c215 (patch) | |
tree | a515a0c8bc938c0c299637cf685bca5f77e17ad4 | |
parent | 433f2dbceff3a597707d1375b519491737adf6e5 (diff) | |
download | gitlab-ce-152f87864c020bfcd49b134e9c97b81e9ef1c215.tar.gz |
remove useless warning
-rw-r--r-- | app/views/layouts/project_resource.html.haml | 2 | ||||
-rw-r--r-- | app/views/shared/_not_in_team.html.haml | 2 |
2 files changed, 0 insertions, 4 deletions
diff --git a/app/views/layouts/project_resource.html.haml b/app/views/layouts/project_resource.html.haml index 09ccb1d7b6a..13fb8637bf6 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 0d003bde953..00000000000 --- 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)} |