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

28 lines
816 B
Text
Raw Permalink Normal View History

-# 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']
2024-02-19 16:57:39 +00:00
.row.no-gutters
2024-02-14 17:44:33 +00:00
.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