5
0
Fork 0
mirror of https://0xacab.org/sutty/sutty synced 2024-11-23 04:56:22 +00:00

Merge branch 'issue-14966' of 0xacab.org:sutty/sutty into issue-15109-1

This commit is contained in:
f 2024-02-26 16:38:40 -03:00
commit 591d56581e
No known key found for this signature in database
4 changed files with 18 additions and 15 deletions

View file

@ -1,5 +1,9 @@
-# Filtros .row.no-gutters.pt-2
= render 'components/profiles_filters' .col-1.d-flex.align-items-center
= render 'components/checkbox', id: moderation_queue.first['id']
.col-11
-# Filtros
= render 'components/profiles_filters'
- @moderation_queue.map{ |c| c['attributedTo'] }.uniq.each do |remote_profile| - @moderation_queue.map{ |c| c['attributedTo'] }.uniq.each do |remote_profile|
%hr %hr

View file

@ -5,16 +5,10 @@
= render 'components/checkbox', id: comment['id'] = render 'components/checkbox', id: comment['id']
.col-11 .col-11
.row.no-gutters .row.no-gutters
.col-5.col-sm-3.col-lg-4 .col.col-lg-10.d-inline-flex.justify-content-between
%p %h4
%span= comment['published'].to_datetime.strftime(t('date.format')) %a{ href: comment['attributedTo'] }= profile['preferredUsername']
%span= comment['published'].to_datetime.strftime(t('time.format')) = render 'layouts/time', time: comment['published']
.col-7.col-sm-9.col-lg-8
%dl
%dt.d-inline.mr-2= t('.source_profile')
%dd.d-inline
%a{ href: comment['attributedTo'] }= profile['preferredUsername']
- if comment['inReplyTo'] - if comment['inReplyTo']
.row.no-gutters .row.no-gutters
.col.p-0 .col.p-0
@ -30,3 +24,4 @@
%p= comment['content'].html_safe %p= comment['content'].html_safe
- else - else
%p= comment['content'].html_safe %p= comment['content'].html_safe

View file

@ -1,5 +1,5 @@
.row.no-gutters.pt-2 .row.no-gutters.pt-2
.col-1 .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-11
-# Filtros -# Filtros

View file

@ -1,5 +1,9 @@
-# Filtros .row.no-gutters.pt-2
= render 'components/instances_filters' .col-1.d-flex.align-items-center
= render 'components/checkbox', id: moderation_queue.first['id']
.col-11
-# Filtros
= render 'components/instances_filters'
- instance_moderations.each do |instance_moderation| - instance_moderations.each do |instance_moderation|
%hr %hr