debian-mirror-gitlab/app/views/shared/users/_user.html.haml

14 lines
460 B
Text
Raw Normal View History

2021-03-11 19:13:27 +05:30
- user = local_assigns.fetch(:user)
.col-lg-3.col-md-4.col-sm-12
.gl-card.gl-mb-5
.gl-card-body
= image_tag avatar_icon_for_user(user, 40), class: "avatar s40", alt: ''
.user-info
.block-truncated
2021-06-08 01:23:25 +05:30
= link_to user.name, user_path(user), class: 'user js-user-link', data: { user_id: user.id, qa_selector: 'user_link', qa_username: user.username }
2021-03-11 19:13:27 +05:30
.block-truncated
%span.gl-text-gray-900= user.to_reference