diff options
Diffstat (limited to 'app/views/projects/starrers/_starrer.html.haml')
-rw-r--r-- | app/views/projects/starrers/_starrer.html.haml | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/app/views/projects/starrers/_starrer.html.haml b/app/views/projects/starrers/_starrer.html.haml index d8eee17dff4..377d62f8abd 100644 --- a/app/views/projects/starrers/_starrer.html.haml +++ b/app/views/projects/starrers/_starrer.html.haml @@ -1,19 +1,19 @@ -- user = local_assigns.fetch(:user) +- starrer = local_assigns.fetch(:starrer) .col-lg-3.col-md-4.col-sm-12 .card .card-body - = image_tag avatar_icon_for_user(user, 40), class: "avatar s40", alt: '' + = image_tag avatar_icon_for_user(starrer.user, 40), class: "avatar s40", alt: '' .user-info .block-truncated - = link_to user.name, user_path(user), class: 'user js-user-link', data: { user_id: user.id } + = link_to starrer.user.name, user_path(starrer.user), class: 'user js-user-link', data: { user_id: starrer.user.id } .block-truncated - %span.cgray= user.to_reference + %span.cgray= starrer.user.to_reference - - if user == current_user + - if starrer.user == current_user %span.badge.badge-success.prepend-left-5= _("It's you") .block-truncated - = time_ago_with_tooltip(user.starred_since) + = time_ago_with_tooltip(starrer.starred_since) |