5
0
Fork 0
mirror of https://0xacab.org/sutty/sutty synced 2024-11-23 07:36:22 +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,4 +1,5 @@
.form-group .form-group
.d-flex.flex-column.mt-5 .d-flex.flex-column.mt-5
%textarea.red.mb-3{name: '', id: '', placeholder: t('moderation_queue.instances.custom_block') } %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') %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 .flex
.card .card
.card-body .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') %h4.d-inline.red.ml-5= t('moderation_queue.instances.block_lists')

View file

@ -1,3 +1,3 @@
-# Componente Botón general Moderación -# 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

@ -2,17 +2,17 @@
.flex.mx-4.my-5 .flex.mx-4.my-5
.row.no-gutters .row.no-gutters
.col-1 .col-1
%input{type: "checkbox", id: ""} %input{ type: 'checkbox', id: '' }
.col-10 .col-10
.row.border.border-white .row.border.border-white
.col.col-1.border.border-white.mr-5 .col.col-1.border.border-white.mr-5
%p= comment['published'].to_datetime.strftime('%m/%d/%Y') %p= comment['published'].to_datetime.strftime('%m/%d/%Y')
.col.border.border-white .col.border.border-white
%span.mr-2= t('.source_profile') %span.mr-2= t('.source_profile')
%a{:href => comment['attributedTo']}= profile['preferredUsername'] %a{ href: comment['attributedTo'] }= profile['preferredUsername']
.row.border.border-white .row.border.border-white
%p.mr-3= t('.reply_to') %p.mr-3= t('.reply_to')
%span %span
%a{:href => comment['inReplyTo']}= comment['inReplyTo'] %a{ href: comment['inReplyTo'] }= comment['inReplyTo']
.row.border.border-white .row.border.border-white
%p= sanitize comment['content'] %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_accept'), path: '/'
= render 'components/dropdown_item', text: t('moderation_queue.filter_box.submenu_report'), 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 'comment', comment: comment, profile: @remote_profile
= render 'moderation_queue/button_box', btn_params: @btn_params = render 'moderation_queue/button_box', btn_params: @btn_params

View file

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

View file

@ -9,6 +9,3 @@
- @summary = t('moderation_queue.index.comments') - @summary = t('moderation_queue.index.comments')
= render 'layouts/details', summary: @summary do = render 'layouts/details', summary: @summary do
= render 'moderation_queue/comments', site: @site, post: @post, moderation_queue: @moderation_queue = render 'moderation_queue/comments', site: @site, post: @post, moderation_queue: @moderation_queue