5
0
Fork 0
mirror of https://0xacab.org/sutty/sutty synced 2024-11-26 16:56:22 +00:00
panel/app/views/moderation_queue/_comment.haml

33 lines
1 KiB
Text
Raw Normal View History

-# Componente Comentario
.flex.mx-4.my-4
.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
.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
2024-02-16 18:35:26 +00:00
%dl
%dt.d-inline.mr-2= t('.source_profile')
%dd.d-inline
%a{ href: comment['attributedTo'] }= profile['preferredUsername']
- if comment['inReplyTo']
2024-02-19 16:57:39 +00:00
.row.no-gutters
.col.p-0
%p
%span= t('.reply_to')
%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
- if comment['summary']
- summary = comment['summary']
= render 'layouts/details', summary: summary do
%p= comment['content'].html_safe
- else
%p= comment['content'].html_safe