be231d2165
Whenever we already deal with a User object, let's use the more specific method avatar_icon_for_user.
7 lines
304 B
Text
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
|