Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/app
diff options
context:
space:
mode:
authorDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2013-02-09 14:32:24 +0400
committerDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2013-02-09 14:32:24 +0400
commit152f87864c020bfcd49b134e9c97b81e9ef1c215 (patch)
treea515a0c8bc938c0c299637cf685bca5f77e17ad4 /app
parent433f2dbceff3a597707d1375b519491737adf6e5 (diff)
remove useless warning
Diffstat (limited to 'app')
-rw-r--r--app/views/layouts/project_resource.html.haml2
-rw-r--r--app/views/shared/_not_in_team.html.haml2
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)}