retrospring/app/views/answerbox/_smiles.haml

13 lines
412 B
Text
Raw Normal View History

2014-12-14 15:41:08 +01:00
.media.smiles
2014-12-14 15:22:37 +01:00
.pull-left
%i.fa.fa-smile-o
.media-body
2020-05-10 14:22:04 +02:00
- if a.smiles.all.count.zero?
2022-07-30 22:45:40 +02:00
= t(".none")
2014-12-14 15:22:37 +01:00
- else
- a.smiles.all.each do |smile|
%a{ href: user_path(smile.user),
title: user_screen_name(smile.user, url: false),
2020-05-10 14:22:04 +02:00
data: { toggle: :tooltip, placement: :top, smile_id: smile.id } }
%img.avatar-xs{ src: smile.user.profile_picture.url(:medium) }