mirror of
https://0xacab.org/sutty/sutty
synced 2024-11-23 01:26:22 +00:00
Merge branch 'issue-14966' of 0xacab.org:sutty/sutty into issue-15109-1
This commit is contained in:
commit
591d56581e
4 changed files with 18 additions and 15 deletions
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue