blob: 16ae003255c5feba4a2ec5993623ef4434905949 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
- 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)
|