gitlab-org--gitlab-foss/app/views/shared/milestones/_participants_tab.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

8 lines
282 B
Text

%ul.bordered-list
- users.each do |user|
%li
= link_to user, title: user.name, class: "darken" do
= image_tag avatar_icon_for_user(user, 32), class: "avatar s32"
%strong= truncate(user.name, length: 40)
%div
%small.cgray= user.username