2015-05-03 18:39:41 -07:00
|
|
|
|
.modal.fade{"id" => "modal-view-comment#{comment.id}-smiles","aria-hidden" => "true", "aria-labelledby" => "modal-view-comment#{comment.id}-smiles-label", :role => "dialog", :tabindex => "-1"}
|
|
|
|
|
.modal-dialog
|
|
|
|
|
.modal-content
|
|
|
|
|
.modal-header
|
2020-04-19 14:26:29 -07:00
|
|
|
|
%h5#modal-ask-followers-label.modal-title= t 'views.answerbox.commentsmile'
|
2015-05-03 18:39:41 -07:00
|
|
|
|
%button.close{"data-dismiss" => "modal", :type => "button"}
|
|
|
|
|
%span{"aria-hidden" => "true"} ×
|
|
|
|
|
%span.sr-only Close
|
|
|
|
|
.modal-body
|
|
|
|
|
- if comment.smiles.all.count == 0
|
2015-05-26 18:53:53 -07:00
|
|
|
|
= t 'views.answerbox.no_smile'
|
2015-05-03 18:39:41 -07:00
|
|
|
|
- else
|
|
|
|
|
%ul.user-list.user-list-smiles
|
|
|
|
|
- comment.smiles.all.each do |smile|
|
|
|
|
|
%li.user-list-entry.user-list-entry-smiles
|
|
|
|
|
%a{href: show_user_profile_path(smile.user.screen_name)}
|
2020-04-25 13:01:46 -07:00
|
|
|
|
%img.img-rounded{src: smile.user.profile_picture.url(:medium), alt: user_screen_name(smile.user, url: false)}
|
2017-03-30 10:17:25 -07:00
|
|
|
|
%span= user_screen_name(smile.user, url: false)
|