mirror of
https://0xacab.org/sutty/sutty
synced 2024-11-20 12:16:22 +00:00
Merge remote-tracking branch 'refs/remotes/origin/issue-14966' into issue-14966
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
This commit is contained in:
commit
b053bbad80
9 changed files with 23 additions and 24 deletions
|
@ -574,13 +574,14 @@ $bezier: cubic-bezier(0.75, 0, 0.25, 1);
|
||||||
bottom: 3%;
|
bottom: 3%;
|
||||||
transform: rotate(60deg);
|
transform: rotate(60deg);
|
||||||
}
|
}
|
||||||
}
|
&[open] {
|
||||||
.details[open] {
|
|
||||||
& > summary {
|
& > summary {
|
||||||
&::after {
|
&::after {
|
||||||
transform: rotate(90deg) translatey(-0.1em);
|
transform: rotate(90deg);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -1,3 +1,3 @@
|
||||||
-# Componente Checkbox
|
-# Componente Checkbox
|
||||||
.custom-control.custom-checkbox
|
.custom-control.custom-checkbox
|
||||||
%input{ type: 'checkbox', id: '', class: '' }
|
%input{ type: 'checkbox', id: local_assigns[:id], class: local_assigns[:class] }
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
-# Componente Botonera de Moderación de Cuentas (Remote_profile)
|
-# Componente Botonera de Moderación de Cuentas (Remote_profile)
|
||||||
|
|
||||||
- @class = 'btn-secondary'
|
- btn_class = 'btn-secondary'
|
||||||
= render 'components/btn_base', text: t('.text_approve'), class: @class, href: ''
|
= render 'components/btn_base', text: t('.text_approve'), class: btn_class, href: ''
|
||||||
= render 'components/btn_base', text: t('.text_check'), class: @class, href: ''
|
= render 'components/btn_base', text: t('.text_check'), class: btn_class, href: ''
|
||||||
= render 'components/btn_base', text: t('.text_deny'), class: @class, href: ''
|
= render 'components/btn_base', text: t('.text_deny'), class: btn_class, href: ''
|
||||||
= render 'components/btn_base', text: t('.text_report'), class: @class, href: ''
|
= render 'components/btn_base', text: t('.text_report'), class: btn_class, href: ''
|
|
@ -1,2 +1,2 @@
|
||||||
%a{href: profile['id']}= profile['preferredUsername']
|
%a{href: profile['id']}= profile['preferredUsername']
|
||||||
%p= sanitize profile['summary']
|
%p= profile['summary']
|
|
@ -1,6 +1,4 @@
|
||||||
.form-group
|
.form-group
|
||||||
.d-flex.flex-column.mt-5
|
.d-flex.flex-column.mt-5
|
||||||
%textarea.mb-3{ name: '', id: '', placeholder: t('moderation_queue.instances.custom_block') }
|
%textarea.mb-3{ name: '', id: '', placeholder: t('moderation_queue.instances.custom_block') }
|
||||||
.d-flex.justify-content-end
|
|
||||||
%button.col{ type: 'submit', class: 'btn btn-secondary' }= t('moderation_queue.instances.submit')
|
%button.col{ type: 'submit', class: 'btn btn-secondary' }= t('moderation_queue.instances.submit')
|
||||||
|
|
||||||
|
|
|
@ -21,4 +21,4 @@
|
||||||
%a{ href: comment['inReplyTo'] }= comment['inReplyTo']
|
%a{ href: comment['inReplyTo'] }= comment['inReplyTo']
|
||||||
.row
|
.row
|
||||||
.col.p-0
|
.col.p-0
|
||||||
%p= sanitize comment['content']
|
%p= comment['content']
|
||||||
|
|
|
@ -2,8 +2,7 @@
|
||||||
= render 'components/comments_filters'
|
= render 'components/comments_filters'
|
||||||
|
|
||||||
- moderation_queue.each do |comment|
|
- moderation_queue.each do |comment|
|
||||||
|
= render 'comment', comment: comment, profile: comment['attributedTo']
|
||||||
= render 'comment', comment: comment, profile: @remote_profile
|
|
||||||
|
|
||||||
-# Botones moderación
|
-# Botones moderación
|
||||||
= render 'components/comments_btn_box'
|
= render 'components/comments_btn_box'
|
|
@ -16,8 +16,9 @@
|
||||||
|
|
||||||
= render 'moderation_queue/comments', moderation_queue: @moderation_queue
|
= render 'moderation_queue/comments', moderation_queue: @moderation_queue
|
||||||
|
|
||||||
%h3.pt-4= t('.profile')
|
%dl.mt-5
|
||||||
%h4.my-2= t('.profile_name') + ': ' + remote_profile['name']
|
%dt= t('.profile_name')
|
||||||
|
%dd= remote_profile['name']
|
||||||
|
|
||||||
-# Botones de Moderación
|
-# Botones de Moderación
|
||||||
= render 'components/comments_btn_box'
|
= render 'components/comments_btn_box'
|
||||||
|
|
Loading…
Reference in a new issue