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

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

20 lines
739 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
2023-05-27 22:25:52 +05:30
= render Pajamas::CardComponent.new(body_options: { class: 'gl-display-flex' }) do |c|
2023-07-09 08:55:56 +05:30
- c.with_body do
2022-11-25 23:54:43 +05:30
= render Pajamas::AvatarComponent.new(starrer.user, size: 48, alt: "", class: 'gl-mr-3')
2019-10-12 21:52:04 +05:30
.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)