diff options
author | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2015-03-19 03:53:43 +0300 |
---|---|---|
committer | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2015-03-19 03:53:43 +0300 |
commit | e0f8e022f7c8cf73247a3918a689c10c23b19516 (patch) | |
tree | 82e144d117bbe18958390971f1332a91fe5d878d /app/views/projects | |
parent | e7e329d36402ff84f4ba08184283853518136d7f (diff) |
Improve comment toggle button in diff
Diffstat (limited to 'app/views/projects')
-rw-r--r-- | app/views/projects/diffs/_file.html.haml | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/app/views/projects/diffs/_file.html.haml b/app/views/projects/diffs/_file.html.haml index a9e4d63cd98..2beb768b926 100644 --- a/app/views/projects/diffs/_file.html.haml +++ b/app/views/projects/diffs/_file.html.haml @@ -22,9 +22,8 @@ .diff-btn-group - if blob.text? - = link_to '#', class: 'js-toggle-diff-comments btn btn-sm' do - %i.fa.fa-chevron-down - Show/Hide comments + = link_to '#', class: 'js-toggle-diff-comments btn btn-sm active' do + %i.fa.fa-comments - if @merge_request && @merge_request.source_project |