summaryrefslogtreecommitdiff
path: root/app/views
diff options
context:
space:
mode:
authorFatih Acet <acetfatih@gmail.com>2016-06-17 03:17:25 +0300
committerFatih Acet <acetfatih@gmail.com>2016-06-23 23:09:34 +0300
commitc93b1304679d9dc57d3afe59551471c2ab6d2726 (patch)
tree3aa8bc07b8ca4a12bf643d4be79033431248cc57 /app/views
parent3cb2d081aa650bc48dfa5317a3c4cefe6e725970 (diff)
downloadgitlab-ce-diff-option-buttons.tar.gz
Completed JS requirements for new diff options dropdown.diff-option-buttons
Diffstat (limited to 'app/views')
-rw-r--r--app/views/projects/diffs/_diffs.html.haml4
1 files changed, 2 insertions, 2 deletions
diff --git a/app/views/projects/diffs/_diffs.html.haml b/app/views/projects/diffs/_diffs.html.haml
index 61971b6799e..6c86c307012 100644
--- a/app/views/projects/diffs/_diffs.html.haml
+++ b/app/views/projects/diffs/_diffs.html.haml
@@ -5,13 +5,13 @@
- diff_files = safe_diff_files(diffs, diff_refs)
.content-block.oneline-block.files-changed
- .inline-parallel-buttons.dropdown
+ .diff-option-buttons.dropdown
%button.btn.btn-default{ type: "button", data: { toggle: "dropdown" } }
Options
%span.caret
%ul.dropdown-menu.dropdown-menu-align-right.dropdown-menu-selectable
%li
- %a.is-unselectable{ href: "#", data: { hide_text: "Hide all comments", show_text: "Show all comments" } }
+ %a.is-unselectable.js-diff-comments-button{ href: "#", data: { state: "visible" } }
Hide all comments
%li
- if show_whitespace_toggle