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-14 17:38:34 +00:00
|
|
|
.row
|
|
|
|
.col.col-1.mr-5
|
2024-01-26 18:23:38 +00:00
|
|
|
%p= comment['published'].to_datetime.strftime('%m/%d/%Y')
|
2024-02-14 17:38:34 +00:00
|
|
|
.col
|
2024-02-14 17:51:27 +00:00
|
|
|
%p
|
|
|
|
%span.mr-2= t('.source_profile')
|
|
|
|
%a{ href: comment['attributedTo'] }= profile['preferredUsername']
|
2024-02-14 17:38:34 +00:00
|
|
|
.row
|
2024-02-14 17:44:33 +00:00
|
|
|
.col.p-0
|
2024-02-14 18:10:18 +00:00
|
|
|
- if comment['inReplyTo']
|
|
|
|
%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
|
|
|
|
%p= sanitize comment['content']
|