5
0
Fork 0
mirror of https://0xacab.org/sutty/sutty synced 2024-11-23 04:46:21 +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
= render 'components/profiles_filters'
.row.no-gutters.pt-2
.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|
%hr

View file

@ -5,16 +5,10 @@
= render 'components/checkbox', id: comment['id']
.col-11
.row.no-gutters
.col-5.col-sm-3.col-lg-4
%p
%span= comment['published'].to_datetime.strftime(t('date.format'))
%span= comment['published'].to_datetime.strftime(t('time.format'))
.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']
.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
@ -30,3 +24,4 @@
%p= comment['content'].html_safe
- else
%p= comment['content'].html_safe

View file

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

View file

@ -1,5 +1,9 @@
-# Filtros
= render 'components/instances_filters'
.row.no-gutters.pt-2
.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|
%hr