diff options
author | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2013-11-25 22:21:11 +0200 |
---|---|---|
committer | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2013-11-25 22:21:11 +0200 |
commit | 8e117f0e375e7bd8868ac53b16989f0028e66a4d (patch) | |
tree | a527b673bd9b2dd97ec8fb6454229f87a5076075 /app/helpers/events_helper.rb | |
parent | a5f7f5d8b4798cfd0b03f79f5d06fdadb0eb9885 (diff) | |
download | gitlab-ce-8e117f0e375e7bd8868ac53b16989f0028e66a4d.tar.gz |
Reduce strong html tag usage for dashboard events
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
Diffstat (limited to 'app/helpers/events_helper.rb')
-rw-r--r-- | app/helpers/events_helper.rb | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/app/helpers/events_helper.rb b/app/helpers/events_helper.rb index 4aeb65752f0..d3671efa559 100644 --- a/app/helpers/events_helper.rb +++ b/app/helpers/events_helper.rb @@ -102,15 +102,11 @@ module EventsHelper end elsif event.note_project_snippet? link_to(project_snippet_path(event.project, event.note_target)) do - content_tag :strong do - "#{event.note_target_type} ##{truncate event.note_target_id}" - end + "#{event.note_target_type} ##{truncate event.note_target_id}" end else link_to event_note_target_path(event) do - content_tag :strong do - "#{event.note_target_type} ##{truncate event.note_target_iid}" - end + "#{event.note_target_type} ##{truncate event.note_target_iid}" end end elsif event.wall_note? |