5
0
Fork 0
mirror of https://0xacab.org/sutty/sutty synced 2024-11-16 20:36:21 +00:00

fix: corregida alineación de checkbox general en details comentarios

This commit is contained in:
jazzari 2024-02-27 15:05:16 -03:00
parent cda5fc1215
commit 0dba9e5500
3 changed files with 24 additions and 23 deletions

View file

@ -1,27 +1,27 @@
-# Componente Comentario
.flex.mx-4.my-4
.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-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
- if comment['summary']
- summary = comment['summary']
= render 'layouts/details', summary: summary do
%p= comment['content'].html_safe
- else
%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

View file

@ -1,7 +1,7 @@
.row.no-gutters.pt-2
.col-1.d-flex.align-items-center
= render 'components/checkbox', id: moderation_queue.first['id']
.col-11
.col-md-9
-# Filtros
= render 'components/comments_filters'

View file

@ -6,6 +6,7 @@
= render 'components/comments_filters'
- moderation_queue.each do |comment|
%hr
= render 'moderation_queue/comment', comment: comment, profile: comment['attributedTo']
-# Botones moderación