5
0
Fork 0
mirror of https://0xacab.org/sutty/sutty synced 2024-11-18 10:26:21 +00:00

fix: separadores en actividades de moderación

This commit is contained in:
maki 2024-02-21 17:34:46 -03:00
parent a7bd712a7c
commit e4e604f56d
3 changed files with 9 additions and 6 deletions

View file

@ -1,13 +1,13 @@
-# Componente Comentario -# Componente Comentario
.flex.mx-4.my-5 .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-4 .col-3
%p= comment['published'].to_datetime.strftime(t('date.format')) %p= comment['published'].to_datetime.strftime(t('date.format'))
.col-8 .col-9
%dl %dl
%dt.d-inline.mr-2= t('.source_profile') %dt.d-inline.mr-2= t('.source_profile')
%dd.d-inline %dd.d-inline
@ -17,7 +17,7 @@
.row.no-gutters .row.no-gutters
.col.p-0 .col.p-0
%p %p
%span.mr-3= t('.reply_to') %span= t('.reply_to')
%span %span
%a{ href: comment['inReplyTo'] }= comment['inReplyTo'] %a{ href: comment['inReplyTo'] }= comment['inReplyTo']
.row.no-gutters .row.no-gutters

View file

@ -2,7 +2,9 @@
= render 'components/comments_filters' = render 'components/comments_filters'
- moderation_queue.each do |comment| - moderation_queue.each do |comment|
%hr
= render 'comment', comment: comment, profile: comment['attributedTo'] = render 'comment', comment: comment, profile: comment['attributedTo']
-# Botones moderación -# Botones moderación
= render 'components/comments_btn_box', comment: comment .d-flex.justify-content-between
= render 'components/comments_btn_box', comment: comment

View file

@ -2,13 +2,14 @@
= render 'components/instances_filters' = render 'components/instances_filters'
- @instances.each do |instance| - @instances.each do |instance|
%hr
= render 'moderation_queue/instance', instance: instance = render 'moderation_queue/instance', instance: instance
-# Botones moderación -# Botones moderación
.d-flex.pb-4 .d-flex.pb-4
= render 'components/instances_btn_box' = render 'components/instances_btn_box'
%hr
%hr
%h3.mt-5= t('moderation_queue.instances.title') %h3.mt-5= t('moderation_queue.instances.title')
%lead= t('moderation_queue.instances.description') %lead= t('moderation_queue.instances.description')
= render 'components/block_lists', blocklists: @blocklists = render 'components/block_lists', blocklists: @blocklists