提交 da4eff4a 编写于 作者: C Ciro Santilli

Only show text wrap and diff notes for text in MR.

上级 376e004c
......@@ -15,12 +15,13 @@
%span.file-mode= "#{diff_file.diff.a_mode}#{diff_file.diff.b_mode}"
.diff-btn-group
- if blob.text?
- unless params[:view] == 'parallel'
%label
= check_box_tag nil, 1, false, class: "js-toggle-diff-line-wrap"
= check_box_tag nil, 1, false, class: 'js-toggle-diff-line-wrap'
Wrap text
 
= link_to "#", class: "js-toggle-diff-comments btn btn-small" do
= link_to '#', class: 'js-toggle-diff-comments btn btn-small' do
%i.icon-chevron-down
Diff comments
 
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册