diff options
author | Jacob Schatz <jacobschatz@Jacobs-MBP.fios-router.home> | 2015-12-24 06:01:38 +0300 |
---|---|---|
committer | Jacob Schatz <jacobschatz@Jacobs-MBP.fios-router.home> | 2015-12-28 22:45:23 +0300 |
commit | eb162c2b2741bfd1ea8dd1b49e12027f7ed03594 (patch) | |
tree | 3310eaa0cac20bcf1ddf6dc7262b96ac216559f1 /app/views/projects/show.html.haml | |
parent | 47fbba447423f274211173ddb60ade4d14961cb3 (diff) |
adds settings menu to the top for editting and leaving projects
Diffstat (limited to 'app/views/projects/show.html.haml')
-rw-r--r-- | app/views/projects/show.html.haml | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/app/views/projects/show.html.haml b/app/views/projects/show.html.haml index 7466a098e24..5d04776f7f4 100644 --- a/app/views/projects/show.html.haml +++ b/app/views/projects/show.html.haml @@ -75,8 +75,4 @@ - 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 + You have #{access} access to this project.
\ No newline at end of file |