mirror of
https://0xacab.org/sutty/sutty
synced 2024-11-23 07:36:22 +00:00
fix: cambiadas variables globales por locales
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
ffc3f4a72a
commit
47de966f69
4 changed files with 13 additions and 22 deletions
|
@ -2,5 +2,5 @@
|
|||
|
||||
%details.details.py-2
|
||||
%summary
|
||||
%h3.py-2= @summary
|
||||
%h3.py-2= summary
|
||||
= yield
|
||||
|
|
|
@ -1,14 +1,5 @@
|
|||
-# Filtros
|
||||
.d-flex.py-2
|
||||
= render 'components/dropdown', text: t('moderation_queue.filter_box.text_checked') do
|
||||
= render 'components/dropdown_item', text: t('moderation_queue.filter_box.submenu_pause'), path: '/'
|
||||
= 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', text: t('moderation_queue.filter_box.text_show') do
|
||||
= render 'components/dropdown_item', text: t('moderation_queue.filter_box.submenu_pause'), path: '/'
|
||||
= 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: '/'
|
||||
= render 'moderation_queue/filter_box'
|
||||
|
||||
- moderation_queue.each do |comment|
|
||||
|
||||
|
|
|
@ -1,13 +1,13 @@
|
|||
.row.justify-content-center.mb-5
|
||||
%h1= t('moderation_queue.index.title')
|
||||
%h1= t('.title')
|
||||
.row.justify-content-center
|
||||
.col-md-8
|
||||
- @summary = t('moderation_queue.index.instances')
|
||||
= render 'layouts/details', summary: @summary do
|
||||
- summary = t('.instances')
|
||||
= render 'layouts/details', summary: summary do
|
||||
= render 'moderation_queue/instances', site: @site, post: @post, moderation_queue: @moderation_queue
|
||||
- @summary = t('moderation_queue.index.accounts')
|
||||
= render 'layouts/details', summary: @summary do
|
||||
- summary = t('.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
|
||||
- summary = t('.comments')
|
||||
= render 'layouts/details', summary: summary do
|
||||
= render 'moderation_queue/comments', site: @site, post: @post, moderation_queue: @moderation_queue
|
||||
|
|
|
@ -1,8 +1,8 @@
|
|||
.row.justify-content-center
|
||||
.col-md-8
|
||||
- @summary = t('posts.edit.post')
|
||||
= render 'layouts/details', summary: @summary do
|
||||
- summary = t('posts.edit.post')
|
||||
= render 'layouts/details', summary: summary do
|
||||
= render 'posts/form', site: @site, post: @post
|
||||
- @summary = t('posts.edit.moderation_queue')
|
||||
= render 'layouts/details', summary: @summary do
|
||||
- summary = t('posts.edit.moderation_queue')
|
||||
= render 'layouts/details', summary: summary do
|
||||
= render 'posts/moderation_queue', site: @site, post: @post, moderation_queue: @moderation_queue
|
||||
|
|
Loading…
Reference in a new issue