summaryrefslogtreecommitdiff
path: root/app/views/projects/diffs
diff options
context:
space:
mode:
authorBryce Johnson <bryce@gitlab.com>2016-09-14 13:55:07 +0200
committerBryce Johnson <bryce@gitlab.com>2016-09-14 19:08:29 +0200
commit8ecaa256f80342a6424f5e4e0c46bcc729f876e6 (patch)
treec51dbaab3bb0d5d6d7f4804430f2703a1e50dffc /app/views/projects/diffs
parentbf6f9f34e9052eca8bce238ae91e7d7172b216eb (diff)
downloadgitlab-ce-8ecaa256f80342a6424f5e4e0c46bcc729f876e6.tar.gz
Style merge request diff dropdowns & disable comments.
Diffstat (limited to 'app/views/projects/diffs')
-rw-r--r--app/views/projects/diffs/_file.html.haml2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/projects/diffs/_file.html.haml b/app/views/projects/diffs/_file.html.haml
index ad2eb3e504f..1a51ccd4c7d 100644
--- a/app/views/projects/diffs/_file.html.haml
+++ b/app/views/projects/diffs/_file.html.haml
@@ -5,7 +5,7 @@
- unless diff_file.submodule?
.file-actions.hidden-xs
- if blob_text_viewable?(blob)
- = link_to '#', class: 'js-toggle-diff-comments btn active has-tooltip btn-file-option', title: "Toggle comments for this file" do
+ = link_to '#', class: 'js-toggle-diff-comments btn active has-tooltip btn-file-option', title: "Toggle comments for this files", disabled: @diff_notes_disabled do
= icon('comment')
\