mirror of
https://0xacab.org/sutty/sutty
synced 2024-11-29 16:06:23 +00:00
feat: avisar cuando no se encontró nada
This commit is contained in:
parent
2edafc8901
commit
0539eb8f22
2 changed files with 3 additions and 1 deletions
|
@ -5,6 +5,8 @@
|
||||||
-# Filtros
|
-# Filtros
|
||||||
= render 'components/profiles_filters', actor_moderations: actor_moderations
|
= render 'components/profiles_filters', actor_moderations: actor_moderations
|
||||||
.col-12
|
.col-12
|
||||||
|
- if actor_moderations.count.zero?
|
||||||
|
%h4= t('moderation_queue.nothing')
|
||||||
- actor_moderations.find_each do |actor_moderation|
|
- actor_moderations.find_each do |actor_moderation|
|
||||||
%hr
|
%hr
|
||||||
= render 'account', actor_moderation: actor_moderation, profile: actor_moderation.actor.content
|
= render 'account', actor_moderation: actor_moderation, profile: actor_moderation.actor.content
|
||||||
|
|
|
@ -9,7 +9,7 @@
|
||||||
|
|
||||||
.col-12
|
.col-12
|
||||||
- if instance_moderations.count.zero?
|
- if instance_moderations.count.zero?
|
||||||
%h3= t('moderation_queue.nothing')
|
%h4= t('moderation_queue.nothing')
|
||||||
|
|
||||||
- instance_moderations.each do |instance_moderation|
|
- instance_moderations.each do |instance_moderation|
|
||||||
- cache [instance_moderation.aasm_state, instance_moderation.instance] do
|
- cache [instance_moderation.aasm_state, instance_moderation.instance] do
|
||||||
|
|
Loading…
Reference in a new issue