retrospring/app/views/answerbox/_smiles.haml

10 lines
411 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
- if a.smiles.all.count == 0
2015-05-27 03:53:53 +02:00
= t 'views.answerbox.no_smile'
2014-12-14 15:22:37 +01:00
- else
- a.smiles.all.each do |smile|
2015-01-06 17:33:02 +01:00
%a{href: show_user_profile_path(smile.user.screen_name), title: smile.user.screen_name, data: { toggle: :tooltip, placement: :top, smile_id: smile.id }}
2020-05-02 20:35:28 +02:00
%img.avatar-xs{src: smile.user.profile_picture.url(:medium)}