mirror of
https://0xacab.org/sutty/sutty
synced 2024-11-17 22:16:21 +00:00
fix: corregido compo comentario en cuenta de origen y fecha
This commit is contained in:
parent
2f19aae793
commit
e632bd249b
1 changed files with 5 additions and 10 deletions
|
@ -5,16 +5,10 @@
|
||||||
= render 'components/checkbox', id: comment['id']
|
= render 'components/checkbox', id: comment['id']
|
||||||
.col-11
|
.col-11
|
||||||
.row.no-gutters
|
.row.no-gutters
|
||||||
.col-5.col-sm-3.col-lg-4
|
.col.col-lg-10.d-inline-flex.justify-content-between
|
||||||
%p
|
%h4
|
||||||
%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']
|
%a{ href: comment['attributedTo'] }= profile['preferredUsername']
|
||||||
|
= render 'layouts/time', time: comment['published']
|
||||||
- if comment['inReplyTo']
|
- if comment['inReplyTo']
|
||||||
.row.no-gutters
|
.row.no-gutters
|
||||||
.col.p-0
|
.col.p-0
|
||||||
|
@ -30,3 +24,4 @@
|
||||||
%p= comment['content'].html_safe
|
%p= comment['content'].html_safe
|
||||||
- else
|
- else
|
||||||
%p= comment['content'].html_safe
|
%p= comment['content'].html_safe
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue