13 lines
542 B
Text
13 lines
542 B
Text
- user = local_assigns.fetch(:user)
|
|
|
|
.col-lg-3.col-md-4.col-sm-12
|
|
= render Pajamas::CardComponent.new(card_options: { class: 'gl-mb-5' }) do |c|
|
|
= c.body do
|
|
= render Pajamas::AvatarComponent.new(user, size: 48, alt: "", class: 'gl-float-left gl-mr-3')
|
|
|
|
.user-info
|
|
.block-truncated
|
|
= 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 }
|
|
|
|
.block-truncated
|
|
%span.gl-text-gray-900= user.to_reference
|