summaryrefslogtreecommitdiff
path: root/app/views/projects/show.html.haml
diff options
context:
space:
mode:
authorDouwe Maan <douwe@gitlab.com>2016-01-05 16:35:18 +0100
committerDouwe Maan <douwe@gitlab.com>2016-01-05 16:35:18 +0100
commit7a3b76297873782e2a56e77bcf55bbe950e57453 (patch)
tree817288dd9ddce2d7f09fbbf672f9fe1eb8925335 /app/views/projects/show.html.haml
parentdcca64a5230bbfd53ef5db8403d132deac4667f2 (diff)
parent7c3c901ada6fc4a6d2d3ce7a2cf8188cf6615008 (diff)
downloadgitlab-ce-7a3b76297873782e2a56e77bcf55bbe950e57453.tar.gz
Merge branch 'master' into more-opengraph
# Conflicts: # app/views/layouts/_head.html.haml
Diffstat (limited to 'app/views/projects/show.html.haml')
-rw-r--r--app/views/projects/show.html.haml13
1 files changed, 1 insertions, 12 deletions
diff --git a/app/views/projects/show.html.haml b/app/views/projects/show.html.haml
index 74ce005eaa2..a8f924bbb7c 100644
--- a/app/views/projects/show.html.haml
+++ b/app/views/projects/show.html.haml
@@ -70,15 +70,4 @@
= render 'projects/last_commit', commit: @repository.commit, project: @project
%div{class: "project-show-#{default_project_view}"}
- = render default_project_view
-
-- if current_user
- - access = user_max_access_in_project(current_user.id, @project)
- - if access
- .prepend-top-20.project-footer
- .gray-content-block.footer-block.center
- You have #{access} access to this project.
- - if @project.project_member_by_id(current_user)
- = link_to leave_namespace_project_project_members_path(@project.namespace, @project),
- data: { confirm: leave_project_message(@project) }, method: :delete, title: 'Leave project', class: 'cred' do
- Leave this project
+ = render default_project_view \ No newline at end of file