Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnnabel Dunstone Gray <annabel.dunstone@gmail.com>2017-04-06 21:47:46 +0300
committerJacob Schatz <jschatz1@gmail.com>2017-04-07 02:22:33 +0300
commit5c7953fb82c8982d0928892812e55711cab2e11c (patch)
tree2430dcc262882608223a8b3c27e10705c523a363 /app/helpers
parent087e83287f749b7d78230c1c535dc58b836a32a4 (diff)
Leave icon area blank if legacy note; remove diamond icon
Diffstat (limited to 'app/helpers')
-rw-r--r--app/helpers/system_note_helper.rb4
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