Retrospring/app/views/answerbox/_smiles.html.haml

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

13 lines
441 B
Plaintext
Raw Normal View History

.d-flex.smiles
.flex-shrink-0.me-1
2014-12-14 06:22:37 -08:00
%i.fa.fa-smile-o
.flex-grow-1
2020-05-10 05:22:04 -07:00
- if a.smiles.all.count.zero?
2022-07-30 13:45:40 -07:00
= t(".none")
2014-12-14 06:22:37 -08:00
- else
- a.smiles.all.each do |smile|
%a{ href: user_path(smile.user),
title: user_screen_name(smile.user, url: false),
2024-03-10 07:29:31 -07:00
data: { controller: :tooltip, bs_placement: :top, smile_id: smile.id, turbo: :false } }
= render AvatarComponent.new(user: smile.user, size: "xs")