5
0
Fork 0
mirror of https://0xacab.org/sutty/sutty synced 2024-11-23 04:06: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

@ -2,3 +2,4 @@
.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')

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

@ -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']
%a{ href: comment['attributedTo'] }= profile['preferredUsername']
.row.border.border-white
%p.mr-3= t('.reply_to')
%span
%a{:href => comment['inReplyTo']}= comment['inReplyTo']
%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

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