debian-mirror-gitlab/app/views/projects/starrers/_starrer.html.haml

20 lines
616 B
Text
Raw Normal View History

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
2020-07-28 23:09:34 +05:30
%span.badge.badge-success.gl-ml-2= _("It's you")
2019-10-12 21:52:04 +05:30
.block-truncated
= time_ago_with_tooltip(starrer.starred_since)