diff options
author | Annabel Dunstone Gray <annabel.dunstone@gmail.com> | 2017-04-11 20:32:42 +0300 |
---|---|---|
committer | Annabel Dunstone Gray <annabel.dunstone@gmail.com> | 2017-04-11 20:32:42 +0300 |
commit | 71b7461f371c2257d85ab05c8463e440f569053d (patch) | |
tree | 51f8862cf68354d7fdf3b6935fb449563c03ece0 /app/views/events/event/_created_project.html.haml | |
parent | d4c5dc49e0e8b419b507369ec33946392eb315be (diff) |
Reuse system notes helper for profile event icons
Diffstat (limited to 'app/views/events/event/_created_project.html.haml')
-rw-r--r-- | app/views/events/event/_created_project.html.haml | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/app/views/events/event/_created_project.html.haml b/app/views/events/event/_created_project.html.haml index 653aa16ca00..c08c9442fa9 100644 --- a/app/views/events/event/_created_project.html.haml +++ b/app/views/events/event/_created_project.html.haml @@ -1,6 +1,6 @@ - if current_path?('users#show') - .system-note-image.open-icon - = custom_icon("icon_status_open") + .system-note-image{ class: "#{event.action_name}-icon" } + = icon_for_system_note(event.action_name) - else .system-note-image.user-avatar = author_avatar(event, size: 32) |