summaryrefslogtreecommitdiff
path: root/app/helpers/notes_helper.rb
diff options
context:
space:
mode:
authorDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2014-12-22 20:36:15 +0200
committerDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2014-12-22 20:36:15 +0200
commita2d188f688759b3889de576bb8019e189bcac902 (patch)
tree924bbc6f4778441e4c82c0ca437879f424954816 /app/helpers/notes_helper.rb
parent3eb586c12cf46fe0098c5c0fbec8478a44a5d77d (diff)
downloadgitlab-ce-a2d188f688759b3889de576bb8019e189bcac902.tar.gz
Render MR diff full size of screen
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
Diffstat (limited to 'app/helpers/notes_helper.rb')
-rw-r--r--app/helpers/notes_helper.rb7
1 files changed, 5 insertions, 2 deletions
diff --git a/app/helpers/notes_helper.rb b/app/helpers/notes_helper.rb
index 901052edec6..6d2244b8714 100644
--- a/app/helpers/notes_helper.rb
+++ b/app/helpers/notes_helper.rb
@@ -52,8 +52,11 @@ module NotesHelper
discussion_id: discussion_id
}
- button_tag '', class: 'btn add-diff-note js-add-diff-note-button',
- data: data, title: 'Add a comment to this line'
+ button_tag(class: 'btn add-diff-note js-add-diff-note-button',
+ data: data,
+ title: 'Add a comment to this line') do
+ content_tag :i, nil, class: 'fa fa-comment-o'
+ end
end
def link_to_reply_diff(note)