summaryrefslogtreecommitdiff
path: root/app/views/events
diff options
context:
space:
mode:
authorAnnabel Dunstone Gray <annabel.dunstone@gmail.com>2017-03-31 16:17:34 -0500
committerAnnabel Dunstone Gray <annabel.dunstone@gmail.com>2017-04-03 08:34:36 -0500
commit99ff4d30b45bcef8d01ef24801842f7b9ffc66f5 (patch)
tree691af930eb4ddc95a412c401d6a465469dec1cf2 /app/views/events
parent32bb33f717ccae968949d30d058e828e31d72cf2 (diff)
downloadgitlab-ce-99ff4d30b45bcef8d01ef24801842f7b9ffc66f5.tar.gz
Add deleted branch icon
Diffstat (limited to 'app/views/events')
-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}