Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLuke "Jared" Bennett <lbennett@gitlab.com>2016-06-09 20:26:14 +0300
committerLuke "Jared" Bennett <lbennett@gitlab.com>2016-06-10 19:31:28 +0300
commita9d14ddcedb7c126b8ee4942b0ca6e794ff996f8 (patch)
treed1f1871cc72f84bc0a5fc35b694278860ff0b5f1 /app/views/projects/diffs/_diffs.html.haml
parentbedb711453d618e16bccc1e150d7a6437d8342d0 (diff)
added whitespace toggle to diffs page and set it to return the project compare path with the selected whitespace params
Updated CHANGELOG Moved CHANGELOG entry
Diffstat (limited to 'app/views/projects/diffs/_diffs.html.haml')
-rw-r--r--app/views/projects/diffs/_diffs.html.haml2
1 files changed, 2 insertions, 0 deletions
diff --git a/app/views/projects/diffs/_diffs.html.haml b/app/views/projects/diffs/_diffs.html.haml
index d9c4b410d32..1e8d99f06eb 100644
--- a/app/views/projects/diffs/_diffs.html.haml
+++ b/app/views/projects/diffs/_diffs.html.haml
@@ -11,6 +11,8 @@
= commit_diff_whitespace_link(@project, @commit, class: 'hidden-xs')
- elsif current_controller?(:merge_requests)
= diff_merge_request_whitespace_link(@project, @merge_request, class: 'hidden-xs')
+ - elsif current_controller?(:compare)
+ = diff_compare_whitespace_link(@project, params[:from], params[:to], class: 'hidden-xs')
.btn-group
= inline_diff_btn
= parallel_diff_btn