19 lines
739 B
Text
19 lines
739 B
Text
- starrer = local_assigns.fetch(:starrer)
|
|
|
|
.col-lg-3.col-md-4.col-sm-12
|
|
= render Pajamas::CardComponent.new(body_options: { class: 'gl-display-flex' }) do |c|
|
|
- c.with_body do
|
|
= render Pajamas::AvatarComponent.new(starrer.user, size: 48, alt: "", class: 'gl-mr-3')
|
|
|
|
.user-info
|
|
.block-truncated
|
|
= link_to starrer.user.name, user_path(starrer.user), class: 'user js-user-link', data: { user_id: starrer.user.id }
|
|
|
|
.block-truncated
|
|
%span.cgray= starrer.user.to_reference
|
|
|
|
- if starrer.user == current_user
|
|
= gl_badge_tag _("It's you"), variant: :success, size: :sm, class: 'gl-ml-2'
|
|
|
|
.block-truncated
|
|
= time_ago_with_tooltip(starrer.starred_since)
|