summaryrefslogtreecommitdiff
path: root/app/views/events/_event.html.haml
diff options
context:
space:
mode:
authorwinniehell <git@winniehell.de>2016-07-09 02:47:05 +0200
committerwinniehell <git@winniehell.de>2016-07-20 17:44:28 +0200
commit6558586f15f493968129b78544d76486cd2a6cd4 (patch)
tree21eb690f24c215413882f1e037779671198b08f8 /app/views/events/_event.html.haml
parentdc761e3a0a7bf9ff4feddc4785113df33a585cd2 (diff)
downloadgitlab-ce-6558586f15f493968129b78544d76486cd2a6cd4.tar.gz
Add link to user profile to commit avatar (!5163)
Diffstat (limited to 'app/views/events/_event.html.haml')
-rw-r--r--app/views/events/_event.html.haml6
1 files changed, 1 insertions, 5 deletions
diff --git a/app/views/events/_event.html.haml b/app/views/events/_event.html.haml
index e4629bae0e6..5c318cd3b8b 100644
--- a/app/views/events/_event.html.haml
+++ b/app/views/events/_event.html.haml
@@ -4,11 +4,7 @@
#{time_ago_with_tooltip(event.created_at)}
= cache [event, current_application_settings, "v2.2"] do
- - if event.author
- = link_to user_path(event.author) do
- = image_tag avatar_icon(event.author_email, 40), class: "avatar s40", alt:''
- - else
- = image_tag avatar_icon(event.author_email, 40), class: "avatar s40", alt:''
+ = author_avatar(event, size: 40)
- if event.created_project?
= render "events/event/created_project", event: event