gitlab-org--gitlab-foss/app/views/projects/diffs
Jacob Schatz 964d1bb143 Merge branch '21369-make-it-clearer-that-diffs-can-be-collapsed' into 'master'
Updated diff toggle targets and added icon

## What does this MR do?

Adds the new diff toggle icon and alters the toggle targets.

User can now click on the file header bar _(where no other elements are above it, apart from the icon)_ and the `Click to expand` link to expand the diff and no where else.

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

## Why was this MR needed?

## Screenshots (if relevant)

![Screen_Shot_2016-09-02_at_15.35.15](/uploads/c1cb8c0547328153250294d6c95dd96a/Screen_Shot_2016-09-02_at_15.35.15.png)

####  Gif

![2016-09-02_15.34.31](/uploads/abaefaeba9ce8ef129522dae34574c57/2016-09-02_15.34.31.gif)

## Does this MR meet the acceptance criteria?

- [ ] [CHANGELOG](https://gitlab.com/gitlab-org/gitlab-ce/blob/master/CHANGELOG) entry 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
  - [ ] All builds are passing
- [ ] Conform by the [merge request performance guides](http://docs.gitlab.com/ce/development/merge_request_performance_guidelines.html)
- [ ] Conform by the [style guides](https://gitlab.com/gitlab-org/gitlab-ce/blob/master/CONTRIBUTING.md#style-guides)
- [ ] Branch has no merge conflicts with `master` (if you do - rebase it please)
- [ ] [Squashed related commits together](https://git-scm.com/book/en/Git-Tools-Rewriting-History#Squashing-Commits)

## What are the relevant issue numbers?

Closes #21369 

Closes #20326

See merge request !6183
2016-10-01 10:59:32 +00:00
..
_content.html.haml Updated diff toggle targets and added icon 2016-09-03 20:24:31 +01:00
_diffs.html.haml Merge branch 'side-by-side-unfold' into 'master' 2016-08-05 00:47:07 +00:00
_file.html.haml fix typo "this files" -> "this file" 2016-09-29 13:21:38 +03:00
_file_header.html.haml Updated diff toggle targets and added icon 2016-09-03 20:24:31 +01:00
_image.html.haml
_line.html.haml Fix expansion of discussions in diff 2016-08-18 20:49:25 -05:00
_parallel_view.html.haml Add unfold links for Side-by-Side view 2016-08-04 09:09:59 +03:00
_stats.html.haml Bump gitlab_git to speedup DiffCollection iterations 2016-07-29 13:22:22 +02:00
_text_file.html.haml Fix expansion of discussions in diff 2016-08-18 20:49:25 -05:00
_warning.html.haml Bump gitlab_git to speedup DiffCollection iterations 2016-07-29 13:22:22 +02:00