debian-mirror-gitlab/app/views/projects/starrers/_starrer.html.haml
2021-04-29 21:17:54 +05:30

19 lines
633 B
Text

- 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
%span.badge-pill.badge-success.gl-badge.gl-ml-2.sm= _("It's you")
.block-truncated
= time_ago_with_tooltip(starrer.starred_since)