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-23 17:47:24 +00:00
|
|
|
.col.col-lg-10.d-inline-flex.justify-content-between
|
|
|
|
%h4
|
|
|
|
%a{ href: comment['attributedTo'] }= profile['preferredUsername']
|
|
|
|
= render 'layouts/time', time: comment['published']
|
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
|
2024-02-23 17:47:24 +00:00
|
|
|
|