mirror of
https://0xacab.org/sutty/sutty
synced 2025-02-17 00:21:47 +00:00
32 lines
1 KiB
Text
32 lines
1 KiB
Text
-# Componente Comentario
|
|
.flex.mx-4.my-4
|
|
.row.no-gutters
|
|
.col-1
|
|
= render 'components/checkbox', id: comment['id']
|
|
.col-11
|
|
.row.no-gutters
|
|
.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
|
|
%dl
|
|
%dt.d-inline.mr-2= t('.source_profile')
|
|
%dd.d-inline
|
|
%a{ href: comment['attributedTo'] }= profile['preferredUsername']
|
|
|
|
- if comment['inReplyTo']
|
|
.row.no-gutters
|
|
.col.p-0
|
|
%p
|
|
%span= t('.reply_to')
|
|
%span
|
|
%a{ href: comment['inReplyTo'] }= comment['inReplyTo']
|
|
.row.no-gutters
|
|
.col.p-0
|
|
- if comment['summary']
|
|
- summary = comment['summary']
|
|
= render 'layouts/details', summary: summary do
|
|
%p= comment['content'].html_safe
|
|
- else
|
|
%p= comment['content'].html_safe
|