5
0
Fork 0
mirror of https://0xacab.org/sutty/sutty synced 2024-11-20 08:26:21 +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

This commit is contained in:
maki 2024-02-15 16:46:42 -03:00
commit b053bbad80
9 changed files with 23 additions and 24 deletions

View file

@ -574,13 +574,14 @@ $bezier: cubic-bezier(0.75, 0, 0.25, 1);
bottom: 3%;
transform: rotate(60deg);
}
}
.details[open] {
&[open] {
& > summary {
&::after {
transform: rotate(90deg) translatey(-0.1em);
transform: rotate(90deg);
}
}
}
}

View file

@ -1,3 +1,3 @@
-# Componente Checkbox
.custom-control.custom-checkbox
%input{ type: 'checkbox', id: '', class: '' }
%input{ type: 'checkbox', id: local_assigns[:id], class: local_assigns[:class] }

View file

@ -1,9 +1,9 @@
-# Componente Botonera de Comentarios
.d-flex.py-4
- btn_class = 'btn-secondary'
= render 'components/btn_base', text: t('.text_pause'), class: btn_class, href: ''
= render 'components/btn_base', text: t('.text_reject'), class: btn_class, href: ''
= render 'components/btn_base', text: t('.text_accept'), class: btn_class, href: ''
= render 'components/btn_base', text: t('.text_reply'), class: btn_class, href: ''
= render 'components/btn_base', text: t('.text_report'), class: btn_class, href: ''
- btn_class = 'btn-secondary'
= render 'components/btn_base', text: t('.text_pause'), class: btn_class, href: ''
= render 'components/btn_base', text: t('.text_reject'), class: btn_class, href: ''
= render 'components/btn_base', text: t('.text_accept'), class: btn_class, href: ''
= render 'components/btn_base', text: t('.text_reply'), class: btn_class, href: ''
= render 'components/btn_base', text: t('.text_report'), class: btn_class, href: ''

View file

@ -1,7 +1,7 @@
-# Componente Botonera de Moderación de Cuentas (Remote_profile)
- @class = 'btn-secondary'
= render 'components/btn_base', text: t('.text_approve'), class: @class, href: ''
= render 'components/btn_base', text: t('.text_check'), class: @class, href: ''
= render 'components/btn_base', text: t('.text_deny'), class: @class, href: ''
= render 'components/btn_base', text: t('.text_report'), class: @class, href: ''
- btn_class = 'btn-secondary'
= render 'components/btn_base', text: t('.text_approve'), class: btn_class, href: ''
= render 'components/btn_base', text: t('.text_check'), class: btn_class, href: ''
= render 'components/btn_base', text: t('.text_deny'), class: btn_class, href: ''
= render 'components/btn_base', text: t('.text_report'), class: btn_class, href: ''

View file

@ -1,2 +1,2 @@
%a{href: profile['id']}= profile['preferredUsername']
%p= sanitize profile['summary']
%p= profile['summary']

View file

@ -1,6 +1,4 @@
.form-group
.d-flex.flex-column.mt-5
%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')

View file

@ -21,4 +21,4 @@
%a{ href: comment['inReplyTo'] }= comment['inReplyTo']
.row
.col.p-0
%p= sanitize comment['content']
%p= comment['content']

View file

@ -2,8 +2,7 @@
= render 'components/comments_filters'
- moderation_queue.each do |comment|
= render 'comment', comment: comment, profile: @remote_profile
= render 'comment', comment: comment, profile: comment['attributedTo']
-# Botones moderación
= render 'components/comments_btn_box'

View file

@ -16,8 +16,9 @@
= render 'moderation_queue/comments', moderation_queue: @moderation_queue
%h3.pt-4= t('.profile')
%h4.my-2= t('.profile_name') + ': ' + remote_profile['name']
%dl.mt-5
%dt= t('.profile_name')
%dd= remote_profile['name']
-# Botones de Moderación
= render 'components/comments_btn_box'