diff options
author | Fatih Acet <acetfatih@gmail.com> | 2016-06-17 03:17:25 +0300 |
---|---|---|
committer | Fatih Acet <acetfatih@gmail.com> | 2016-06-23 23:09:34 +0300 |
commit | c93b1304679d9dc57d3afe59551471c2ab6d2726 (patch) | |
tree | 3aa8bc07b8ca4a12bf643d4be79033431248cc57 /app/views | |
parent | 3cb2d081aa650bc48dfa5317a3c4cefe6e725970 (diff) | |
download | gitlab-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.haml | 4 |
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 |