diff options
author | Annabel Dunstone Gray <annabel.dunstone@gmail.com> | 2017-04-06 13:47:46 -0500 |
---|---|---|
committer | Jacob Schatz <jschatz1@gmail.com> | 2017-04-06 19:22:33 -0400 |
commit | 5c7953fb82c8982d0928892812e55711cab2e11c (patch) | |
tree | 2430dcc262882608223a8b3c27e10705c523a363 /app/helpers/system_note_helper.rb | |
parent | 087e83287f749b7d78230c1c535dc58b836a32a4 (diff) | |
download | gitlab-ce-5c7953fb82c8982d0928892812e55711cab2e11c.tar.gz |
Leave icon area blank if legacy note; remove diamond icon
Diffstat (limited to 'app/helpers/system_note_helper.rb')
-rw-r--r-- | app/helpers/system_note_helper.rb | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/app/helpers/system_note_helper.rb b/app/helpers/system_note_helper.rb index 7882c4f71a3..dcf5a301750 100644 --- a/app/helpers/system_note_helper.rb +++ b/app/helpers/system_note_helper.rb @@ -37,10 +37,8 @@ module SystemNoteHelper 'icon_comment_o' when 'moved' 'icon_arrow-circle-o-right' - else - 'icon_diamond' end - custom_icon(icon_name) + custom_icon(icon_name) if icon_name end end |