Commit 48f516a8 authored by Robert Speicher's avatar Robert Speicher

Merge branch 'link_user_avatar_in_activity_page_to_profile' into 'master'

Link user avatar in activity page to user profile

Closes #14927

See merge request !3910
parents 9182c93c 0c0f6340
......@@ -4,7 +4,12 @@
#{time_ago_with_tooltip(event.created_at)}
= cache [event, current_application_settings, "v2.2"] do
= image_tag avatar_icon(event.author_email, 40), class: "avatar s40", alt:''
- if event.author
= link_to user_path(event.author.username) 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:''
- if event.created_project?
= render "events/event/created_project", event: event
- elsif event.push?
......
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