-
- Downloads
Merge branch '23305-leave-project-and-leave-group-should-be-buttons' into 'master'
Remove 'Leave Project' and 'Leave Group' from settings dropdowns ## What does this MR do? Removes `Leave Project` and `Leave Group` from the settings dropdown. Adds it to the `views/shared/members/access_request_buttons.html.haml`. ## Are there points in the code the reviewer needs to double check? ## Why was this MR needed? ## Screenshots (if relevant)   ## Does this MR meet the acceptance criteria? - [x] [Changelog entry](https://docs.gitlab.com/ce/development/changelog.html) added - [ ] [Documentation created/updated](https://gitlab.com/gitlab-org/gitlab-ce/blob/master/doc/development/doc_styleguide.md) - [ ] API support added - Tests - [ ] Added for this feature/bug - [x] All builds are passing - [x] Conform by the [merge request performance guides](http://docs.gitlab.com/ce/development/merge_request_performance_guidelines.html) - [x] Conform by the [style guides](https://gitlab.com/gitlab-org/gitlab-ce/blob/master/CONTRIBUTING.md#style-guides) - [x] Branch has no merge conflicts with `master` (if it does - rebase it please) - [x] [Squashed related commits together](https://git-scm.com/book/en/Git-Tools-Rewriting-History#Squashing-Commits) ## What are the relevant issue numbers? Closes #23305 See merge request !7600
No related branches found
No related tags found
Showing
- app/views/layouts/nav/_group_settings.html.haml 2 additions, 10 deletionsapp/views/layouts/nav/_group_settings.html.haml
- app/views/layouts/nav/_project.html.haml 4 additions, 13 deletionsapp/views/layouts/nav/_project.html.haml
- app/views/shared/members/_access_request_buttons.html.haml 16 additions, 10 deletionsapp/views/shared/members/_access_request_buttons.html.haml
- changelogs/unreleased/23305-leave-project-and-leave-group-should-be-buttons.yml 5 additions, 0 deletions...23305-leave-project-and-leave-group-should-be-buttons.yml
- spec/features/groups/members/last_owner_cannot_leave_group_spec.rb 2 additions, 2 deletions...ures/groups/members/last_owner_cannot_leave_group_spec.rb
- spec/features/groups/members/member_leaves_group_spec.rb 1 addition, 1 deletionspec/features/groups/members/member_leaves_group_spec.rb
- spec/features/groups/members/user_requests_access_spec.rb 1 addition, 1 deletionspec/features/groups/members/user_requests_access_spec.rb
- spec/features/projects/members/group_member_cannot_leave_group_project_spec.rb 1 addition, 1 deletion...s/members/group_member_cannot_leave_group_project_spec.rb
- spec/features/projects/members/group_requester_cannot_request_access_to_project_spec.rb 1 addition, 1 deletion.../group_requester_cannot_request_access_to_project_spec.rb
- spec/features/projects/members/member_leaves_project_spec.rb 1 addition, 1 deletionspec/features/projects/members/member_leaves_project_spec.rb
- spec/features/projects/members/owner_cannot_leave_project_spec.rb 2 additions, 2 deletions...tures/projects/members/owner_cannot_leave_project_spec.rb