2019-10-12 21:52:04 +05:30
|
|
|
- starrer = local_assigns.fetch(:starrer)
|
|
|
|
|
|
|
|
.col-lg-3.col-md-4.col-sm-12
|
|
|
|
.card
|
|
|
|
.card-body
|
|
|
|
= image_tag avatar_icon_for_user(starrer.user, 40), class: "avatar s40", alt: ''
|
|
|
|
|
|
|
|
.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
|
2022-01-26 12:08:38 +05:30
|
|
|
= gl_badge_tag _("It's you"), variant: :success, size: :sm, class: 'gl-ml-2'
|
2019-10-12 21:52:04 +05:30
|
|
|
|
|
|
|
.block-truncated
|
|
|
|
= time_ago_with_tooltip(starrer.starred_since)
|