gitlab-org--gitlab-foss/app/views/projects
Douwe Maan 374b8e95c3 Merge branch '21076-deleted-merged-branches' into 'master'
Add button to delete all merged branches

## What does this MR do?

It adds a button to the branches page that the user can use to delete all the branches that are already merged. This can be used to clean up all the branches that were forgotten to delete while merging MRs.

**Note**  
~~This MR is WIP until MR !6408 is merged.~~

## Are there points in the code the reviewer needs to double check?

The UX of the actual "Delete merged branches" button.

## Why was this MR needed?

Fixes #21076

## Screenshots
![Branches page without "Delete all merged" button](/uploads/3a2936a83c3547a0fce92a74af880a2d/Screen_Shot_2016-10-17_at_20.06.30.png)

Before:
![Screen_Shot_2016-10-17_at_20.07.11](/uploads/55efcebf4e0a45dbfc70ba4a11ca152c/Screen_Shot_2016-10-17_at_20.07.11.png)


After:

## Does this MR meet the acceptance criteria?

- [x] [CHANGELOG](https://gitlab.com/gitlab-org/gitlab-ce/blob/master/CHANGELOG) entry added
- [x] [Documentation created/updated](https://gitlab.com/gitlab-org/gitlab-ce/blob/master/doc/development/doc_styleguide.md)
- [x] API support added
- Tests
  - [x] 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 you do - 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 #21076

See merge request !6449
2016-11-15 12:08:22 +00:00
..
artifacts
badges
blame
blob
boards Fixed issue boards when not logged in 2016-11-14 12:12:01 +00:00
branches
builds Merge branch '22307-pipeline-link-in-builds-view' into 'master' 2016-11-13 17:28:38 +00:00
buttons Merge branch 'always-show-download-button' into 'master' 2016-11-14 15:06:34 +00:00
ci remove unused class name 2016-11-10 16:48:55 -06:00
commit only display link to pipeline in generic build index, not on pipeline show 2016-11-10 16:38:00 -06:00
commits
compare
container_registry
cycle_analytics
deploy_keys
deployments
diffs Fix Error 500 when creating a merge request that contains an image that was deleted and added 2016-11-14 15:57:01 +01:00
environments
find_file
forks
generic_commit_statuses remove unused class name 2016-11-10 16:48:55 -06:00
graphs
group_links
hooks
imports
issues
labels
merge_requests Fix Merge Conflicts app to make it work with Vue 2 2016-11-10 17:53:34 +03:00
milestones
network
notes
pipelines
pipelines_settings
project_members
protected_branches
refs
releases
repositories
runners
services
snippets
tags
tree
triggers
variables
wikis
_activity.html.haml
_bitbucket_import_modal.html.haml
_commit_button.html.haml
_customize_workflow.html.haml
_errors.html.haml
_files.html.haml
_find_file_link.html.haml
_gitlab_import_modal.html.haml
_home_panel.html.haml
_last_commit.html.haml
_last_push.html.haml
_md_preview.html.haml
_merge_request_settings.html.haml
_readme.html.haml
_wiki.html.haml
_zen.html.haml
activity.html.haml
edit.html.haml
empty.html.haml
new.html.haml Fix project Visibility level selector not using default values 2016-11-10 14:41:03 -02:00
no_repo.html.haml
remove_fork.js.haml
show.atom.builder
show.html.haml
transfer.js.haml
update.js.haml