2024-01-22 17:17:24 +00:00
|
|
|
-# Componente Comentario
|
2024-01-25 18:48:25 +00:00
|
|
|
.flex.mx-4.my-5
|
|
|
|
.row.no-gutters
|
|
|
|
.col-1
|
2024-02-09 16:17:00 +00:00
|
|
|
= render 'components/checkbox'
|
2024-01-25 18:48:25 +00:00
|
|
|
.col-10
|
2024-02-15 21:14:37 +00:00
|
|
|
.row.no-gutters
|
|
|
|
.col.col-4
|
2024-02-15 20:18:38 +00:00
|
|
|
%p= comment['published'].to_datetime.strftime(t('date.format'))
|
2024-02-15 21:14:37 +00:00
|
|
|
.col.col-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']
|
|
|
|
.row
|
|
|
|
.col.p-0
|
2024-02-14 18:10:18 +00:00
|
|
|
%p
|
|
|
|
%span.mr-3= t('.reply_to')
|
|
|
|
%span
|
|
|
|
%a{ href: comment['inReplyTo'] }= comment['inReplyTo']
|
2024-02-14 17:38:34 +00:00
|
|
|
.row
|
2024-02-14 17:44:33 +00:00
|
|
|
.col.p-0
|
2024-02-15 20:56:12 +00:00
|
|
|
%p= comment['content'].html_safe
|