summaryrefslogtreecommitdiff
path: root/app/helpers/notes_helper.rb
diff options
context:
space:
mode:
authorRobert Speicher <rspeicher@gmail.com>2015-01-28 03:32:48 -0500
committerRobert Speicher <rspeicher@gmail.com>2015-01-28 03:48:18 -0500
commit4e7a4cd95696746bcab78a4f9ec071dd4089397a (patch)
treee7abebe5edd248e6369a5eb5ea4e4b28fcf8f6ec /app/helpers/notes_helper.rb
parentfe831dcd6f4af535abba1a9dc350c4d8a0f809e9 (diff)
downloadgitlab-ce-4e7a4cd95696746bcab78a4f9ec071dd4089397a.tar.gz
Use `icon` helper method in helper modules
Diffstat (limited to 'app/helpers/notes_helper.rb')
-rw-r--r--app/helpers/notes_helper.rb6
1 files changed, 3 insertions, 3 deletions
diff --git a/app/helpers/notes_helper.rb b/app/helpers/notes_helper.rb
index 8f493f5d331..d41d5617396 100644
--- a/app/helpers/notes_helper.rb
+++ b/app/helpers/notes_helper.rb
@@ -22,7 +22,7 @@ module NotesHelper
ts << capture_haml do
haml_tag :span do
haml_concat '&middot;'
- haml_concat '<i class="fa fa-edit" title="edited"></i> '
+ haml_concat icon('edit', title: 'edited')
haml_concat time_ago_with_tooltip(note.updated_at, 'bottom', 'note_edited_ago')
end
end
@@ -57,7 +57,7 @@ module NotesHelper
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'
+ icon('comment-o')
end
end
@@ -74,7 +74,7 @@ module NotesHelper
button_tag class: 'btn reply-btn js-discussion-reply-button',
data: data, title: 'Add a reply' do
- link_text = content_tag(:i, nil, class: 'fa fa-comment')
+ link_text = icon('comment')
link_text << ' Reply'
end
end