From 466ca12ee4b3b76f66c4454e7387cfd841d88262 Mon Sep 17 00:00:00 2001 From: Annabel Dunstone Gray Date: Tue, 11 Apr 2017 13:24:04 -0500 Subject: Add helper for using avatars vs icons --- app/views/events/event/_push.html.haml | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) (limited to 'app/views/events/event/_push.html.haml') diff --git a/app/views/events/event/_push.html.haml b/app/views/events/event/_push.html.haml index be0eb6cb5ee..c0943100ae3 100644 --- a/app/views/events/event/_push.html.haml +++ b/app/views/events/event/_push.html.haml @@ -1,10 +1,6 @@ - project = event.project -- if current_path?('users#show') - .system-note-image - = icon_for_system_note(event.data[:event_name]) -- else - .system-note-image.user-avatar - = author_avatar(event, size: 32) + += icon_for_profile_event(event) .event-title %span.author_name= link_to_author event -- cgit v1.2.3