diff options
author | Annabel Dunstone Gray <annabel.dunstone@gmail.com> | 2017-04-11 13:24:04 -0500 |
---|---|---|
committer | Annabel Dunstone Gray <annabel.dunstone@gmail.com> | 2017-04-11 13:47:41 -0500 |
commit | 466ca12ee4b3b76f66c4454e7387cfd841d88262 (patch) | |
tree | 81ab088797cd9ba2e356875615bdd0bd39b1111a /app/views/events/event/_common.html.haml | |
parent | 71b7461f371c2257d85ab05c8463e440f569053d (diff) | |
download | gitlab-ce-466ca12ee4b3b76f66c4454e7387cfd841d88262.tar.gz |
Add helper for using avatars vs icons
Diffstat (limited to 'app/views/events/event/_common.html.haml')
-rw-r--r-- | app/views/events/event/_common.html.haml | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/app/views/events/event/_common.html.haml b/app/views/events/event/_common.html.haml index b7cb5d3ed63..01e72862114 100644 --- a/app/views/events/event/_common.html.haml +++ b/app/views/events/event/_common.html.haml @@ -1,10 +1,4 @@ -- if current_path?('users#show') - - if event.target - .system-note-image{ class: "#{event.action_name}-icon" } - = icon_for_system_note(event.action_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 |