5
0
Fork 0
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:
jazzari 2024-02-23 14:47:24 -03:00
parent 2f19aae793
commit e632bd249b

View file

@ -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')) %a{ href: comment['attributedTo'] }= profile['preferredUsername']
%span= comment['published'].to_datetime.strftime(t('time.format')) = render 'layouts/time', time: comment['published']
.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'] - 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