2024-01-22 17:17:24 +00:00
|
|
|
-# Componente Comentario
|
2024-02-21 20:34:46 +00:00
|
|
|
.flex.mx-4.my-4
|
2024-01-25 18:48:25 +00:00
|
|
|
.row.no-gutters
|
|
|
|
.col-1
|
2024-02-21 16:50:29 +00:00
|
|
|
= render 'components/checkbox', id: comment['id']
|
2024-02-19 16:57:39 +00:00
|
|
|
.col-11
|
2024-02-15 21:14:37 +00:00
|
|
|
.row.no-gutters
|
2024-02-21 20:52:53 +00:00
|
|
|
.col-5.col-sm-3.col-lg-4
|
|
|
|
%p
|
|
|
|
%span= comment['published'].to_datetime.strftime(t('date.format'))
|
|
|
|
%span= comment['published'].to_datetime.strftime(t('time.format'))
|
|
|
|
.col-7.col-sm-9.col-lg-8
|
2024-02-16 18:35:26 +00:00
|
|
|
%dl
|
|
|
|
%dt.d-inline.mr-2= t('.source_profile')
|
|
|
|
%dd.d-inline
|
|
|
|
%a{ href: comment['attributedTo'] }= profile['preferredUsername']
|
2024-02-15 19:46:04 +00:00
|
|
|
|
|
|
|
- if comment['inReplyTo']
|
2024-02-19 16:57:39 +00:00
|
|
|
.row.no-gutters
|
2024-02-15 19:46:04 +00:00
|
|
|
.col.p-0
|
2024-02-14 18:10:18 +00:00
|
|
|
%p
|
2024-02-21 20:34:46 +00:00
|
|
|
%span= t('.reply_to')
|
2024-02-14 18:10:18 +00:00
|
|
|
%span
|
|
|
|
%a{ href: comment['inReplyTo'] }= comment['inReplyTo']
|
2024-02-19 16:57:39 +00:00
|
|
|
.row.no-gutters
|
2024-02-14 17:44:33 +00:00
|
|
|
.col.p-0
|
2024-02-21 21:08:54 +00:00
|
|
|
- if comment['summary']
|
|
|
|
- summary = comment['summary']
|
|
|
|
= render 'layouts/details', summary: summary do
|
|
|
|
%p= comment['content'].html_safe
|
|
|
|
- else
|
|
|
|
%p= comment['content'].html_safe
|