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

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

14 lines
520 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
2022-07-23 23:45:48 +05:30
= render Pajamas::CardComponent.new(card_options: { class: 'gl-mb-5' }) do |c|
= c.body do
2021-03-11 19:13:27 +05:30
= 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