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

fix: correciones de CI varias
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful

This commit is contained in:
jazzari 2024-02-06 12:57:42 -03:00
parent b949855f08
commit fc99ec79d3
11 changed files with 18 additions and 20 deletions

View file

@ -1,6 +1,6 @@
-# Detail Cola de Moderación
%details.details.py-2
%summary
%summary
%h3.py-2.text-center= @summary
= yield
= yield

View file

@ -1,4 +1,5 @@
.form-group
.d-flex.flex-column.mt-5
%textarea.red.mb-3{name: '', id: '', placeholder: t('moderation_queue.instances.custom_block') }
%button.col-4.offset-md-8.rounded{type: 'submit', class: 'btn btn-primary'}= t('moderation_queue.instances.submit')
%textarea.red.mb-3{ name: '', id: '', placeholder: t('moderation_queue.instances.custom_block') }
%button.col-4.offset-md-8.rounded{ type: 'submit', class: 'btn btn-primary' }= t('moderation_queue.instances.submit')

View file

@ -1,5 +1,5 @@
.flex
.card
.card-body
%input{type: 'checkbox', value: '', class: 'ml-5'}
%input{ type: 'checkbox', value: '', class: 'ml-5' }
%h4.d-inline.red.ml-5= t('moderation_queue.instances.block_lists')

View file

@ -1,3 +1,3 @@
-# Componente Botón general Moderación
%a.btn.btn-lg.rounded.mx-2{role: "button", href: href, class: @class} #{text}
%a.btn.btn-lg.rounded.mx-2{role: 'button', href: href, class: @class} #{text}

View file

@ -3,4 +3,4 @@
.d-flex.py-4.justify-content-center
- btn_params.each do |btn|
- @class = btn[1]
= render 'moderation_queue/btn_base', href: btn[2], class: @class, text: btn[0]
= render 'moderation_queue/btn_base', href: btn[2], class: @class, text: btn[0]

View file

@ -2,17 +2,17 @@
.flex.mx-4.my-5
.row.no-gutters
.col-1
%input{type: "checkbox", id: ""}
%input{ type: 'checkbox', id: '' }
.col-10
.row.border.border-white
.col.col-1.border.border-white.mr-5
%p= comment['published'].to_datetime.strftime('%m/%d/%Y')
.col.border.border-white
%span.mr-2= t('.source_profile')
%a{:href => comment['attributedTo']}= profile['preferredUsername']
.row.border.border-white
%a{ href: comment['attributedTo'] }= profile['preferredUsername']
.row.border.border-white
%p.mr-3= t('.reply_to')
%span
%a{:href => comment['inReplyTo']}= comment['inReplyTo']
.row.border.border-white
%a{ href: comment['inReplyTo'] }= comment['inReplyTo']
.row.border.border-white
%p= sanitize comment['content']

View file

@ -10,7 +10,7 @@
= render 'components/dropdown_item', text: t('moderation_queue.filter_box.submenu_accept'), path: '/'
= render 'components/dropdown_item', text: t('moderation_queue.filter_box.submenu_report'), path: '/'
- @moderation_queue.each do |comment|
- moderation_queue.each do |comment|
= render 'comment', comment: comment, profile: @remote_profile
= render 'moderation_queue/button_box', btn_params: @btn_params

View file

@ -14,4 +14,4 @@
%h3.cyan.mt-5= t('moderation_queue.instances.title')
%p.pb-2= t('moderation_queue.instances.description')
= render 'moderation_queue/block_lists'
= render 'moderation_queue/block_instances_textarea'
= render 'moderation_queue/block_instances_textarea'

View file

@ -15,7 +15,7 @@
= render 'components/dropdown_item', text: t('moderation_queue.filter_box.submenu_report'), path: '/'
%h4.my-2= t('.profile_name') + ': ' + remote_profile['name']
%h5= t('.profile_id') + ': ' + remote_profile['id']
%h5= t('.profile_id') + ': ' + remote_profile['id']
%h5= t('.profile_published') + ': ' + remote_profile['published'].to_datetime.strftime('%m/%d/%Y')
%h5= t('.profile_summary') + ':'
%p= sanitize remote_profile['summary']

View file

@ -2,13 +2,10 @@
.col-md-8
- @summary = t('moderation_queue.index.instances')
= render 'layouts/details', summary: @summary do
= render 'moderation_queue/instances', site: @site, post: @post, moderation_queue: @moderation_queue
= render 'moderation_queue/instances', site: @site, post: @post, moderation_queue: @moderation_queue
- @summary = t('moderation_queue.index.accounts')
= render 'layouts/details', summary: @summary do
= render 'moderation_queue/accounts', site: @site, post: @post, moderation_queue: @moderation_queue
- @summary = t('moderation_queue.index.comments')
= render 'layouts/details', summary: @summary do
= render 'moderation_queue/comments', site: @site, post: @post, moderation_queue: @moderation_queue

View file

@ -11,7 +11,7 @@
= render 'components/dropdown_item', text: t('moderation_queue.filter_box.submenu_reject'), path: '/'
= render 'components/dropdown_item', text: t('moderation_queue.filter_box.submenu_accept'), path: '/'
= render 'components/dropdown_item', text: t('moderation_queue.filter_box.submenu_report'), path: '/'
- moderation_queue.each do |comment|
= render 'moderation_queue/comment', comment: comment, profile: @remote_profile
.row.d-flex.justify-content-center