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.haml5
1 files changed, 4 insertions, 1 deletions
diff --git a/app/views/events/event/_push.html.haml b/app/views/events/event/_push.html.haml
index 4abda4d9db4..1583f380737 100644
--- a/app/views/events/event/_push.html.haml
+++ b/app/views/events/event/_push.html.haml
@@ -1,7 +1,10 @@
- project = event.project
.profile-icon
- = custom_icon("icon_commit")
+ - if event.action_name == "deleted"
+ = custom_icon("trash_o")
+ - else
+ = custom_icon("icon_commit")
.event-title
%span.pushed #{event.action_name} #{event.ref_type}