summaryrefslogtreecommitdiff
path: root/app/views/events/event/_push.html.haml
diff options
context:
space:
mode:
Diffstat (limited to 'app/views/events/event/_push.html.haml')
-rw-r--r--app/views/events/event/_push.html.haml8
1 files changed, 4 insertions, 4 deletions
diff --git a/app/views/events/event/_push.html.haml b/app/views/events/event/_push.html.haml
index 8acee9c1da0..d67139777a1 100644
--- a/app/views/events/event/_push.html.haml
+++ b/app/views/events/event/_push.html.haml
@@ -1,14 +1,14 @@
- project = event.project
-- if current_path?('dashboard#activity')
- .system-note-image.user-avatar
- = author_avatar(event, size: 32)
-- else
+- if current_path?('users#show')
.system-note-image
- if event.action_name == "deleted"
= custom_icon("trash_o")
- else
= custom_icon("icon_commit")
+- else
+ .system-note-image.user-avatar
+ = author_avatar(event, size: 32)
.event-title
%span.author_name= link_to_author event