2024-01-22 17:17:24 +00:00
|
|
|
-# Componente Comentario
|
2024-02-27 18:05:16 +00:00
|
|
|
|
|
|
|
.row.no-gutters
|
|
|
|
.col-1
|
|
|
|
= render 'components/checkbox', id: comment['id']
|
|
|
|
.col-11
|
2024-03-04 14:59:29 +00:00
|
|
|
.d-flex.flex-row.align-items-center.justify-content-between
|
|
|
|
%h4.mb-0
|
|
|
|
%a{ href: comment['attributedTo'] }= sanitize profile['preferredUsername']
|
|
|
|
%small
|
2024-02-27 18:05:16 +00:00
|
|
|
= render 'layouts/time', time: comment['published']
|
2024-03-04 14:59:29 +00:00
|
|
|
- if comment['inReplyTo'].present?
|
|
|
|
%dl
|
|
|
|
%dt.d-inline
|
|
|
|
%small= t('.reply_to')
|
|
|
|
%dd.d-inline
|
|
|
|
%small
|
|
|
|
%a{ href: comment['inReplyTo'] }= sanitize comment['inReplyTo']
|
|
|
|
%div
|
|
|
|
- if comment['summary'].present?
|
|
|
|
= render 'layouts/details', summary: comment['summary'], summary_class: 'h5' do
|
|
|
|
= sanitize comment['content']
|
|
|
|
- else
|
|
|
|
= sanitize comment['content']
|