mirror of
https://0xacab.org/sutty/sutty
synced 2024-11-23 07:26:22 +00:00
fix: correciones de CI varias
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:
parent
b949855f08
commit
fc99ec79d3
11 changed files with 18 additions and 20 deletions
|
@ -2,3 +2,4 @@
|
||||||
.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')
|
||||||
|
|
||||||
|
|
|
@ -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}
|
||||||
|
|
|
@ -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']
|
||||||
|
|
|
@ -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
|
|
@ -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
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue