gitlab-org--gitlab-foss/app/views/projects/jobs/_user.html.haml
Andreas Brandl be231d2165 Use more specific #avatar_icon_for_user.
Whenever we already deal with a User object, let's use the more specific
method avatar_icon_for_user.
2018-02-13 18:04:51 +01:00

7 lines
304 B
Text

by
%a{ href: user_path(@build.user) }
%span.hidden-xs
= image_tag avatar_icon_for_user(@build.user, 24), class: "avatar s24"
%strong{ data: { toggle: 'tooltip', placement: 'top', title: @build.user.to_reference } }
= @build.user.name
%strong.visible-xs-inline= @build.user.to_reference