Commit 468a4666 authored by Tom Quirk's avatar Tom Quirk

Add icons for destroyed, updated activity events

parent bd75e6ea
...@@ -4,12 +4,14 @@ module EventsHelper ...@@ -4,12 +4,14 @@ module EventsHelper
ICON_NAMES_BY_EVENT_TYPE = { ICON_NAMES_BY_EVENT_TYPE = {
'pushed to' => 'commit', 'pushed to' => 'commit',
'pushed new' => 'commit', 'pushed new' => 'commit',
'updated' => 'commit',
'created' => 'status_open', 'created' => 'status_open',
'opened' => 'status_open', 'opened' => 'status_open',
'closed' => 'status_closed', 'closed' => 'status_closed',
'accepted' => 'fork', 'accepted' => 'fork',
'commented on' => 'comment', 'commented on' => 'comment',
'deleted' => 'remove', 'deleted' => 'remove',
'destroyed' => 'remove',
'imported' => 'import', 'imported' => 'import',
'joined' => 'users' 'joined' => 'users'
}.freeze }.freeze
......
---
title: Add Activity icons for Wiki updated and destroyed events
merge_request: 30349
author:
type: fixed
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment