mirror of
https://0xacab.org/sutty/sutty
synced 2024-11-16 20:26:22 +00:00
fix: corregida alineación de checkbox general en details comentarios
This commit is contained in:
parent
cda5fc1215
commit
0dba9e5500
3 changed files with 24 additions and 23 deletions
|
@ -1,27 +1,27 @@
|
||||||
-# Componente Comentario
|
-# Componente Comentario
|
||||||
.flex.mx-4.my-4
|
|
||||||
.row.no-gutters
|
.row.no-gutters
|
||||||
.col-1
|
.col-1
|
||||||
= render 'components/checkbox', id: comment['id']
|
= render 'components/checkbox', id: comment['id']
|
||||||
.col-11
|
.col-11
|
||||||
.row.no-gutters
|
.row.no-gutters
|
||||||
.col.col-lg-10.d-inline-flex.justify-content-between
|
.col.col-lg-10.d-inline-flex.justify-content-between
|
||||||
%h4
|
%h4
|
||||||
%a{ href: comment['attributedTo'] }= profile['preferredUsername']
|
%a{ href: comment['attributedTo'] }= profile['preferredUsername']
|
||||||
= render 'layouts/time', time: comment['published']
|
= render 'layouts/time', time: comment['published']
|
||||||
- if comment['inReplyTo']
|
- if comment['inReplyTo']
|
||||||
.row.no-gutters
|
|
||||||
.col.p-0
|
|
||||||
%p
|
|
||||||
%span= t('.reply_to')
|
|
||||||
%span
|
|
||||||
%a{ href: comment['inReplyTo'] }= comment['inReplyTo']
|
|
||||||
.row.no-gutters
|
.row.no-gutters
|
||||||
.col.p-0
|
.col.p-0
|
||||||
- if comment['summary']
|
%p
|
||||||
- summary = comment['summary']
|
%span= t('.reply_to')
|
||||||
= render 'layouts/details', summary: summary do
|
%span
|
||||||
%p= comment['content'].html_safe
|
%a{ href: comment['inReplyTo'] }= comment['inReplyTo']
|
||||||
- else
|
.row.no-gutters
|
||||||
|
.col.p-0
|
||||||
|
- if comment['summary']
|
||||||
|
- summary = comment['summary']
|
||||||
|
= render 'layouts/details', summary: summary do
|
||||||
%p= comment['content'].html_safe
|
%p= comment['content'].html_safe
|
||||||
|
- else
|
||||||
|
%p= comment['content'].html_safe
|
||||||
|
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
.row.no-gutters.pt-2
|
.row.no-gutters.pt-2
|
||||||
.col-1.d-flex.align-items-center
|
.col-1.d-flex.align-items-center
|
||||||
= render 'components/checkbox', id: moderation_queue.first['id']
|
= render 'components/checkbox', id: moderation_queue.first['id']
|
||||||
.col-11
|
.col-md-9
|
||||||
-# Filtros
|
-# Filtros
|
||||||
= render 'components/comments_filters'
|
= render 'components/comments_filters'
|
||||||
|
|
||||||
|
|
|
@ -6,6 +6,7 @@
|
||||||
= render 'components/comments_filters'
|
= render 'components/comments_filters'
|
||||||
|
|
||||||
- moderation_queue.each do |comment|
|
- moderation_queue.each do |comment|
|
||||||
|
%hr
|
||||||
= render 'moderation_queue/comment', comment: comment, profile: comment['attributedTo']
|
= render 'moderation_queue/comment', comment: comment, profile: comment['attributedTo']
|
||||||
|
|
||||||
-# Botones moderación
|
-# Botones moderación
|
||||||
|
|
Loading…
Reference in a new issue