mirror of
https://0xacab.org/sutty/sutty
synced 2024-11-22 23:06:21 +00:00
fix: movido componente block_lists a app/views/components y corregido es.yml
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
754538024e
commit
31294ccbc7
4 changed files with 14 additions and 11 deletions
7
app/views/components/_block_lists.haml
Normal file
7
app/views/components/_block_lists.haml
Normal file
|
@ -0,0 +1,7 @@
|
||||||
|
-# Componente Listas de bloqueo de Instancias
|
||||||
|
.flex
|
||||||
|
.card
|
||||||
|
.card-body
|
||||||
|
.d-flex.flex-row
|
||||||
|
= render 'components/checkbox'
|
||||||
|
%h4.ml-5= t('.title')
|
|
@ -1,5 +0,0 @@
|
||||||
.flex
|
|
||||||
.card
|
|
||||||
.card-body
|
|
||||||
= render 'components/checkbox'
|
|
||||||
%h4.d-inline.ml-5= t('moderation_queue.instances.block_lists')
|
|
|
@ -6,12 +6,12 @@
|
||||||
|
|
||||||
-# Botones moderación
|
-# Botones moderación
|
||||||
.d-flex.py-4
|
.d-flex.py-4
|
||||||
- @class = 'btn btn-secondary'
|
- btn_class = 'btn btn-secondary'
|
||||||
= render 'moderation_queue/btn_base', text: t('moderation_queue.instances_button_box.text_check'), class: @class, href: ''
|
= render 'moderation_queue/btn_base', text: t('moderation_queue.instances_button_box.text_check'), class: btn_class, href: ''
|
||||||
= render 'moderation_queue/btn_base', text: t('moderation_queue.instances_button_box.text_allow'), class: @class, href: ''
|
= render 'moderation_queue/btn_base', text: t('moderation_queue.instances_button_box.text_allow'), class: btn_class, href: ''
|
||||||
= render 'moderation_queue/btn_base', text: t('moderation_queue.instances_button_box.text_deny'), class: @class, href: ''
|
= render 'moderation_queue/btn_base', text: t('moderation_queue.instances_button_box.text_deny'), class: btn_class, href: ''
|
||||||
|
|
||||||
%h3.mt-5= t('moderation_queue.instances.title')
|
%h3.mt-5= t('moderation_queue.instances.title')
|
||||||
%p= t('moderation_queue.instances.description')
|
%p= t('moderation_queue.instances.description')
|
||||||
= render 'moderation_queue/block_lists'
|
= render 'components/block_lists'
|
||||||
= render 'moderation_queue/block_instances_textarea'
|
= render 'moderation_queue/block_instances_textarea'
|
||||||
|
|
|
@ -34,6 +34,8 @@ es:
|
||||||
submenu_accept: Aceptado
|
submenu_accept: Aceptado
|
||||||
submenu_block: Bloqueado
|
submenu_block: Bloqueado
|
||||||
submenu_reject: Rechazado
|
submenu_reject: Rechazado
|
||||||
|
block_lists:
|
||||||
|
title: Listas de bloqueo
|
||||||
moderation_queue:
|
moderation_queue:
|
||||||
index:
|
index:
|
||||||
title: Actividades de moderación
|
title: Actividades de moderación
|
||||||
|
@ -67,7 +69,6 @@ es:
|
||||||
instances:
|
instances:
|
||||||
title: Mis listas de bloqueo
|
title: Mis listas de bloqueo
|
||||||
description: Descripción de listas de bloqueo
|
description: Descripción de listas de bloqueo
|
||||||
block_lists: Listas de bloqueo
|
|
||||||
custom_block: Lista personalizada de bloqueo
|
custom_block: Lista personalizada de bloqueo
|
||||||
submit: Guardar lista de bloqueo
|
submit: Guardar lista de bloqueo
|
||||||
comments_filter_box:
|
comments_filter_box:
|
||||||
|
|
Loading…
Reference in a new issue