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

27 lines
816 B
Text

-# Componente Comentario
.row.no-gutters
.col-1
= render 'components/checkbox', id: comment['id']
.col-11
.row.no-gutters
.col.col-lg-10.d-inline-flex.justify-content-between
%h4
%a{ href: comment['attributedTo'] }= profile['preferredUsername']
= render 'layouts/time', time: comment['published']
- 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