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

10 lines
434 B
Plaintext
Raw Normal View History

2014-12-14 06:41:08 -08:00
.media.smiles
2014-12-14 06:22:37 -08:00
.pull-left
%i.fa.fa-smile-o
.media-body
- if a.smiles.all.count == 0
2015-05-26 18:53:53 -07:00
= t 'views.answerbox.no_smile'
2014-12-14 06:22:37 -08:00
- else
- a.smiles.all.each do |smile|
2015-01-06 08:33:02 -08: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-04-20 15:18:14 -07:00
%img.img-rounded.answerbox--img-small{src: smile.user.profile_picture.url(:medium)}